# HG changeset patch # User casties # Date 1359478607 -3600 # Node ID e18ef3786753b7f432d3ba08ca891f8cec13c3bc # Parent 0488cd12355bf5df56b30456b76cc229cac91a5d CSS for new footnotes. diff -r 0488cd12355b -r e18ef3786753 css/docuviewer.css --- a/css/docuviewer.css Mon Jan 21 19:58:21 2013 +0100 +++ b/css/docuviewer.css Tue Jan 29 17:56:47 2013 +0100 @@ -287,6 +287,7 @@ } /* note */ div.col.main div.content.text span.note span.noteBody { + /* noteBody as block */ display: block; /* float: left; */ margin-top: 0.5em; @@ -295,9 +296,40 @@ border: 1px dashed silver; } div.col.main div.content.text span.note span.noteSign { + /* noteSign invisible */ display: none; - /* font-size: 70%; - vertical-align: super; */ +} +div.col.main div.content.text span.note.right span.noteBody { + text-align: right; +} +/* footnote */ +div.col.main div.content.text div.notes.foot { + /* footnote separator */ + border-top: 1px solid silver; +} +div.col.main div.content.text div.notes.foot span.note.foot { + /* footnote with sign as block */ + display: block; + /* float: left; */ + margin-top: 0.5em; + margin-bottom: 0.5em; + padding: 5px; +} +div.col.main div.content.text div.notes.foot span.note.foot span.noteBody { + /* footnote body not block */ + display: inline; + margin: 0; + border: 0; +} +div.col.main div.content.text span.note.foot span.noteSign { + /* footnote sign superscript */ + display: inline; + font-size: 70%; + vertical-align: super; +} +div.col.main div.content.text div.notes.foot span.note.foot span.noteBody span.noteSign { + /* noteSign in noteBody invisible */ + display: none; } /* figure */ div.col.main div.content.text span.figure {