summaryrefslogtreecommitdiff
path: root/media/sass/base.sass
blob: 5909d4c0a13f39a8c7bbaeea6676df9ec83b3b63 (plain)
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
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
@import _reset.sass
@import _mixins.sass

// grid = 988 with 9 cols at 92px plus 20px gutters (via http://gridulator.com/)
// font-sizes:
// base: 16px = 1em
// 10px = .625em
// 12px = .75em
// 14px = .875em
// 16px = 1em
// 17px = 1.0625em (body text in articles)
// 18px = 1.125em
// 24px = 1.5em
// 30px = 1.875em
// 32px = 2em


html
    height: 100%

body
    font: normal 100% unquote("Hoefler Text"), Georgia, unquote("Times New Roman"), Times, serif 
    color: $brown
    margin: 0 1.125em
    min-height: 100%
    position: relative
    padding: 0
    //max-width: 61.75em      /* 988px / 16px = 61.75em */
    max-width: 20.9375em /* 3 cols @ 92px + 20px gutter  -- 335px / 16px = */
    background: white /* url('../img/988px-9col-92w-20gut.png') 217px 0 repeat-y */
    

/* ###################Typography############# */    
p
    font-size: 1.0625em /* 17px / 16px */
    line-height: 1.5em /* 24px / 16px */
    margin: 1em 0 0
footer p
    font-size: .625em
    text-align: center
a
    text-decoration: none
    color: $brown
    &:hover
        color: $orange
strong
    font-weight: bold

sup
    font: normal .625em Helvetica, Verdana, sans-serif
ul li 
    display: inline
    margin: 0 .125em

blockquote
    font-style: italic
    font-size: 1em
    line-height: 1.625em
    p
        font-size: 1em !important
div[role="main"]
    ul li
        display: block
        margin: .5em 0
.dateline, nav li, .breadcrumbs li, .geo, .legend h3
    text-transform: uppercase
    font-size: .75em
    letter-spacing: .0625em
.geo
    text-align: center
img 
    border: 10px $brown solid
    width: 100%
    height: auto


#featured-image img
    width: 95% /* 315 /  520 */
    
h1
    font: normal 1.875em Helvetica, Verdana, sans-serif
    letter-spacing: 0.5px
    text-align: center
article h1
    font: normal 1.5em Helvetica, Verdana, sans-serif
    letter-spacing: 0.5px
    text-align: center
    text-transform: none
    margin: 1.875em 0 .875em 0
#archive > h1
    font-weight: 700
    font-size: .75em
    text-transform: uppercase
    text-align: left

#archive 
    img
        width: auto
    p
        margin-top: 0
    time
        display: inline
.footnote
    font-size: .75em
    border-top: 1px $brown dotted
    margin-top: 1.5em
    margin-bottom: 0
    p
        line-height: 1.5em !important
#post-metadata 
    margin-top: 0
    border-top: 1px $brown dotted
    p
        font-size: .875em
        text-align: left
#pagination
    border-top: 1px $brown dotted
    border-bottom: 1px $brown dotted
    text-align: center
    padding: .25em 0
.top .col
    font-size: .875em
/* ######### layout small  ################*/

header[role="banner"]
    margin: 0 auto
    text-align: center
    h1
        background: url('../img/tree.png') 0 0 no-repeat
        text-indent: -9999px
        width: 151px
        height: 84px
        margin: 0 auto
    h2
        background: url('../img/text.png') 0 0 no-repeat
        text-indent: -9999px
        width: 184px
        height: 54px
        margin: 0 auto
nav[role="navigation"]
    margin: 1em auto .5em auto
    text-align: center
    border-top: 1px $brown dotted
    border-bottom: 1px $brown dotted
    width: 100%
    padding: .25em 0
    font-size: .875em
nav:after, footer:before, .archive article:after, #archive:after
    content: "."
    display: block
    height: 0
    clear: both
    visibility: hidden
.dateline
    text-align: center
    time
        display: block

.postpic, .post-image
    float: left
    margin: 0 .625em .625em 0
    
.postpic, .postpicright
    width: auto
article img
    width: 95%
article object, article embed
    width: 100%
#breadcrumbs
    margin: 0 0 2em .75em
    font-size: .875em

article[role="main"]
    li
        display: block
        margin: .5em 0
/* misc classes */
.hide
    display: none

#writing-archive article
    border-bottom: 1px $brown dotted
    margin-bottom: 1.5em
    padding-bottom: 1.5em

//Photos
.figure
    position: relative
    margin: 0
    .legend
        display: block
        +transparent_class
        position: absolute
        bottom: 0
        left: 0
        font-size: 13px
        padding: 8px 0 8px 8px
        width: auto
        background: $brown
        color: #999999

#photo-galleries
    li
        margin: 8px
        position: relative
        display: block
        width: 100%
        margin-bottom: 30px
    .figure
        width: 100%
        margin: 0
        img
            width: 87%
    .legend
        padding: 10px
        color: #888888
        width: 85%
        +transparent_class
        line-height: 18px
        text-align: left
        margin-bottom: 5px
    h3
        color: white
        padding: 0
        margin: 3px 0
        font-size: .875em
    p
        margin: 0
// Maps

#map-canvas
    border: 10px $brown solid
    width: 95%
    height: 300px
.map-legend 
    h4
        font-size: 1em
        font-weight: bold
        margin: 1em 0 .25em
    li:after
        content: ","

//About page
    
#about 
    img
        width: auto
        float: left
        margin: 0 8px 8px 0
    h2
        font: normal 1.5em Helvetica, Verdana, sans-serif
        margin: 1em 0
    article[role="main"] a
        color: $orange
    section:after
        content: "."
        display: block
        height: 0
        clear: both
        visibility: hidden

.button
    display: block
    font-family: Helvetica, Verdana, sans-serif !important
    margin: 10px 10px 0 0
    width: auto
    font-size: 10px
    a
        padding: 9px 14px 7px 14px
        font-weight: bold
        line-height: 25px
        text-transform: uppercase
        background: #d7d7d7
        color: #666666
        -moz-border-radius: 25px
        -webkit-border-radius: 25px
        border-radius: 25px
    a:hover
        background: $orange
        color: white    
footer
    margin-top: 2em
footer[role="contentinfo"]
    nav
        text-align: center
        padding: .25em
        border-top: 1px $brown dotted
        border-bottom: 1px $brown dotted

.figure
    margin: 0
    position: relative

.legend
    background: $brown
    color: #999999
    display: block
    position: absolute
    bottom: 0
    width: auto
    +transparent_class

#post-body
    .legend
        width: 95%
        margin: 10px
        font-size: .875em

//special cases for the various strange formatting tricks on individual posts over the years

//numbered posts
.numeral
    display: block
    font: bold 1.2em Helvetica, Verdana, sans-serif
    margin-bottom: 0
    margin-top: 60px
    

.nfirst
    margin-top: 0 !important

//posts with elaborate footers:

#post-body .notes
    font: bold 1em Helvetica, Verdana, sans-serif
    text-transform: uppercase

#post-body .addendum
    font-size: 17px
    line-height: 25px
    dt
        font-style: italic
        margin: .675em
        margin:  0.8em 0 0 -30px !important
        padding-left: 30px
        text-indent: -30px
    dd
        margin: 0.8em 0 0

//posts with section headers

#post-body
    h3, h2
        font: normal 1.6em Helvetica,Verdana,sans-serif
        line-height: 1.2em
//pull quotes

#post-body
    .pullquote
        width: 10em
        margin: 0 1em 1em -6em
        font-style: italic
        font-size: 1.3em
        float: left
        line-height: 1.6em

/* ######### layout large  ################*/

@media only screen and (min-width: 800px)
    //main content container
    body
        max-width: 61.75em
        margin: 0 auto
    header[role="banner"]
        text-align: left
        clear: both
        border-bottom: $brown 2px solid
        height: 9.375em
        h1, h2
            float: left
            padding-top: 2.2em
            background-position: left bottom
            margin: 0 !important
        h2
            padding-top: 3.5em
            background: url('../img/text-wide.png') left bottom no-repeat !important
            margin-left: 1.7em !important
    nav[role="navigation"]
        width: 25em
        border: none
        padding-top: 7.3em
        padding-left: 15em
        a
            letter-spacing: 1px
        li
            font-size: 12px
    //global
    #pagination
        font-family: Helvetica, Verdana, sans-serif !important
        font-size: 1.125em
    //homepage specific
    #archive
        clear: both
        article
            width: 18.75em
            float: left
            text-align: justify
            h1
                text-align: left
                font-size: 1.125em
                margin: 1em 0 .5em
            .hyphenate
                font-size: .9375em
                line-height: 1.4375em
            .dateline
                text-align: left
                margin-bottom: .75em
                font-size: .65em
        .mid
            margin: 0 2.5em
        

    article img
        width: auto !important

    .img
        float: right
        img
            margin: 0
    
    //writing archives
    .archive
        padding-top: 2em
        article
            margin-bottom: 2em
            padding-bottom: 2em
            border: none !important
        h1, p
            width: 41%
            float: left
            text-align: left
            margin: 0
            font-size: 1em
        h1
            font-size: 1.5em
            line-height: 1.3em
            margin-top: .15em
            letter-spacing: .5px
        .dateline
            clear: left
            margin: .75em 0
            font-size: .6875em
        .hyphenate
            text-align: justify
        time
            display: inline
            float: right
    
    
    
    
    #photo-galleries:after, #projects-page .top:after
        content: "."
        display: block
        height: 0
        clear: both
        visibility: hidden
    
    //breadcrumbs
    #page-nav
        border: none
        text-align: left
        margin-top: 2em
    #breadcrumbs
        margin-left: 0
        li
            letter-spacing: 1px
        
    
    //photo pages
   
    #photo-galleries li
        float: left
        width: 291px
        margin: 0 1em 1em 1em
        .figure img
            width: 100%
            
    #photo-galleries .legend
        width: 97%
        padding: 1em
        font-size: .75em !important
        line-height: 95%
      
    //map page
    #map-canvas
        width: 47.5em
        height: 31.25em
        float: right
    
    .map-legend
        h4
            margin-bottom: .25em
            letter-spacing: 1px
            font-size: .875em
        li
            display: block
            font-size: .875em
            margin: 3px 0
        li:after
            content: ""
    .infowin
        h4
            font: normal 1.3em Helvetica, Verdana, sans-serif
            margin: .5em 0
        p
            font-size: 95%
            overflow: auto
    //projects page 
    #projects-page .col
        float: left
        font-size: .875em
        margin: 0 40px 0 0
        width: 360px
    #projects-page .two
        margin: 0 0 0 3.5em
        width: 32em
    #projects-page .top
        padding-bottom: 2em
        margin-bottom: 2em
        border-bottom: 1px solid #E3E3E3
    #projects-page article p
        margin: 1em 0 0 0
    //Permalink pages
    article[role="main"]
        header, #post-body, footer, #comments
            width: 35.625em
            margin: 3.5em 0 0 12em
        #post-body
            margin-top: 0
            .legend
                width: 96%
                font-size: 1em

        h1, aside
            text-align: left
            margin: 0 0 .4em 0
        h1
            font-size: 1.875em
        p:nth-of-type(1)
            font-size: 1.25em
            line-height: 28px
        #post-metadata 
            border-bottom: 1px $brown dotted
            margin-bottom: 1em
            margin-top: 1.5em
            padding: .75em 0
            p
                line-height: 1.5em !important
                margin: 0
            a
                color: $orange
        #page-navigation
            text-transform: uppercase
            font: normal 1.125em Helvetica, Verdana, sans-serif
            a
                color: $orange
            li#next
                float: right
                padding-right: 9em
            li#prev
                float: left
                padding-left: 6em
    // two col layout
    .double article[role="main"]
        p:nth-of-type(1)
            font-size: 1.0625em /* 17px / 16px */
            line-height: 1.5em /* 24px / 16px */
            margin: 1em 0 0
        header
            width: 11.25em
            float: left
            margin-left: 0
            h1, aside
                text-align: right
                line-height: 1.2em
        #post-body
            margin: 2em 0 0 1.25em
            float: left
            width: 48.75em
            .col
                float: left
                width: 23.125em
            .sec 
                margin-left: 2.5em
            .narrow
                width: 35.625em
                margin-left: -8px
                margin-bottom: 1em
                clear: both
        #post-metadata 
            clear: both
    //About Page
    #about article[role="main"]
        .content
            width: 35.625em
            margin: 0 0 0 12.4em
        h2
            margin-left: 8.2em
        p:nth-of-type(1)
            font-size: 1.063em
            line-height: 1.5em
    footer[role="contentinfo"]
        font-family: Helvetica, Verdana, sans-serif
        background: $brown
        height: 3em
        color: #888888
        margin: 80px auto 0
        font-size: 1em
        padding: 0
        li
            float: left
            text-transform: uppercase
            line-height: 3em
            margin-top: .75em
            margin-left: 8px
        a
            color: #888888 !important
            &:hover
                color: $orange !important
        nav
            border: none
            margin: 0 1em 0 0
            padding: 0
            float: right
        p
            float: left
            padding-left: 8px
            line-height: 4em
            margin-top: .75em
    .drop
        font-size: 4.8em
        display: block
        float: left
        padding: 38px 10px 5px 0
        overflow: visible

    .drop-small
        font-size: 2.9em
        display: block
        float: left
        padding: 19px 8px 5px 0
        overflow: visible
    .postpic, .postpicright
        display: block
        margin: 0.3em 0.6em
    
    .postpic
        float: left
        margin-left: 0
        margin-top: 0.3em
    
    .postpicright
        float: right
        margin-right: 0
    
    .postpicleft
        float: left
        margin: 5px
    
    .picfull
        margin-top: 20px
    
    .picwide 
        border: 10px solid $brown
        clear: both
        margin: 30px 0 30px -200px

        
//.formatted
//    column-count: 3
//    column-gap: 1.125em
//    -moz-column-count: 3
//    -moz-column-gap: 18px
//    -webkit-column-count: 3
//    -webkit-column-gap: 1.125em