summaryrefslogtreecommitdiff
path: root/media/sass/base.sass
blob: 6d04a54c73204128c8d1c2aef7086f57cf26fdaa (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
@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
        
ul li 
    display: inline
    margin: 0 .125em
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


#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
.footnote
    font-size: .875em
#post-metadata 
    margin-top: 0
    border-top: 1px $brown dotted
    p
        font-size: .875em
        text-align: left

.col
    font-size: .875em
/* ######### layout small  ################*/

header[role="banner"]
    margin: 0 auto
    text-align: center
    #logo h1
        background: url('../img/tree.png') 0 0 no-repeat
        text-indent: -9999px
        width: 151px
        height: 84px
        margin: 0 auto
    #logo 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
    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 1em

/* 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
        height: 350px
        width: 100%
        margin-bottom: 30px
    .figure
        height: 362px
        width: 100%
        margin: 0
    .legend
        padding: 10px
        color: #888888
        width: 85%
        +transparent_class
        line-height: 18px
        text-align: left
    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

footer
    margin-top: 2em
footer[role="contentinfo"]
    nav
        text-align: center
        padding: .25em
        border-top: 1px $brown dotted
        border-bottom: 1px $brown dotted


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

@media only screen and (min-width: 800px)
    body
        max-width: 61.75em
        margin: 0 auto
    header[role="banner"]
        text-align: left
        clear: both
        border-bottom: $brown 2px solid
        height: 9.375em
        #logo h1, #logo h2
            float: left
            padding-top: 2.2em
            background-position: left bottom
            margin: 0 !important
        #logo 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: 6.3em
        padding-left: 13em
        a
            letter-spacing: 1px
        li
            font-size: 12px
    article img
        width: auto !important
    #archive
        clear: both
    #featured
        img
            float: right
            margin: 0
    .img
        float: right
        img
            margin: 0
   
    .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
    #page-nav
        border: none
        text-align: left
        margin-top: 2em
    
    #photo-galleries .legend
        width: 90%
        padding: 1em 1em .5em 1em
        font-size: .75em !important
        line-height: 95%
    #photo-galleries li
        float: left
        width: auto !important        
        
    #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
            
    #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
        h1, aside
            text-align: left
            margin: 0 0 .4em 0
        p:nth-of-type(1)
            font-size: 1.25em
            line-height: 28px
        #post-metadata 
            border-bottom: 1px $brown dotted
            margin-bottom: 2em
            p
                line-height: 1.5em !important
            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

    footer[role="contentinfo"]
        font-family: Helvetica, Verdana, sans-serif
        background: $brown
        height: 2.25em
        color: #888888
        margin: 80px auto 0
        font-size: 1em
        padding: 0
        li
            float: left
            text-transform: uppercase
            line-height: 3em
            margin-left: 8px
        a
            color: #888888 !important
            &:hover
                color: $orange !important
        nav
            border: none
            height: auto
            width: 15em
            margin: 0
            padding: 0
            float: right
        p
            float: left
            padding-left: 8px
            line-height: 4em
            margin: 0
    .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

        
//.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