-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.css
189 lines (162 loc) · 2.45 KB
/
app.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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
@import url("https://fonts.googleapis.com/css2?family=Work+Sans&display=swap");
h1,
h2,
h3,
h4,
h5,
h6,
p,
button,
label,
legend {
margin: 0;
font-family: "Work Sans", Arial, Helvetica, sans-serif;
}
h1 {
font-weight: 300;
letter-spacing: -1.5px;
}
h2,
legend {
font-size: 28px;
font-weight: 300;
letter-spacing: -0.5px;
}
h3 {
margin: 8px 0 16px;
font-size: 21px;
font-weight: 600;
letter-spacing: 0.15px;
}
p,
label {
font-size: 18px;
letter-spacing: 0.5px;
margin: 0 0 16px;
}
button {
font-size: 21px;
letter-spacing: 1.25px;
font-weight: 600;
text-transform: uppercase;
padding: 16px;
border: 2px solid #000;
background-color: #fff;
margin: 16px;
align-self: flex-end;
}
button:hover {
text-decoration: underline;
}
body {
padding: 16px 16px;
}
header,
section,
aside {
margin: 16px 0;
padding: 24px;
border: 2px solid #000;
}
header,
main {
margin: 0 auto;
max-width: 960px;
}
header {
padding: 0;
height: 53px;
align-items: center;
}
.halftone {
position: relative;
background-color: #fff;
}
/* This is to use dot pattern svg as a shadow */
.halftone::after {
content: "";
background: url(images/dot-pattern.svg) 1px 2px;
position: absolute;
width: 100%;
height: 100%;
bottom: -12px;
right: -10px;
z-index: -1;
}
.flex {
display: flex;
flex-direction: column;
justify-content: center;
}
#intro-box,
#question-box {
height: 159px;
}
#intro-box h2 {
font-size: 42px;
}
#answers-box {
border: 0;
padding: 8px 16px;
}
#start-button-box,
#restart-button-box,
#continue-box {
border: 0;
padding: 0;
}
#answers-box fieldset {
margin: 0;
border: 0;
padding: 0;
width: 100%;
}
#form-wrapper,
#continue-box {
flex-flow: row wrap;
}
#form-wrapper {
justify-content: flex-start;
}
#answers-box form input[type="radio"] {
display: inline-block;
color: #000;
font-size: 18px;
padding: 0;
margin: 0 8px;
min-width: 16px;
flex: 1;
transform: scale(1.5);
}
#answers-box label {
flex: 5;
}
#answers-box button {
align-self: flex-end;
margin: 16px 0 16px 16px;
}
#answers-box ol {
margin: 0;
padding: 0 0 16px;
width: 100%;
list-style: none;
display: flex;
flex-flow: row wrap;
}
#answers-box li {
width: 42%;
margin: 32px 12px 0 0;
text-align: left;
padding: 0 4px 0 0;
display: flex;
justify-content: flex-start;
align-items: baseline;
}
#score-box {
flex: 3;
padding: 16px;
}
#score-box h3 {
text-align: left;
margin: 0;
}