X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/c076154f1220c417c4cd17d178d5f94c5c88d83b..159bc5a8e7f986801f37a8d31debef4d3378094c:/redakcja/static/css/html.css diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 0cfe002e..754a7f02 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -1,7 +1,6 @@ /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */ .htmlview { - counter-reset: main; - counter-reset: aktywnosc; + counter-reset: main aktywnosc; font-size: 16px; font-family: "Georgia", "Times New Roman", serif; line-height: 1.5em; @@ -199,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; @@ -249,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; @@ -419,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; @@ -605,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; @@ -732,7 +735,21 @@ 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; }