-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
583 lines (565 loc) · 9.55 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
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
/*
Theme Name: Grid Focus
Theme URI: http://5thirtyone.com/
Description: Grid aligned WordPress theme
Version: 1.1
Author: Derek Punsalan
Author URI: http://5thirtyone.com/
Tags: white, grid, whitespace, minimal, clean, widgets
Grid Focus was designed and coded by Derek Punsalan. Find
more info about the guy at http://5hthirtyone.com
Notes: Inspired and created for minimalist, content focused blogs
or websites. Customize, edit, poke, prod, and adapt to your own
style. Please leave credit where credit is due so that others may
find the source for your site and adapt a suitable version for their
own website.
See line 53 for a collection of the main font rules - size, line-height,
and color - combined for your convenience.
*/
* {
margin: 0;
padding: 0;
}
body {
background: #fff;
color: #333;
font-size: 62.5%;
font-family: arial, verdana, sans-serif;
text-align: center;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.6em;
}
h3 {
font-size: 1.4em;
}
h4 {
font-size: 1.2em;
}
a {
color: #000;
outline: none;
text-decoration: none;
}
a:hover {
color: #3c6c92;
}
/* =----------------------------------- oh the convenience */
#wrapper {
/*
sets the minimum(s) for the entire site
off of which everything else is based on
*/
font-size: 1.2em;
line-height: 1.4em;
}
.nav li {
line-height: 1.2em;
}
.nav li a {
font-weight: bold;
letter-spacing: 1px;
text-transform: uppercase;
}
.nav li a span {
color: #888;
font-size: 0.9em;
font-weight: normal;
text-transform: lowercase;
}
.nav li a.focus span {
color: #ccc;
}
.nav li a:hover,
.nav li a.focus {
color: #fff;
}
.nav .searchField input {
color: #777;
}
.toggleCategories li a {
color: #fff;
}
.toggleCategories li a:hover {
color: #ccc;
}
.postMeta {
font-size: 0.9em;
text-transform: uppercase;
}
.postMeta span.date {
color: #777;
}
.postMeta span.comments a,
.postMeta span.date a {
color: #3c6c92;
}
.post h2 {
line-height: 1.2em;
}
.entry a,
.secondaryColumn a,
#commentsContainer h3 a,
.commentlist .comment-author a {
border-bottom: 1px solid #ddd;
color: #3c6c92;
font-weight: bold;
}
.entry a:hover,
.secondaryColumn a:hover,
#commentsContainer h3 a:hover,
.commentlist .comment-author a:hover,
.commentlist .comment-meta a:hover {
color: #3c6c92;
border-bottom: 1px solid #3c6c92;
}
.secondaryColumn a {
font-weight: normal;
}
.entry ul,
.entry ol,
.entry blockquote {
color: #555;
}
.entry blockquote {
font-style: italic;
}
.secondaryColumn h3,
#commentsContainer h3 {
font-size: 1.2em;
}
#cancel-comment-reply-link {
color: #3C6C92;
font-size: 0.8em;
}
.commentlist .comment-meta a {
color: #777;
}
.commentlist .comment-author cite {
font-style: normal;
font-weight: bold;
}
.commentlist .comment-meta {
font-size: 0.8em;
}
#commentform p span input,
#commentform span textarea {
color: #333;
font-family: arial,verdana,sans-serif;
font-size: 1em;
}
#paginateIndex {
font-size: 0.9em;
text-transform: uppercase;
}
#footer {
clear: both;
}
#footer p a {
font-weight: bold;
color:#333;
}
/* =----------------------------------- main structure */
#wrapper {
border-top: 1px solid #3c6c92;
margin: 20px auto;
text-align: left;
width: 970px;
padding: 0 5px;
}
#masthead {
padding: 7px 0
}
#filler {}
#mainColumn {
float: left;
margin: 28px 0 0 0;
width: 420px;
}
.secondaryColumn {
float: left;
margin: 28px 0 0 30px;
overflow: hidden;
width: 240px;
}
/* =----------------------------------- header elements */
#masthead h1 {
float: left;
margin: 15px 0 0 7px;
}
#masthead h1 a {
text-transform: uppercase;
width: 400px;
}
#blogLead img {
background: #fff;
border: 1px solid #bbb;
float: right;
height: 42px;
margin: 0 7px;
padding: 2px;
width: 42px;
}
#authorIntro {
float: right;
margin: 8px 0 0 0;
width: 340px;
}
/* =----------------------------------- top + bottom navigation */
.navStripWrapper {
position: relative;
clear: both;
}
.nav {
background: #eee;
}
.nav li {
border-right: 1px solid #ccc;
display: block;
float: left;
}
.nav li a {
display: block;
padding: 7px 4px 0 7px;
width: 110px;
height: 42px;
}
.nav li a span {}
.nav li a:hover {
background: #333;
}
.nav li a.focus {
background: #3c6c92;
}
.nav li.searchField {
float: right;
border: 0;
}
.nav .searchField div {
margin: 9px 8px 0 0;
}
.nav .searchField span {
background: #fff;
border: 1px solid #ccc;
border-left-color: #bbb;
border-bottom-color: #bbb;
display: block;
padding: 2px;
}
.nav .searchField input {
border: 1px solid #bbb;
outline: none;
padding: 4px;
width: 220px;
}
.toggleCategories {
background: #3c6c92;
}
.toggleCategories ul,
.toggleCategories2 ul {
padding: 8px 7px 7px;
}
.toggleCategories ul li {
display: block;
float: left;
width: 102px;
}
.toggleCategories li a {
margin: 3px 0 4px 5px;
}
/* =----------------------------------- meta lead for each post */
.postMeta {
border-top: 1px solid #ccc;
text-align: right;
margin-bottom: 14px;
position: relative;
}
.postMeta .container {
position: absolute;
top: -9px;
right: 0;
}
.postMeta span.date {
background: #fff;
padding: 0 4px;
}
.postMeta span.comments {
background: #fff url(images/chat_grey.gif) no-repeat 2px -1px;
padding-left: 18px;
}
/* =----------------------------------- general post */
.post {
margin: 0 0 21px 0;
}
.post h2 {
margin-bottom: 10px;
padding: 0 3px;
}
.post h2 a {
display:block;
}
/* =----------------------------------- entry body */
.entry {
padding: 0 3px;
overflow: hidden;
}
.entry p {
line-height: 1.6em;
margin: 10px 0;
}
.entry ul,
.entry ol,
.entry blockquote {
margin: 0 14px;
}
.entry ol {
list-style: decimal;
}
.entry ul li,
.entry ol li {
margin: 0 0 7px 18px;
}
.entry ul li {
list-style: circle;
}
.entry blockquote {
border-left: 1px solid #ccc;
font-size: 1.1em;
line-height: 1.4em;
margin-left: 21px;
padding-left: 10px;
}
.entry img,
.entry a img {
background: #fff;
border: 1px solid #bbb;
padding: 2px;
}
.entry a:hover img {
border-color: #3c6c92;
}
.entry.meta {
background: #eee;
border: 1px solid #ccc;
border-width: 1px 0;
}
.entry.meta p {
margin: 5px 7px;
}
.entry.meta .highlight {
text-transform: uppercase;
font-size: 10px;
}
.entry.meta a {
color: #333;
border-color: #bbb;
}
.entry.meta a:hover {
color: #000;
border-color: #000;
}
/* =----------------------------------- main index pagination */
#paginateIndex {
margin-bottom: 25px;
}
#paginateIndex a,
.commentlist li .reply a {
color: #777;
font-size: 0.9em;
text-transform: uppercase;
display: block;
padding: 4px 7px 3px;
background: #fff;
border: 1px solid #ddd;
}
.commentlist li .reply a {
color: #aaa;
}
#paginateIndex a:hover,
.commentlist li .reply a:hover {
color: #3c6c92;
border-color: #3c6c92;
background: #eee;
}
/* =----------------------------------- widget enabled sidebar */
.secondaryColumn h3 {
border-top: 1px solid #ccc;
border-bottom: 1px solid #eee;
margin: 0 0 10px 0;
padding: 7px 4px;
}
.widgetContainer {
margin: 0 0 20px 0;
}
.widgetContainer ul li {
margin: 0 3px 7px 21px;
list-style: circle;
}
.widgetContainer ul li ul {
margin-top: 5px;
}
.widgetContainer .textwidget {
margin: 0 3px;
line-height: 1.5em;
}
.widgetContainer #wp-calendar {
border-collapse: collapse;
width: 100%;
}
#wp-calendar caption {
font-weight: bold;
margin-bottom: 7px;
}
#wp-calendar thead {}
#wp-calendar thead th {
padding: 4px 0 4px 3px;
border: 1px solid #ccc;
border-width: 1px 0;
}
#wp-calendar td {
padding: 3px 0 4px 3px;
color: #777;
}
#wp-calendar td a {
font-weight: bold;
}
/* =----------------------------------- style some comments */
#commentsContainer {
margin-bottom: 30px;
}
#commentsContainer span.hook {
position: relative;
display: block;
}
#commentsContainer h3 {
display: block;
margin: 10px 0;
padding: 7px 4px 0;
border-top: 1px solid #3c6c92;
}
.cancel-comment-reply {
position: absolute;
top: -1px;
right: 4px;
}
.commentlist {
list-style: none;
margin: 0 0 20px;
}
.commentlist .comment-author {
border-top: 1px solid #ccc;
padding-top: 7px;
margin-top: 10px;
overflow: hidden;
}
.commentlist .comment-author img.avatar {
display: block;
float: left;
height: 16px;
width: 16px;
margin: 0 4px 0 0;
}
.commentlist .comment-meta {
margin: 0 0 0 20px;
}
.commentlist li .reply {
text-align: right;
padding-bottom: 10px;
}
.commentlist li .reply a {
display:inline;
}
.commentlist li p {
margin: 1em 0;
padding: 0 3px;
}
.commentlist li ul,
.commentlist li ol,
.commentlist li blockquote {
margin: 0 20px;
}
.commentlist .children {
margin: 0 0 0 40px;
}
.commentlist .children li {
list-style: none;
}
#commentform .contain {
margin: 0 0 10px 0 !important;
}
#commentform #author,
#commentform #email,
#commentform #url,
#commentform textarea {
padding: 4px 3px;
border: 1px solid #ccc;
border-left-color: #bbb;
border-bottom-color: #bbb;
background: #fff;
margin-right: 4px;
}
#commentform #author,
#commentform #email,
#commentform #url,
#commentform textarea {
border: 1px solid #bbb;
outline: none;
padding: 4px 3px;
width: 160px;
}
#commentform p label {
margin: 4px 0 0 0;
}
#commentform textarea {
float: none;
width: 98%;
overflow: auto;
}
/* =----------------------------------- boring footer */
#footer {
border-top: 1px solid #3c6c92;
margin: 35px 0;
}
#footer p {
padding: 14px 3px 0;
}
/* =----------------------------------- floats + clearing rule */
.floatleft,
.alignleft {
float: left;
margin: 3px 7px 0 0;
}
.floatright,
.alignright {
float: right;
margin: 3px 0 0 7px;
}
.right {
float:right;
}
.left {
float: left;
}
.clear {
clear: both;
}
.fix:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.fix {
display: inline-block;
}
* html .fix{
height: 1%;
}
.fix{
display:
block;
}