-
Notifications
You must be signed in to change notification settings - Fork 1
/
bat_styles.css
399 lines (336 loc) · 7.52 KB
/
bat_styles.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
/* base font */
body{
font-family: Cambria, Georgia, serif;
}
/* link goodness */
a:link { color: #64c9ff; text-decoration: none; }
a:visited { color: #00517e; text-decoration: none; }
a:hover { color: #ca4700; text-decoration: underline; }
a:active { color: #ca4700; text-decoration: underline; }
/* paralax top image */
.bat_paratop figcaption{
padding: 0 1em;
}
/* center and pad story content */
.bat_wrap{
position:relative;
width:90%;
margin:0 auto;
}
/* story headline */
.bat_wrap h1{
font-family: "MillerHeadline Bold", Cambria, Georgia, serif;
font-weight:900;
font-size: 2.5em;
margin:.5em 0 0em 0;
line-height: 1.2em
}
/* story deck */
.bat_wrap h2{
font-family: "MillerHeadline Light", Cambria, Georgia, serif;
color:#666;
font-weight:100;
font-size: 1.5em;
margin: .5em 0 .5em 0;
}
/* sub heads */
.bat_wrap h3{
font-family: "MillerHeadline Bold", Cambria, Georgia, serif;
font-size: 2em;
font-weight: 400;
margin: 1em 0 1em 0;
}
/* hammerhead head on image */
.bat_head{
display:block;
color:#fff;
position: relative;
bottom:4em;
width:100%;
padding:0;
}
/* on-image subhead */
.bat_head p{
font-size:2.5em;
margin:0;
padding:.3em;
}
/* byline */
.bat_bydate{
border-top: 1px solid black;
border-bottom: 1px solid black;
padding: 10px 0 10px 0;
font-family: Cambria, Georgia, serif;
}
.bat_byline{
font-weight: 900;
font-family: Cambria, Georgia, serif!important;
font-variant:small-caps;
}
.bat_date{
font-weight: 100;
color:#666;
font-family: Cambria, Georgia, serif!important;
}
/* side bar info breakouts */
.bat_info{
margin: 5%;
padding: 0 5% 0 5%;
border-left: 3px solid black;
}
/* non full-width media */
.bat_media{}
.bat_media iframe{
width:100%;
}
.bat_media figure{
text-align: center;
}
/* caption styles */
figcaption{
font-weight: 100;
font-size: .85em;
font-style: italic;
color: #111;
margin: 0 0 10px 0;
line-height: 1.2em;
}
/* full-width caption style */
.bat_full figcaption{
padding:0 1em; /* move just off edge */
}
/* story content */
.bat_story{
font-size: 1em;
line-height: 1.75;
}
/* drop cap */
.bat_dropcap:first-letter{
float: left;
color: black;
font-size: 4em;
line-height: .8em;
margin-top: 2px;
margin-right: 4px;
font-family: "BentonSansCond", Arial, sans-serif;
font-weight: 800;
}
/* pull quote */
.bat_quote{
border-top: 1px solid black;
border-bottom: 1px solid black;
margin: 4%;
padding: 4%;
color:#444;
}
/* pull quote content */
.bat_quote h4{
font-family:Cambria,Georgia,serif;
font-style:italic;
font-size:1.5em;
margin:0;
margin-bottom:0;
}
/* pull quote attribution */
.bat_quote p{
font-family:Cambria,Georgia,serif;
font-size:.75em;
font-style: italic;
margin: 10px 0 0 5%;
}
/* for responsive d3 */
.bat_chart{
width:100%;
}
.bat_chart div {
font: 1em serif;
background-color: #000;
text-align: right;
padding: 3px;
margin: 3px;
color: white;
}
.bat_chart div:hover{
background-color: #444;
}
/* html5 audio */
audio{
width: 100%;
}
/* media content in table */
.bat_media .pure-table{
margin: 0 auto;
}
.pure-g img:hover{
opacity:1;
}
.pure-g img{
opacity:.9;
}
/* screens greater that 48em for pure grids */
@media (min-width: 48em) {
.bat_date{
text-align: right;
}
}
/* screens greater that 665 px, tablet, wiffle B */
@media (min-width: 665px) {
/* hammerhead head on image */
.bat_head {
bottom:2em;
}
/* on-image subhead */
.bat_head p {
xfont-size:5em;
}
}
/* screens greater that 1005 px, desktop, wiffle C */
@media (min-width: 1005px) {
/* set max width */
.bat_wrap{
max-width:980px;
}
/* story head up font size */
.bat_wrap h1{
font-size: 5em;
}
/*story deck*/
.bat_wrap h2{
font-size: 2.5em;
}
/* hammerhead head on image */
.bat_head {
bottom:0;
}
.bat_full{
position: relative; /*for .bat_inset*/
}
/* inset caption on full width with .inset class */
.bat_inset{
position: absolute;
bottom: 0;
background: rgba(255, 255, 255, .7);
margin: 0;
width: 100%;
}
/* for .bat_inset */
.bat_full figcaption{
padding: 1em 3em;
}
/* story style */
.bat_story{
width:75%;
font-size: 1.25em;
}
/* media float to side */
.bat_media{
float:right;
width:60%;
margin-left:10%;
}
/* increase pull quote size */
.bat_quote h4{
font-weight:100;
font-size:2.5em;
}
/* increase attribution size */
.bat_quote p{
font-weight:900;
font-size:1em;
margin: 10px 0 0 5%;
}
/* make it full width when it goes out to three columns */
.bat_media .pure-table{
margin: 0;
}
/* make sub heads bigger */
.bat_wrap h3{
font-size: 2.25em;
font-weight: 400;
margin: 3em 0 1em 0;
}
}
/*FONTS*/
@font-face {
font-family: "BentonSansCond Regular";
src: url("http://fonts.registerguard.com/benton/sanscondbold.eot");
src: url("http://fonts.registerguard.com/benton/sanscondbold.eot?#iefix") format("embedded-opentype"),
url("http://fonts.registerguard.com/benton/sanscondbold.woff") format("woff"),
url("http://fonts.registerguard.com/benton/sanscondbold.ttf") format("truetype"),
url("http://fonts.registerguard.com/benton/sanscondbold.svg#web") format("svg");
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: "MillerHeadline Bold";
src: url("http://fonts.registerguard.com/miller/headlinebold.eot");
src: url("http://fonts.registerguard.com/miller/headlinebold.eot?#iefix") format("embedded-opentype"),
url("http://fonts.registerguard.com/miller/headlinebold.woff") format("woff"),
url("http://fonts.registerguard.com/miller/headlinebold.ttf") format("truetype"),
url("http://fonts.registerguard.com/miller/headlinebold.svg#web") format("svg");
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: "MillerHeadline Light";
src: url("http://fonts.registerguard.com/miller/headlinelight.eot");
src: url("http://fonts.registerguard.com/miller/headlinelight.eot?#iefix") format("embedded-opentype"),
url("http://fonts.registerguard.com/miller/headlinelight.woff") format("woff"),
url("http://fonts.registerguard.com/miller/headlinelight.ttf") format("truetype"),
url("http://fonts.registerguard.com/miller/headlinelight.svg#web") format("svg");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family:"RGWeb";
src:url("http://fonts.registerguard.com/rg/rgweb.eot");
src:url("http://fonts.registerguard.com/rg/rgweb.eot?#iefix") format("embedded-opentype"),
url("http://fonts.registerguard.com/rg/rgweb.woff") format("woff"),
url("http://fonts.registerguard.com/rg/rgweb.ttf") format("truetype"),
url("http://fonts.registerguard.com/rg/rgweb.svg#RGWeb") format("svg");
font-weight:normal;font-style:normal;
}
/* start of .mm */
.mm {
height: 0;
padding-bottom: 56.25%; /*16:9 = (9 / 16 = .5625) x 100*/
position: relative;
overflow: hidden;
}
.mm .embed {
border: 0;
width: 100% !important;
height: 100% !important;
max-width: none;
position: absolute;
top: 0;
left: 0;
}
.theatre { padding-bottom: 59.171597633136%; } /*1.69:1 = (1 / 1.69 = .59171597633136) x 100*/
.slide { padding-bottom: 66.666666666667%; } /*3:2 = (2 / 3 = .66666666666667) x 100*/
.tv { padding-bottom: 75%; } /*4:3 = (3 / 4 = .75) x 100*/
.funky { padding-bottom: 41.666666666667%; } /* 1080 × 450 (450 / 1080) = 41.66667 */
/* end of .mm */
/* addthis */
.addthis_sharing_toolbox{
width: 100%;
margin-top: 24px;
text-align: center;
}
@media (min-width: 980px) {
.addthis_sharing_toolbox{
width: 20%;
float: right;
text-align: right;
}
}
/* end of addthis */
/*footer*/
#bd_press{
font: .75em Arial, sans-serif;
text-transform: uppercase;
letter-spacing: .05em;
color: #999;
text-align: center;
}
/* end of footer */