From 262e5b840d45e85c7ccee6d92baed937ee545a65 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 24 Jul 2017 14:55:03 +0200 Subject: [PATCH] cleanup css --- redakcja/static/css/html.css | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/redakcja/static/css/html.css b/redakcja/static/css/html.css index 0d43611b..1fc28b76 100644 --- a/redakcja/static/css/html.css +++ b/redakcja/static/css/html.css @@ -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; } @@ -111,7 +110,6 @@ 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+ */ @@ -122,7 +120,7 @@ /* ============= */ .htmlview .anchor { position: relative; - margin: 0em; + margin: 0; left: -2.2em; color: #777; font-size: 12px; @@ -198,8 +196,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; @@ -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; -- 2.20.1