X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/3193141f55df20910cf8ba35f9e669d79c90d3f4..49ca4e98b38d73cef1eec116d7c9a4c00006f728:/platforma/static/css/html.css diff --git a/platforma/static/css/html.css b/platforma/static/css/html.css index 336a365e..105f05a7 100644 --- a/platforma/static/css/html.css +++ b/platforma/static/css/html.css @@ -1,7 +1,11 @@ /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */ + +@namespace wl2o ""; + .htmlview { + counter-reset: main; font-size: 16px; - font: Georgia, "Times New Roman", serif; + font-family: "Georgia", "Times New Roman", serif; line-height: 1.5em; padding: 3em; } @@ -70,19 +74,6 @@ text-align: left; } -.htmlview .annotation { - font-style: normal; - font-weight: normal; - font-size: 12px; -} - -.htmlview #footnotes .annotation { - display: block; - float: left; - width: 2.5em; - clear: both; -} - .htmlview #footnotes div { margin: 1.5em 0 0 0; } @@ -150,7 +141,7 @@ } .htmlview .strofa { - margin: 1.5em 0 0; + margin: 1.5em 0 0 auto; } .htmlview .kwestia .strofa { @@ -225,3 +216,48 @@ font-style: normal; font-variant: small-caps; } + +.htmlview .parse-warning { + display: block; + font-size: 10pt; + background: #C0C0C0; + margin: 1em; +} + +/* Przypisy */ +.htmlview .annotation { + vertical-align: super; + text-decoration: none; + font-size: 0.66em; +} + +.htmlview a:hover { + text-decoration: none; +} + +/* .htmlview .annotation:before { + content: "[\2217]"; +} */ + +.htmlview span.annotation:before { + content: "[" counter(main) "]"; + counter-increment: main; +} + +.htmlview *[wl2o\:editable] { + background-color: pink; +} + +.htmlview *[wl2o\:editable] *[wl2o\:editable] { + background-color: red; +} + + +.htmlview .annotation:hover { + background-color: #dfdfdf; +} + +.parse-warning .message { + color: purple; + font-weight: bold; +} \ No newline at end of file