Merge branch 'master' of git@github.com:fnp/redakcja
[redakcja.git] / redakcja / static / css / html.css
index c0936cf..6f2552b 100644 (file)
     font-size: 0.875em;
 }
 
+.htmlview pre {
+       overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
+       white-space: pre-wrap; /* css-3 */
+       white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
+       white-space: -pre-wrap; /* Opera 4-6 */
+       white-space: -o-pre-wrap; /* Opera 7 */ /*
+       width: 99%; */
+       word-wrap: break-word; /* Internet Explorer 5.5+ */
+}
+
 /* ============= */
 /* = Numbering = */
 /* ============= */
@@ -354,6 +364,11 @@ div[x-node] > .uwaga {
     user-select: none;
     margin-right: -12em;
     text-align: left;
+    color: #999;
+}
+
+.htmlview .canon {
+    color: black;
 }
 
 .htmlview .noncanon {
@@ -395,6 +410,11 @@ div[x-node] > .uwaga {
 /*
  * Przypisy w tekÅ›cie
  */
+.htmlview .annotation-inline-box:hover > span[x-annotation-box]{
+    display: block;
+}
+
 .htmlview .annotation-inline-box > span[x-annotation-box] {
     display: none;
     position: absolute;