forked from kish-an/cs50
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
119 lines (96 loc) · 1.83 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
html, body {
height: 100%;
}
.header {
position: absolute;
transform: translate(-50%, -50%);
width: 100%;
z-index: 10;
top: 30%;
left: 50%;
text-align: center;
}
.header__title {
font-family: 'Montserrat';
font-size: 9rem;
font-weight: 500;
}
/*
table td,th {
border: 2px solid white;
border-collapse: collapse;
padding: 0.3rem;
}
table {
transform: scale(0.8);
}
*/
.header__title--emphasis {
font-weight: 700;
}
.header__subtitle {
font-family: 'Fira Mono';
}
.header__subtitle--command {
color: rgb(188, 154, 212);
}
.cs50__staff {
height: auto;
width: 100%;
position: fixed;
bottom: 0;
text-align: center;
}
.cs50__staff img {
display: inline-block;
max-width: 100%;
height: 350px;
-webkit-transition: 0.4s transform ease;
-moz-transition: 0.4s transform ease;
-ms-transition: 0.4s transform ease;
-o-transition: 0.4s transform ease;
transition: 0.4s transform ease;
}
.cs50__staff img:hover {
transform: scale(1.05) translateY(3%);
}
@media only screen and (max-width: 1260px) {
.cs50__staff .colten {
display: none;
}
}
@media only screen and (max-width: 970px) {
.cs50__staff .brian {
display: none;
}
.header__title {
font-size: 7rem;
}
.header__subtitle {
font-size: 1.8rem;
}
}
@media only screen and (max-width: 605px) {
.cs50__staff .doug {
display: none;
}
.header__title {
font-size: 5rem;
}
.header__subtitle {
font-size: 1.4rem;
}
}
/*.cs50__staff .david {*/
/* max-height: 440px;*/
/* margin-bottom: -5rem;*/
/*}*/
/*.cs50__staff .doug {*/
/* max-height: 360px;*/
/*}*/
/*.cs50__staff .colten {*/
/* max-height: 360px;*/
/*}*/
/*.cs50__staff .brian {*/
/* max-height: 360px;*/
/*}*/