summary refs log tree commit diff stats
path: root/css
diff options
context:
space:
mode:
authorCase Duckworth2015-03-12 19:58:51 -0700
committerCase Duckworth2015-03-12 19:58:51 -0700
commit48cf8284278060c7fdb6e2f504f75ec879e3d168 (patch)
treea1bf9f0c0fa178149574e7b7d30d5d1965de2a06 /css
parentChange 'Something's to use subtitles; add links (diff)
downloadautocento-48cf8284278060c7fdb6e2f504f75ec879e3d168.tar.gz
autocento-48cf8284278060c7fdb6e2f504f75ec879e3d168.zip
Style footnotes
Diffstat (limited to 'css')
-rw-r--r--css/common.css32
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 {{{ */
69a:link { 78a: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}
73a:visited { 84a:visited {
74 color: inherit; 85 color: inherit;
75} 86}
76a:hover { 87a:hover {
77 text-decoration: underline; 88 /* text-decoration: underline; */
78} 89}
79a:active { 90a:active {
80 text-decoration: underline; 91 /* text-decoration: underline; */
92 border-top: 1px solid black;
81} 93}
82/* External Links */ 94/* External Links */
83a[href^="http"]:link { 95a[href^="http"]:link {
84 text-decoration: none; 96 text-decoration: none;
97 border-bottom: 1px dashed black;
85} 98}
86a[href^="http"]:visited { 99a[href^="http"]:visited {
87} 100}
88a[href^="http"]:hover { 101a[href^="http"]:hover {
89 text-decoration: underline;
90} 102}
91a[href^="http"]:active { 103a[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 {{{ */
175nav a:link { border-bottom: none; }
163nav .prevlink { float: left; text-align: left; } 176nav .prevlink { float: left; text-align: left; }
164nav .nextlink { float: right; text-align: right; } 177nav .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}
213a.footnoteRef {
214 border: none;
215}
200/* footnotes }}} */ 216/* footnotes }}} */