blob: db741b9bf460e33e534529843010ae4c353189c2 (
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
|
// ##############################################
// Most of the basic formatting for paragraphs is
// handled in _global.scss. This just handles the
// bits specific to article detail pages
// e.g. header, footnotes, images, page nav, two
// col and dark page
// ##############################################
.post--header {
@include constrain_narrow();
@include breakpoint(beta) {
text-align: left;
margin-top: 3em;
margin-bottom: .75em;
}
@include breakpoint(delta) {
margin-top: 4em;
}
}
.page--title {
@include constrain_narrow();
@include breakpoint(beta) {
text-align: left;
margin-top: 2em;
}
}
.post--location {
@include smcaps;
@include fontsize(11);
}
.post--article {
h2, h3 {
@include constrain_narrow;
font-family: Helvetica Neue, Helvetica, sans-serif;
text-align: left;
}
blockquote {
@include constrain_narrow;
text-align: left;
padding: 20px;
font-style: italic;
p {
margin-left: 1em;
margin-right: 1em;
}
}
.notes {
@include smcaps;
@include constrain_narrow;
font-weight: normal;
text-align: left;
&:before {
@include faded_line_after;
margin-bottom: 3em;
}
}
.addendum {
@include constrain_narrow;
text-align: left;
dt {
margin-left: -30px;
font-style: italic;
padding-left: 30px;
text-indent: -30px;
margin-bottom: .5em;
}
dd { margin-left: 0; margin-bottom: 1.5em;}
}
.numeral {
display: block;
font: bold 1.2em sans-serif;
margin-bottom: 0;
margin-top: 1em;
}
}
//### FOOTNOTES ###
.footnote {
@include constrain_narrow();
margin: 1em auto 0 auto;
padding:0;
list-style-position:inside;
list-style-type: none;
&:before {
@include breakpoint(beta) {
@include faded_line_after;
margin-bottom: 2em;
}
}
p {
font-size: 0.875em;
line-height: 1.4
}
}
.dark .footnote:before {
@include light_faded_line_after;
}
//### IMAGES AND FIGURES ###
.postpic, .postpicright {
display: block;
width: auto;
}
.postpic {
float: left;
margin: 0.3em 10px 10px 0;
}
.postpicright {
float: right;
margin: 0.3em 0 10px 10px;
}
.postpicleft {
float: left;
margin: 5px;
}
.picfull {
margin-top: 20px;
}
.picwide {
clear: both;
margin: 1em 0;
@include breakpoint(gamma) {
margin-left: -140px;
width: 960px;
max-width: 960px;
}
@include breakpoint(delta) {
margin-left: -220px;
width: 1170px;
max-width: 1170px;
}
}
.picwide960 {
clear: both;
margin: 1em 0;
@include breakpoint(gamma) {
margin-left: -140px;
width: 960px;
max-width: 960px;
}
}
.figure {
position: relative;
max-width: 90%;
margin: 0 auto;
@include breakpoint(gamma) {
max-width: 640px;
}
@include breakpoint(delta) {
max-width: 680px;
}
.legend {
display: block;
@include transparent_class;
position: absolute;
bottom: 10px;
left: 0;
font-size: 13px;
padding: 8px 0 8px 2%;
width: 98%;
background: $brown;
color: #999999;
}
}
//### PAGE NAVIGATION ###
#page-navigation {
margin: 2em auto;
@include constrain_narrow();
text-align: center;
display: table;
ul {
margin: 0 auto;
width: 100%;
text-align: center;
padding: 0;
}
li {
margin: 6px auto;
clear: both;
line-height: 24px;
text-align: center;
}
span {
min-width: 70px;
display: block;
text-align: right;
margin-right: 10px;
margin-top: 2px;
float: left;
}
a {
display: block;
float: left;
text-align: left;
font-style: italic;
color: $brown;
text-decoration: none;
}
}
// ##############################################
// On double and double-dark make the top wide
// with two columns of text (nothing for ie9-
// ##############################################
@include breakpoint(gamma) {
.post--header--double {
float: left;
max-width: 200px;
margin-right: 2em;
margin-top: 5px;
.post--title, .post--date, .post--location {
text-align: right;
}
.post--title {
line-height: 1.1;
margin-top: 4px;
}
}
.col {
margin-top: 3rem;
-moz-column-count: 2;
-moz-column-gap: 30px;
-webkit-column-count: 2;
-webkit-column-gap: 30px;
column-count: 2;
column-gap: 30px;
p { margin-top: 0; margin-bottom: 2em;}
p:first-of-type:first-letter {
@include fontsize(60);
line-height: 42px;
display: block;
float: left;
padding: 11px 8px 5px 0;
}
}
}
.post--article--double {
@include constrain_wide();
}
// ##############################################
// On dark and double-dark pages we invert the
// colors, most of which happens in _global but
// the page nav links need to be done here
// ##############################################
.dark #page-navigation a {
color: $body_font_light;
}
|