diff options
author | Case Duckworth | 2015-03-12 19:58:51 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-12 19:58:51 -0700 |
commit | 48cf8284278060c7fdb6e2f504f75ec879e3d168 (patch) | |
tree | a1bf9f0c0fa178149574e7b7d30d5d1965de2a06 /css | |
parent | Change 'Something's to use subtitles; add links (diff) | |
download | autocento-48cf8284278060c7fdb6e2f504f75ec879e3d168.tar.gz autocento-48cf8284278060c7fdb6e2f504f75ec879e3d168.zip |
Style footnotes
Diffstat (limited to 'css')
-rw-r--r-- | css/common.css | 32 |
1 files changed, 24 insertions, 8 deletions
diff --git a/css/common.css b/css/common.css index 59d6d51..301768e 100644 --- a/css/common.css +++ b/css/common.css | |||
@@ -58,38 +58,50 @@ nav { | |||
58 | text-align: center; | 58 | text-align: center; |
59 | } | 59 | } |
60 | .footnotes { | 60 | .footnotes { |
61 | width: 80%; | 61 | font-size: 10pt; |
62 | width: 100%; | ||
62 | position: absolute; | 63 | position: absolute; |
63 | top: 100%; | 64 | top: 100%; |
64 | left: 10%; | 65 | left: 0; |
65 | font-size: 10pt; | 66 | } |
67 | .footnotes li { | ||
68 | margin-right: 2em; | ||
69 | border-bottom: 1px solid gray; | ||
70 | max-width: 45em; | ||
71 | margin: auto; | ||
72 | } | ||
73 | .footnotes li:last-child { | ||
74 | border-bottom: none; | ||
66 | } | 75 | } |
67 | /* layout }}} */ | 76 | /* layout }}} */ |
68 | /* LINKS {{{ */ | 77 | /* LINKS {{{ */ |
69 | a:link { | 78 | a:link { |
79 | padding-top: 1px; | ||
70 | color: inherit; | 80 | color: inherit; |
71 | text-decoration: underline; | 81 | text-decoration: none; |
82 | border-bottom: 1px solid black; | ||
72 | } | 83 | } |
73 | a:visited { | 84 | a:visited { |
74 | color: inherit; | 85 | color: inherit; |
75 | } | 86 | } |
76 | a:hover { | 87 | a:hover { |
77 | text-decoration: underline; | 88 | /* text-decoration: underline; */ |
78 | } | 89 | } |
79 | a:active { | 90 | a:active { |
80 | text-decoration: underline; | 91 | /* text-decoration: underline; */ |
92 | border-top: 1px solid black; | ||
81 | } | 93 | } |
82 | /* External Links */ | 94 | /* External Links */ |
83 | a[href^="http"]:link { | 95 | a[href^="http"]:link { |
84 | text-decoration: none; | 96 | text-decoration: none; |
97 | border-bottom: 1px dashed black; | ||
85 | } | 98 | } |
86 | a[href^="http"]:visited { | 99 | a[href^="http"]:visited { |
87 | } | 100 | } |
88 | a[href^="http"]:hover { | 101 | a[href^="http"]:hover { |
89 | text-decoration: underline; | ||
90 | } | 102 | } |
91 | a[href^="http"]:active { | 103 | a[href^="http"]:active { |
92 | text-decoration: underline; | 104 | border-top: 1px dashed black; |
93 | } | 105 | } |
94 | /* links }}} */ | 106 | /* links }}} */ |
95 | /* IMAGES {{{ */ | 107 | /* IMAGES {{{ */ |
@@ -160,6 +172,7 @@ h2 { | |||
160 | } | 172 | } |
161 | /* epigraph }}} */ | 173 | /* epigraph }}} */ |
162 | /* NAV {{{ */ | 174 | /* NAV {{{ */ |
175 | nav a:link { border-bottom: none; } | ||
163 | nav .prevlink { float: left; text-align: left; } | 176 | nav .prevlink { float: left; text-align: left; } |
164 | nav .nextlink { float: right; text-align: right; } | 177 | nav .nextlink { float: right; text-align: right; } |
165 | /* Properties both types of navlinks share */ | 178 | /* Properties both types of navlinks share */ |
@@ -197,4 +210,7 @@ nav .nextlink::after { | |||
197 | .footnotes a[href^="#fnref"] { | 210 | .footnotes a[href^="#fnref"] { |
198 | float: right; | 211 | float: right; |
199 | } | 212 | } |
213 | a.footnoteRef { | ||
214 | border: none; | ||
215 | } | ||
200 | /* footnotes }}} */ | 216 | /* footnotes }}} */ |