-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
349 lines (280 loc) · 4.33 KB
/
style.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
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
/*
Theme Name: Theme Boilerplate
Text Domain: Theme Boilerplate
Version: 1.0
Description: Minimal theme intended for customization.
Tags: theme, boilerplate
Author: Billy Cole
*/
/*
This file contains the main styles for the theme. Wordpress uses the
information above to display important theme details.
*/
* {
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
article {
background-color: #fafaff;
color: #333333;
flex-grow: 1;
font-size: 14px;
order: 2;
padding: 36px 48px 64px;
width: 75%;
}
article blockquote {
border-left: 3px solid #333333;
margin: 24px 0;
padding: 0 24px;
}
article h2,
article h3,
article h4 {
margin-bottom: 24px;
}
article h3,
article h4 {
margin-top: 24px;
}
article li:not(:last-of-type) {
margin-bottom: 6px;
}
article ul {
padding: 0 24px 24px;
}
aside {
background-color: lavender;
color: #333333;
min-width: 300px;
order: 1;
padding: 36px 48px 64px;
width: 25%;
}
aside a {
color: #333333;
display: block;
}
aside a:hover,
aside a:focus {
color: blue;
}
aside h2 {
margin-bottom: 24px;
}
aside li {
margin-bottom: 24px;
}
aside span {
color: grey;
font-size: 12px;
}
aside ul {
list-style: none;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
min-width: 400px;
}
code {
background-color: #f0f0f0;
padding: 12px;
}
footer {
background-color: #333333;
color: #fafaff;
font-size: 14px;
padding: 36px 48px;
}
footer p {
padding: 0;
}
h1 {
color: #fafaff;
}
h1,
h2,
h3,
h4 {
font-family: Georgia, "Times New Roman", Times, serif;
}
h2 {
font-size: 28px;
}
h3 {
font-size: 24px;
}
h4 {
font-size: 20px;
}
header {
background-color: #333333;
color: lavender;
display: flex;
justify-content: space-between;
padding: 24px 48px;
}
main {
display: flex;
flex-grow: 1;
}
nav {
align-items: center;
display: flex;
}
nav ul {
align-items: center;
display: flex;
height: 100%;
list-style: none;
}
nav ul li a {
color: lavender;
}
nav ul li a:hover,
nav ul li a:focus {
color: #bfbfff;
}
nav ul li:not(:last-of-type) {
margin-right: 24px;
}
p {
padding-bottom: 12px;
}
pre {
margin: 0;
}
table {
border-collapse: collapse;
margin-bottom: 24px;
width: 100%;
}
th,
td {
border: 1px solid #ccc;
padding: 6px;
text-align: left;
}
ul {
margin: 0;
padding: 0;
}
/* classes */
.commentsContent {
background-color: #f0f0f0;
padding: 24px 36px;
}
.commentsContent a {
color: #333333;
pointer-events: none;
text-decoration: none;
}
.commentsContent h3 {
border-top: 1px solid grey;
padding-top: 24px;
}
.commentsContent h4 {
color: grey;
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 0 0 24px 0;
}
.commentsContent img {
margin-bottom: 12px;
}
.commentsContent li {
padding-bottom: 24px;
}
.commentsContent ul {
list-style: none;
padding: 0;
}
.commentsContent .children {
border-left: 1px solid grey;
margin-top: 24px;
padding: 0 36px;
}
.commentsContent .comment-author {
font-size: 18px;
margin-bottom: 12px;
}
.commentsContent .comment-author cite {
font-style: normal;
font-weight: 700;
}
.commentsContent .comment-form-comment {
padding-bottom: 24px;
}
.commentsContent .comment-form-comment label {
display: block;
}
.commentsContent .comment-form-comment label span {
display: none;
}
.commentsContent .comment-meta {
display: none;
}
.commentsContent .logged-in-as {
display: none;
}
.commentsContent .reply a {
color: blue;
pointer-events: all;
}
.commentsContent .reply a:hover,
.commentsContent .reply a:focus {
color: #333333;
}
.postContent {
padding-bottom: 48px;
}
.postContent h2 {
margin: 0;
}
.postContent p:last-of-type {
padding: 0;
}
.postContent .dateTime {
color: grey;
margin-bottom: 24px;
}
.postList {
list-style: none;
padding: 0;
}
.postList h3 {
margin: 0;
}
.postList li {
border-left: 3px solid grey;
padding: 24px;
}
.postList li:not(:last-of-type) {
margin-bottom: 36px;
}
.postList .dateTime {
color: grey;
font-size: 12px;
}
/* responsive breakpoints */
@media screen and (max-width: 1024px) {
article {
order: 1;
width: 100%;
}
aside {
order: 2;
width: 100%;
}
main {
flex-direction: column;
}
}
@media screen and (max-width: 640px) {
header {
flex-direction: column;
}
nav ul {
margin: 8px 0 10px;
}
}