This repository has been archived by the owner on May 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.css
330 lines (273 loc) · 5.25 KB
/
main.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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
/* HIGH LEVEL STYLING */
html {
min-height: 100%;
position: relative;
}
body {
padding: 0px;
height: 100%;
background: #F9EDAC url(design/paper.jpg) repeat;
background-size: 350px;
/* default text properties */
font-family: 'Josefin Sans', sans-serif;
font-weight: 300;
color: #290035;
text-align: center;
margin: 0 0 5px;
}
#content {
padding-top: 80px;
}
@media (max-width: 800px) {
#content {
padding-top: 100px;
}
}
/* TEXT STYLING */
a:link,
a:visited {
text-decoration: none;
color: #BF1715;
}
.big-text {
color: #BF1715;
font-size: 34px;
font-weight: 700;
}
.medium-text {
font-size: 20px;
margin-bottom: 10px;
}
@media (max-width: 800px) {
.medium-text {
font-size: 16px;
}
}
.medium-block {
display: inline-block;
line-height: 120%;
text-align: justify;
max-width: 400px;
}
@media (max-width: 800px) {
.medium-block {
max-width: 200px;
}
}
.small-block {
display: inline-block;
line-height: 120%;
text-align: justify;
max-width: 200px;
}
.big-block {
display: inline-block;
line-height: 120%;
max-width: 800px;
text-align: justify;
margin: 0 0 75px;
}
/* HEADER STYLING */
header {
position: absolute;
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 5px;
width: 100%;
background-color: #FAFFFF;
box-shadow: 1px 1px 2px rgba(102, 102, 153, .7);
}
h1 {
text-decoration: none;
font-size: 40px;
font-family: 'Oleo Script', cursive;
color: #BF1715;
margin: 0;
white-space: nowrap;
}
nav {
display: flex;
margin: 0 10px;
}
.header-link {
text-align: right;
margin: auto 10px;
font-size: 20px;
font-weight: 700;
color: #BF1715;;
}
/* name on login button in header */
header #login-name-link {
cursor: pointer;
}
/* dropdown login menu from header */
header #login-dropdown-list {
position: absolute;
background-color: #FAFFFF;
padding: 10px;
box-shadow: 2px 3px 2px rgba(102, 102, 153, .5);
}
/* 'Close' link in dropdown login menu */
header .login-close-text {
margin-right: 53px;
font-size: 12px;
font-weight: 400;
cursor: pointer;
}
/* 'Change password' and 'Sign out' links in dropdown login menu */
header .login-button {
font-size: 16px;
text-align: left;
cursor: pointer;
}
/* LOGIN SCREEN STYLING */
#main-login {
margin-top: 20px;
}
/* 'Sign in' dropdown link on main login page */
#login-sign-in-link,
/* 'Close' dropdown link on main login page */
#main-login .login-close-text {
display: none;
}
/* 'Username' and 'Password' on main login screen */
label {
font-size: 18px;
font-family: 'Josefin+Sans', sans-serif;
font-weight: 700;
border-radius: 3px;
color: #BF1715;
}
/* username text field on main login screen */
#login-username,
/* password text field on main login screen */
#login-password,
/* second password text field on main login screen */
#login-password-again {
font-size: 18px;
text-align: center;
width: 200px;
background-color: #FAFFFF;
color: #320042;
margin: 10px 0 20px 0;
}
/* error message on main login screen */
.message.error-message {
font-size: 20px;
margin-bottom: 10px;
}
/* 'Sign in' or 'Create account' button on main login screen */
#login-buttons-password {
margin: 20px auto 20px auto;
padding-top: 7px;
font-size: 18px;
font-family: 'Josefin+Sans', sans-serif;
font-weight: 700;
border-radius: 3px;
height: 33px;
width: 200px;
background-color: #FAFFFF;
color: #BF1715;
box-shadow: 1px 1px 1px rgba(102, 102, 153, .7);
cursor: pointer;
}
#login-buttons-password:hover {
background-color: #FFF7F7;
}
/* 'Create account' or 'Sign in' link on main login screen (below button) */
.additional-link {
text-decoration: none;
color: #BF1715;
cursor: pointer;
}
/* FLASHCARD STYLING */
#card {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.flex-column {
margin: 0 20px;
padding: 0 20px;
}
.character {
font-family: Georgia, "Times New Roman", "KaiTi", "楷体", STKaiti, "华文楷体", serif;
font-size: 110px;
background-color: #FAFFFF;
height: 175px;
width: 200px;
padding-top: 25px;
margin: 0 auto 30px auto;
box-shadow: 1px 1px 1px rgba(102, 102, 153, .7);
}
@media (max-width: 800px) {
.character {
font-size: 80px;
height: 100px;
width: 200px;
padding-top: 0;
padding-bottom: 5px;
}
}
figure {
background-color: #FAFFFF;
padding: 10px 5px 5px 5px;
margin: 0;
box-shadow: 1px 1px 1px rgba(102, 102, 153, .7);
}
figure img {
max-height: 158px;
max-width: 100%;
}
@media (max-width: 800px) {
figure img {
max-width: 190px;
max-height: auto;
}
}
figcaption {
font-size: 16px;
}
.next-button {
border: none;
font-size: 18px;
font-family: 'Josefin+Sans', sans-serif;
font-weight: 700;
border-radius: 3px;
height: 40px;
width: 200px;
background-color: #FAFFFF;
color: #BF1715;
margin-bottom: 40px;
box-shadow: 1px 1px 1px rgba(102, 102, 153, .7);
cursor: pointer;
}
.next-button:hover {
background-color: #FFF7F7;
}
@media (min-width: 800px) {
.next-button {
width: 400px;
}
}
.answer input {
font-size: 18px;
text-align: center;
width: 200px;
background-color: #FAFFFF;
color: #320042;
margin: 10px 0 20px 0;
}
/* FOOTER STYLING */
footer {
display: block;
line-height: 50%;
padding: 5px 0 5px 0;
position: absolute;
background-color: #FAFFFF; width: 100%;
height: 65px;
bottom: 0;
left: 0;
box-shadow: 1px -0.5px 2px rgba(102, 102, 153, .7);
}