1 /* Style widoku HTML. Nie należy tu ustawiać position ani marginesów */
5 font-family: "Georgia", "Times New Roman", serif;
7 padding: 3em 3em 3em 45px;
13 display: inline-block;
31 .htmlview[data-tag-names-visible] {
35 .htmlview *[x-node = 'RDF'][x-ns = 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'] {
53 // where is it used, if any?
56 text-decoration: none;
60 text-decoration: none;
69 overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
70 white-space: pre-wrap; /* css-3 */
71 white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
72 white-space: -pre-wrap; /* Opera 4-6 */
73 white-space: -o-pre-wrap; /* Opera 7 */ /*
75 word-wrap: break-word; /* Internet Explorer 5.5+ */
89 padding: 0.25em 0.7em;
93 .htmlview .anchor:hover, .htmlview .anchor:active {
95 background-color: #CCC;
98 /* =================== */
99 /* = Custom elements = */
100 /* =================== */
103 margin: 1.5em 0 0.5em auto;
107 .htmlview *[x-verse]:after {
111 .htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[x-a-wl-typ='1'] {
115 .htmlview .strofa .wers_wciety[x-a-wl-typ='2'], .htmlview .strofa .wers_cd {
119 .htmlview .strofa .wers_wciety[x-a-wl-typ='3'] {
123 .htmlview .strofa .wers_wciety[x-a-wl-typ='4'] {
127 .htmlview .strofa .wers_wciety[x-a-wl-typ='5'] {
131 .htmlview .strofa .wers_wciety[x-a-wl-typ='6'] {
136 .htmlview *:not([x-node='strofa']) > *[x-verse]::after {
137 content: "Ten wers znajduje się poza strofą.";
141 border: 1px solid black;
142 -moz-border-radius: 10px;
143 -webkit-border-radius: 10px;
146 vertical-align: super;
149 .htmlview .kwestia .strofa {
154 .htmlview div.ramka {
155 border: 1px darkgray solid;
159 .htmlview hr.sekcja_asterysk {
166 .htmlview div.lista_osob ol {
168 padding: 0 0 0 1.5em;
171 .htmlview .ilustr img {
175 .htmlview .parse-warning {
182 .parse-warning .message {
189 background-color: #96e0e4;
190 border: 1px solid black;
191 -moz-border-radius: 10px;
192 -webkit-border-radius: 10px;
204 div[x-node] > .uwaga {
210 border: 1px solid black;
213 .htmlview .uwaga:hover {
217 .htmlview .annotation-inline-box .uwaga {
222 /* ======================== */
223 /* = Footnotes and themes = */
224 /* ======================== */
225 .htmlview .begin, .htmlview .end {
229 .htmlview [x-node='motyw'] {
230 /* position: absolute; */
238 font-variant: normal;
240 text-transform: none;
241 text-decoration: none;
245 background-color: #fff;
246 /* border: 1px solid gray;
251 -moz-user-select: -moz-none;
252 -webkit-user-select: none;
263 .htmlview .noncanon {
267 .htmlview .motyw[x-editable] {
268 border-left: 4px solid #DDD;
269 padding: 0.2em 0.2em 0.2em 0.5em;
276 /* Znaczniki w tekście */
281 .htmlview .annotation:before {
282 content: "[" counter(main) "]";
283 counter-increment: main;
284 vertical-align: super;
285 text-decoration: none;
289 .htmlview .annotation:hover {
290 background-color: #ffcccc;
292 .htmlview .pe .annotation:hover {
293 background-color: #96e0e4;
295 *.htmlview *.annotation-inline-box {
303 .htmlview .annotation-inline-box,
304 .htmlview .reference-inline-box {
306 > span[x-annotation-box],
313 > span[x-annotation-box],
323 border: 1px solid black;
325 -moz-border-radius: 10px;
326 -webkit-border-radius: 10px;
328 text-decoration: none;
346 .htmlview *[x-editable] {
350 border: 1px solid transparent;
353 /* focused editable element */
354 .htmlview *[x-editable]:hover {
358 .htmlview *[x-editable][x-open] {
362 .html-editarea-toolbar {
364 justify-content: space-between;
371 .html-editarea-toolbar-left,
372 .html-editarea-toolbar-right {
377 font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
382 padding: 5px 5px 2px 5px;
383 background-color: #FAFAFA;
384 border: 1px solid #DDD;
388 background-color: #999;
402 .default-menu:hover {
407 .htmlview *[x-annotation-box] > .default-menu {
411 .htmlview *[x-editable][x-open] > .default-menu {
415 .htmlview *[x-editable][x-open] *[x-annotation-box] > .default-menu {
419 .htmlview *[x-editable] > .edit-menu {
423 .htmlview *[x-editable] *[x-annotation-box] > .edit-menu {
427 .htmlview *[x-editable][x-open] > .edit-menu {
431 .htmlview *[x-editable][x-open] *[x-annotation-box] > .edit-menu {
437 background-color: gray;
444 .html-editarea textarea {
453 font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
455 /* background-color: ivory;*/
458 .htmlview .out-of-flow-text {
460 font-family: monospace;
461 border: 2px solid red !important;
462 white-space: pre-line;
465 .htmlview .out-of-flow-text::before {
466 content: "Tekst w tej ramce nie jest otagowany!";
467 background-color: #ff6c6c;
471 border: 1px solid black;
472 -moz-border-radius: 10px;
473 -webkit-border-radius: 10px;
483 background-color: yellow;
486 border: 1px solid orange;
494 #specialCharsContainer {
499 background-color: gray;
506 #specialCharsContainer a {
511 #tableSpecialChars td input {
512 background-color: transparent;
517 #tableSpecialChars td input.recentSymbol {
518 background-color: white;
526 border: 3px solid transparent;
535 div[x-node="numeracja"] {
536 background: lightblue;
541 content: "Reset numeracji";
545 *[x-number]::before {
547 content: attr(x-number);