X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/d14923890dd5e49fa8fa489feaff1c35a25af974..713b8720aa2648a430b2d97cffe43e98e59937c4:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 0d43611b..754a7f02 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -1,6 +1,6 @@ /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */ .htmlview { - counter-reset: main; + counter-reset: main aktywnosc; font-size: 16px; font-family: "Georgia", "Times New Roman", serif; line-height: 1.5em; @@ -198,8 +198,7 @@ } /* błędne wersy */ -.htmlview *: -not(.strofa) > *[x-verse]::after { +.htmlview *:not(.strofa) > *[x-verse]::after { content: "Ten wers znajduje się poza strofą."; display: inline; background: red; @@ -248,6 +247,10 @@ not(.strofa) > *[x-verse]::after { font-style: italic; } +.htmlview div.ramka { + border: 1px darkgray solid; +} + .htmlview .nota_red { background-color: #eee; border: 1px solid #888; @@ -418,7 +421,7 @@ div[x-node] > .uwaga { background-color: #ffcccc; } .htmlview .pe .annotation:hover { - background-color: #96e0e4;*/ + background-color: #96e0e4; } *.htmlview *.annotation-inline-box { position: static; @@ -604,6 +607,7 @@ div[x-node] > .uwaga { margin: 0px; padding: 0px; width: 100%; + min-width: 600px; /* for editing narrow elements */ height: 100%; z-index: 0; font-size: 10pt; @@ -675,3 +679,85 @@ div[x-node] > .uwaga { border:0; color: black; } + + +.htmlview .lista[data-wlf-typ="alfa"] +{ + list-style-type: lower-alpha; +} + +.htmlview .lista[data-wlf-typ="slowniczek"] +{ + list-style-type: none; +} + +.htmlview span.punkt { + display: list-item; + list-style-position: inside; +} + +.htmlview span.aktywnosc span.opis { + font-style: italic; +} +.htmlview span.aktywnosc span.opis p:before { + content: counter(aktywnosc) ". "; + counter-increment: aktywnosc; + font-weight: bold; +} + +.htmlview span.aktywnosc span.wskazowki { + font-style: italic; + color: #202020; +} + +.htmlview .pomoce, .htmlview .czas, .htmlview .forma { + display: block; +} +.htmlview .pomoce:before { content: "Pomoce: "; } +.htmlview .czas:before { content: "Czas: "; } +.htmlview .czas:after { content: " min"; } +.htmlview .forma:before { content: "Forma: "; } + +.htmlview .aktywnosc { + display: block; +} + +.htmlview .definiendum { + font-weight: bold; + display: block; +} + +.htmlview .definiens { + padding-left: 50px; +} + +.htmlview .link { + color: #990066; +} + +.htmlview .tabela { + display: table; +} + +.htmlview .wiersz { + display: table-row; +} + +.htmlview .kol { + min-width: 200px; + display: table-cell; + padding: 5px; +} + +.htmlview .kol span { + position: relative; +} + +.htmlview img.obraz { + max-width: 640px; +} + +.htmlview span.luka { + color: #808080; + text-decoration: underline; +} \ No newline at end of file