-
Notifications
You must be signed in to change notification settings - Fork 3
/
styles.css
127 lines (127 loc) · 1.82 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
120
121
122
123
124
125
126
127
body {
margin: 0;
}
h1 {
text-align: center;
}
h2 {
margin-bottom: 10px;
}
h2 + p {
margin-top: 0;
}
.site-title {
font-family: sans-serif;
font-size: 60px;
}
.banner {
text-align: center;
margin: auto;
}
.banner img {
width: 100%;
margin: 0;
padding: 0;
display: block;
height: auto;
}
@media (min-width: 700px) {
h1 {
font-size: 50px;
}
.site-title {
font-size: 100px;
}
}
#main {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-bottom: 70px;
}
.intro {
margin: auto;
font-family: serif;
line-height: 1.4;
font-size: 20px;
padding: 10px;
}
@media (min-width: 1100px) {
.intro {
max-width: 50%;
font-size: 24px;
}
}
@media (min-width: 1600px) {
h1 {
margin-bottom: 10px;
}
}
.face-wrapper img {
width: 100%;
display: block;
height: auto;
}
@media (min-width: 320px) {
.face-wrapper {
width: 33.33%;
}
}
@media (min-width: 425px) {
.face-wrapper {
width: 20%;
}
}
@media (min-width: 600px) {
.face-wrapper,
.face-wrapper img {
width: 128px;
height: 128px;
}
.face-wrapper {
padding: 30px;
}
}
.highlight {
background-color: #c4e9ff;
}
.info {
text-align: center;
font-size: 12px;
color: #949494;
margin-top: 2px;
}
#counter {
text-align: center;
width: 100%;
background-color: white;
font-weight: bold;
font-size: 25px;
padding: 10px 0;
box-shadow: 0 0px 10px #0000004a;
font-family: sans-serif;
}
#counter.fixed {
position: fixed;
bottom: 0;
}
@media (min-width: 600px) {
#counter {
font-size: 40px;
}
}
@media (max-width: 599px) {
.banner img {
min-height: calc(100vw / 1.25);
}
}
@media (min-width: 600px) and (max-width: 1599px) {
.banner img {
min-height: calc(100vw / 5);
}
}
@media (min-width: 1600px) {
.banner img {
min-height: calc(100vw / 7.01);
}
}