X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/0c16061e3b790f05db393963620832629ddd225a..c076154f1220c417c4cd17d178d5f94c5c88d83b:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index edf7988b..0cfe002e 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -1,6 +1,7 @@ /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */ .htmlview { counter-reset: main; + counter-reset: aktywnosc; font-size: 16px; font-family: "Georgia", "Times New Roman", serif; line-height: 1.5em; @@ -676,28 +677,13 @@ div[x-node] > .uwaga { color: black; } -/* XXX */ -body { - counter-reset: listanum; -} - -.htmlview span.lista[data-wlf-typ="num"] -{ - counter-reset: listanum; - list-style-type: none; - list-style-position: inside; -} -.htmlview span.lista[data-wlf-typ="num"] .punkt:before { - counter-increment:listanum; - content: counter(listanum) ". "; -} -.htmlview span.lista[data-wlf-typ="punk"] +.htmlview .lista[data-wlf-typ="alfa"] { - list-style-type: disc; + list-style-type: lower-alpha; } -.htmlview span.lista[data-wlf-typ="slowniczek"] +.htmlview .lista[data-wlf-typ="slowniczek"] { list-style-type: none; } @@ -710,6 +696,12 @@ body { .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; @@ -721,11 +713,10 @@ body { .htmlview .pomoce:before { content: "Pomoce: "; } .htmlview .czas:before { content: "Czas: "; } .htmlview .czas:after { content: " min"; } -.htmlview .forma:before { content: "Forma:"; } +.htmlview .forma:before { content: "Forma: "; } .htmlview .aktywnosc { display: block; - border: 1px dotted #996600; } .htmlview .definiendum { @@ -740,3 +731,16 @@ body { .htmlview .link { color: #990066; } + +.htmlview .kol div { + position: relative; +} + +.htmlview img.obraz { + max-width: 640px; +} + +.htmlview span.luka { + color: #808080; + text-decoration: underline; +} \ No newline at end of file