[M ((Fixes and CSS styling
[redakcja.git] / redakcja / static / css / html.css
index 91868e3..e8fab4d 100644 (file)
@@ -37,7 +37,7 @@
  -webkit-border-radius: 4px;
  }
  */
-.htmlview *[x-node = 'RDF'] {
+.htmlview *[x-node = 'RDF'][x-ns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'] {
     display: none;
 }
 
 }
 
 /* wersy */
+.htmlview *[x-verse]:after {
+    content: "\feff";
+}
+
 .htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] {
     margin-left: 1em;
 }
@@ -253,9 +257,9 @@ not(.strofa) > *[x-verse]::after {
     padding: 0 1em 1em 1em;
 }
 
-.htmlview br.sekcja_swiatlo {
-    height: 3em;
-    /* visibility: hidden; */
+.htmlview hr.sekcja_swiatlo {
+    margin: 2em 0;
+    visibility: hidden;
 }
 
 .htmlview hr.separator_linia {
@@ -270,6 +274,10 @@ not(.strofa) > *[x-verse]::after {
     text-align: center;
 }
 
+.htmlview p.sekcja_asterysk:after {
+    content: "*";
+}
+
 .htmlview div.lista_osob ol {
     list-style: none;
     padding: 0 0 0 1.5em;
@@ -667,3 +675,64 @@ div[x-node] > .uwaga {
     border:0;
     color: black;
 } 
+
+/* XXX */
+body {
+    counter-reset: listanum;
+}
+
+.htmlview span.lista[data-wlf-typ="num"] 
+{
+    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"] 
+{
+    list-style-type: disc;
+}
+
+.htmlview span.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.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;
+    border: 1px dotted #996600;
+}
+
+.htmlview .definiendum {
+    font-weight: bold;
+    display: block;
+}
+
+.htmlview .definiens {
+    padding-left: 50px;
+}
+