diff options
author | Case Duckworth | 2015-04-14 20:00:53 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-14 20:00:53 -0700 |
commit | b5e71e01b4e4ebf4c14ca0c618f2b64d1e17ac04 (patch) | |
tree | 08d62cfe742ac1078ed75840c73b662fd48ec2c4 /trunk | |
parent | Revise index.html to reflect new appendices (diff) | |
download | autocento-b5e71e01b4e4ebf4c14ca0c618f2b64d1e17ac04.tar.gz autocento-b5e71e01b4e4ebf4c14ca0c618f2b64d1e17ac04.zip |
Fix code display issues
Diffstat (limited to 'trunk')
-rw-r--r-- | trunk/style.css | 88 |
1 files changed, 35 insertions, 53 deletions
diff --git a/trunk/style.css b/trunk/style.css index e35a92d..edeb425 100644 --- a/trunk/style.css +++ b/trunk/style.css | |||
@@ -49,6 +49,7 @@ header { | |||
49 | } | 49 | } |
50 | .content { | 50 | .content { |
51 | line-height: 1.3em; | 51 | line-height: 1.3em; |
52 | width: 90%; | ||
52 | } | 53 | } |
53 | /* header + .container + .content }}} */ | 54 | /* header + .container + .content }}} */ |
54 | /* NAV + .FOOTNOTES {{{ */ | 55 | /* NAV + .FOOTNOTES {{{ */ |
@@ -63,10 +64,14 @@ nav { | |||
63 | } | 64 | } |
64 | .footnotes { | 65 | .footnotes { |
65 | font-size: 0.85em; | 66 | font-size: 0.85em; |
66 | width: 100%; | 67 | width: 90%; |
67 | position: absolute; | 68 | position: absolute; |
68 | top: 100%; | 69 | top: 100%; |
69 | left: 0; | 70 | left: 5%; |
71 | } | ||
72 | .footnotes ol { | ||
73 | padding-left: 1em; | ||
74 | margin: 1em; | ||
70 | } | 75 | } |
71 | /* nav + .footnotes }}} */ | 76 | /* nav + .footnotes }}} */ |
72 | /* main layout elements }}} */ | 77 | /* main layout elements }}} */ |
@@ -164,7 +169,7 @@ nav { | |||
164 | /* .ekphrastic }}} */ | 169 | /* .ekphrastic }}} */ |
165 | /* .CONTENT ELEMENTS {{{ */ | 170 | /* .CONTENT ELEMENTS {{{ */ |
166 | /* BLOCK ELEMENTS {{{ */ | 171 | /* BLOCK ELEMENTS {{{ */ |
167 | .content :first-child { | 172 | .content > :first-child { |
168 | margin-top: 0; | 173 | margin-top: 0; |
169 | } | 174 | } |
170 | h2 { | 175 | h2 { |
@@ -295,56 +300,33 @@ a.footnoteRef { | |||
295 | border: none; | 300 | border: none; |
296 | } | 301 | } |
297 | /* .footnotes elements }}} */ | 302 | /* .footnotes elements }}} */ |
298 | /* /1* CODE {{{ *1/ */ | 303 | /* CODE {{{ */ |
299 | /* .sourceCode { */ | 304 | .sourceCode { |
300 | /* max-width: 100%; */ | 305 | overflow: auto; |
301 | /* overflow: auto; */ | 306 | font-family: "Courier Prime", "Courier New", Courier, monospace; |
302 | /* background-color: #303030; */ | 307 | font-size: 10pt; |
303 | /* color: #cccccc; */ | 308 | white-space: pre; |
304 | /* font-family: "Courier Prime", "Courier New", Courier, monospace; */ | 309 | } |
305 | /* font-size: 10pt; */ | 310 | pre { |
306 | /* } */ | 311 | padding: 0.25em; |
307 | /* .sourceCode .kw { /1* keywords *1/ */ | 312 | position: relative; |
308 | /* color: #f0dfaf; */ | 313 | width: 100%; |
309 | /* font-weight: bold; */ | 314 | border: 1px solid gray; |
310 | /* } */ | 315 | } |
311 | /* .sourceCode .dt { /1* datatype *1/ */ | 316 | .sourceCode span.kw { color: #007020; font-weight: bold; } |
312 | /* color: #dfdfbf; */ | 317 | .sourceCode span.dt { color: #902000; } |
313 | /* } */ | 318 | .sourceCode span.dv { color: #40a070; } |
314 | /* .sourceCode .dv { /1* decimal value *1/ */ | 319 | .sourceCode span.bn { color: #40a070; } |
315 | /* color: #dcdccc; */ | 320 | .sourceCode span.fl { color: #40a070; } |
316 | /* } */ | 321 | .sourceCode span.ch { color: #4070a0; } |
317 | /* .sourceCode .bn { /1* base N *1/ */ | 322 | .sourceCode span.st { color: #4070a0; } |
318 | /* color: #dca3a3; */ | 323 | .sourceCode span.co { color: #60a0b0; font-style: italic; } |
319 | /* } */ | 324 | .sourceCode span.ot { color: #007020; } |
320 | /* .sourceCode .fl { /1* float *1/ */ | 325 | .sourceCode span.al { color: red; font-weight: bold; } |
321 | /* color: #c0bed1; */ | 326 | .sourceCode span.fu { color: #06287e; } |
322 | /* } */ | 327 | .sourceCode span.re { } |
323 | /* .sourceCode .ch { /1* char *1/ */ | 328 | .sourceCode span.er { color: red; font-weight: bold; } |
324 | /* color: #dca3a3; */ | 329 | /* code }}} */ |
325 | /* } */ | ||
326 | /* .sourceCode .st { /1* string *1/ */ | ||
327 | /* color: #cc9393; */ | ||
328 | /* } */ | ||
329 | /* .sourceCode .co { /1* comment *1/ */ | ||
330 | /* color: #7f9f7f; */ | ||
331 | /* font-style: italic; */ | ||
332 | /* } */ | ||
333 | /* .sourceCode .ot { /1* other token *1/ */ | ||
334 | /* color: #efef8f; */ | ||
335 | /* } */ | ||
336 | /* .sourceCode .at { /1* alert token *1/ */ | ||
337 | /* color: #ffcfaf; */ | ||
338 | /* } */ | ||
339 | /* .sourceCode .fu { /1* function *1/ */ | ||
340 | /* color: #efef8f; */ | ||
341 | /* } */ | ||
342 | /* .sourceCode .re { /1* region marker *1/ */ | ||
343 | /* } */ | ||
344 | /* .sourceCode .er { /1* error token *1/ */ | ||
345 | /* color: #c3bf9f; */ | ||
346 | /* } */ | ||
347 | /* /1* code }}} *1/ */ | ||
348 | /* GENRE CSS */ | 330 | /* GENRE CSS */ |
349 | /* .PROSE {{{ */ | 331 | /* .PROSE {{{ */ |
350 | .prose { | 332 | .prose { |