Mercurial > hg > documentViewer
changeset 611:e18ef3786753
CSS for new footnotes.
author | casties |
---|---|
date | Tue, 29 Jan 2013 17:56:47 +0100 |
parents | 0488cd12355b |
children | a79e4e4b3e37 |
files | css/docuviewer.css |
diffstat | 1 files changed, 34 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 {