X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/dd84c95ada6ae106a819b278d542adf0ccc72f21..bbc3c64053f2e93c49f133bf8fc1243e470ef5e8:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 8c381063..d7f2a7a1 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; @@ -604,6 +604,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; @@ -695,6 +696,12 @@ div[x-node] > .uwaga { .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; @@ -706,7 +713,7 @@ div[x-node] > .uwaga { .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; @@ -725,6 +732,29 @@ div[x-node] > .uwaga { color: #990066; } -.htmlview .kol div { +.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