diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/_common.css | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/css/_common.css b/css/_common.css index 1984d9f..411086c 100644 --- a/css/_common.css +++ b/css/_common.css | |||
@@ -3,6 +3,7 @@ | |||
3 | * margins & widths | 3 | * margins & widths |
4 | * text sizes & font assignments | 4 | * text sizes & font assignments |
5 | * link rendering | 5 | * link rendering |
6 | * images | ||
6 | * vim: fdm=marker | 7 | * vim: fdm=marker |
7 | */ | 8 | */ |
8 | /* Import rules {{{ */ | 9 | /* Import rules {{{ */ |
@@ -22,6 +23,7 @@ html, body { | |||
22 | #wrapper { /*makes sure nav is at bottom of window*/ | 23 | #wrapper { /*makes sure nav is at bottom of window*/ |
23 | min-height: 100%; | 24 | min-height: 100%; |
24 | position: relative; | 25 | position: relative; |
26 | margin: 12px; | ||
25 | } | 27 | } |
26 | .thing { | 28 | .thing { |
27 | max-width: 39em; | 29 | max-width: 39em; |
@@ -35,6 +37,7 @@ td { | |||
35 | } | 37 | } |
36 | tr { | 38 | tr { |
37 | border-bottom: 1px solid #aaa; | 39 | border-bottom: 1px solid #aaa; |
40 | border-top: 1px solid #aaa; | ||
38 | } | 41 | } |
39 | /* Links */ | 42 | /* Links */ |
40 | a:link { | 43 | a:link { |
@@ -51,6 +54,20 @@ a:active { | |||
51 | text-decoration: underline; | 54 | text-decoration: underline; |
52 | } | 55 | } |
53 | /* }}} */ | 56 | /* }}} */ |
57 | /* Images {{{ */ | ||
58 | figure { | ||
59 | width: 100%; | ||
60 | margin: auto; | ||
61 | text-align: center; | ||
62 | } | ||
63 | figcaption { | ||
64 | display: none; | ||
65 | } | ||
66 | img { | ||
67 | max-width: 100%; | ||
68 | margin: auto; | ||
69 | } | ||
70 | /* }}} */ | ||
54 | /* Header section {{{ */ | 71 | /* Header section {{{ */ |
55 | header { | 72 | header { |
56 | max-width: 39em; | 73 | max-width: 39em; |
@@ -119,11 +136,15 @@ nav { | |||
119 | } | 136 | } |
120 | nav .prevlink { | 137 | nav .prevlink { |
121 | float: left; | 138 | float: left; |
139 | text-align: left; | ||
122 | margin: 0 0.5em; | 140 | margin: 0 0.5em; |
141 | max-width: 20%; | ||
123 | } | 142 | } |
124 | nav .nextlink { | 143 | nav .nextlink { |
125 | float: right; | 144 | float: right; |
145 | text-align: right; | ||
126 | margin: 0 0.5em; | 146 | margin: 0 0.5em; |
147 | max-width: 20%; | ||
127 | } | 148 | } |
128 | nav .prevlink:before { | 149 | nav .prevlink:before { |
129 | content: ' «' | 150 | content: ' «' |