fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
take literary director from settings, not hardcoded
[redakcja.git]
/
redakcja
/
static
/
css
/
html.css
diff --git
a/redakcja/static/css/html.css
b/redakcja/static/css/html.css
index
3255d75
..
3b99681
100644
(file)
--- 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;
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-y: scroll;
overflow-x: auto;
}
@@
-37,7
+36,7
@@
-webkit-border-radius: 4px;
}
*/
-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;
}
display: none;
}
@@
-122,7
+121,7
@@
/* ============= */
.htmlview .anchor {
position: relative;
/* ============= */
.htmlview .anchor {
position: relative;
- margin: 0
em
;
+ margin: 0;
left: -2.2em;
color: #777;
font-size: 12px;
left: -2.2em;
color: #777;
font-size: 12px;
@@
-197,9
+196,12
@@
margin-left: 6em;
}
margin-left: 6em;
}
+.htmlview .strofa .wers_do_prawej {
+ text-align: right;
+}
+
/* błędne wersy */
/* 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;
content: "Ten wers znajduje się poza strofą.";
display: inline;
background: red;
@@
-248,6
+250,10
@@
not(.strofa) > *[x-verse]::after {
font-style: italic;
}
font-style: italic;
}
+.htmlview div.ramka {
+ border: 1px darkgray solid;
+}
+
.htmlview .nota_red {
background-color: #eee;
border: 1px solid #888;
.htmlview .nota_red {
background-color: #eee;
border: 1px solid #888;
@@
-300,6
+306,11
@@
not(.strofa) > *[x-verse]::after {
font-variant: small-caps;
}
font-variant: small-caps;
}
+.htmlview em.wieksze_odstepy {
+ font-style: normal;
+ word-spacing: 1em;
+}
+
.htmlview .parse-warning {
display: block;
font-size: 10pt;
.htmlview .parse-warning {
display: block;
font-size: 10pt;
@@
-418,7
+429,7
@@
div[x-node] > .uwaga {
background-color: #ffcccc;
}
.htmlview .pe .annotation:hover {
background-color: #ffcccc;
}
.htmlview .pe .annotation:hover {
- background-color: #96e0e4;
*/
+ background-color: #96e0e4;
}
*.htmlview *.annotation-inline-box {
position: static;
}
*.htmlview *.annotation-inline-box {
position: static;
@@
-440,9
+451,7
@@
div[x-node] > .uwaga {
font-weight: normal;
font-style: normal;
background: #fffe93;
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;
border-radius: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
@@
-505,7
+514,6
@@
div[x-node] > .uwaga {
display: block;
/* margin: 4px 0 2px 0;*/
padding: 5px 5px 2px 5px;
display: block;
/* margin: 4px 0 2px 0;*/
padding: 5px 5px 2px 5px;
- border: none;
background-color: #FAFAFA;
/* z-index: 3000;*/
/* color: #FFF;
background-color: #FAFAFA;
/* z-index: 3000;*/
/* color: #FFF;
@@
-591,7
+599,7
@@
div[x-node] > .uwaga {
}
.html-editarea {
}
.html-editarea {
- border: 0
px
;
+ border: 0;
background-color: gray;
padding: 1px;
z-index: 2000;
background-color: gray;
padding: 1px;
z-index: 2000;
@@
-601,8
+609,8
@@
div[x-node] > .uwaga {
.html-editarea textarea {
position: absolute;
top: 0;
.html-editarea textarea {
position: absolute;
top: 0;
- margin: 0
px
;
- padding: 0
px
;
+ margin: 0;
+ padding: 0;
width: 100%;
height: 100%;
z-index: 0;
width: 100%;
height: 100%;
z-index: 0;
@@
-612,7
+620,7
@@
div[x-node] > .uwaga {
.htmlview .out-of-flow-text {
display: block;
.htmlview .out-of-flow-text {
display: block;
- font-fa
ce
: monospace;
+ font-fa
mily
: monospace;
border: 2px solid red !important;
white-space: pre-line;
}
border: 2px solid red !important;
white-space: pre-line;
}
@@
-627,8
+635,7
@@
div[x-node] > .uwaga {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
padding: 5px 1em;
-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;
text-align: justify;
display: inline;
float: right;