cleanup css
authorJan Szejko <janek37@gmail.com>
Mon, 24 Jul 2017 12:55:03 +0000 (14:55 +0200)
committerJan Szejko <janek37@gmail.com>
Mon, 24 Jul 2017 12:55:03 +0000 (14:55 +0200)
redakcja/static/css/html.css

index 0d43611..1fc28b7 100644 (file)
@@ -4,8 +4,7 @@
     font-size: 16px;
     font-family: "Georgia", "Times New Roman", serif;
     line-height: 1.5em;
-    padding: 3em;
-    padding-left: 45px;
+    padding: 3em 3em 3em 45px;
     overflow-y: scroll;
     overflow-x: auto;
 }
        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+ */
 /* ============= */
 .htmlview .anchor {
     position: relative;
-    margin: 0em;
+    margin: 0;
     left: -2.2em;
     color: #777;
     font-size: 12px;
 }
 
 /* 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;
@@ -418,7 +415,7 @@ div[x-node] > .uwaga {
     background-color: #ffcccc;
 }
 .htmlview .pe .annotation:hover {
-    background-color: #96e0e4;*/
+    background-color: #96e0e4;
 }
 *.htmlview *.annotation-inline-box {
     position: static;
@@ -440,9 +437,7 @@ div[x-node] > .uwaga {
     font-weight: normal;
     font-style: normal;
     background: #fffe93;
-    border-color: black;
-    border-width: 1px;
-    border-style: solid;
+    border: 1px solid black;
     border-radius: 10px;
     -moz-border-radius: 10px;
     -webkit-border-radius: 10px;
@@ -505,7 +500,6 @@ div[x-node] > .uwaga {
     display: block;
     /*    margin: 4px 0 2px 0;*/
     padding: 5px 5px 2px 5px;
-    border: none;
     background-color: #FAFAFA;
     /*    z-index: 3000;*/
     /*    color: #FFF;
@@ -591,7 +585,7 @@ div[x-node] > .uwaga {
 }
 
 .html-editarea {
-    border: 0px;
+    border: 0;
     background-color: gray;
     padding: 1px;
     z-index: 2000;
@@ -601,8 +595,8 @@ div[x-node] > .uwaga {
 .html-editarea textarea {
     position: absolute;
     top: 0;
-    margin: 0px;
-    padding: 0px;
+    margin: 0;
+    padding: 0;
     width: 100%;
     height: 100%;
     z-index: 0;
@@ -612,7 +606,7 @@ div[x-node] > .uwaga {
 
 .htmlview .out-of-flow-text {
     display: block;
-    font-face: monospace;
+    font-family: monospace;
     border: 2px solid red !important;
     white-space: pre-line;
 }
@@ -627,8 +621,7 @@ div[x-node] > .uwaga {
     -moz-border-radius: 10px;
     -webkit-border-radius: 10px;
     padding: 5px 1em;
-    margin: 0em;
-    margin-left: 1em;
+    margin: 0 0 0 1em;
     text-align: justify;
     display: inline;
     float: right;