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 text-decoration: none;
57 text-decoration: none;
60 .htmlview .nazwa_utworu {
68 .htmlview .autor_utworu,
69 .htmlview .dzielo_nadrzedne,
70 .htmlview .naglowek_czesc,
72 .htmlview .naglowek_akt
81 .htmlview .naglowek_scena,
82 .htmlview .naglowek_rozdzial
90 .htmlview .naglowek_podrozdzial,
91 .htmlview .naglowek_osoba
103 .htmlview #footnotes div {
107 .htmlview #footnotes p {
112 .htmlview blockquote {
117 overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
118 white-space: pre-wrap; /* css-3 */
119 white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
120 white-space: -pre-wrap; /* Opera 4-6 */
121 white-space: -o-pre-wrap; /* Opera 7 */ /*
123 word-wrap: break-word; /* Internet Explorer 5.5+ */
137 padding: 0.25em 0.7em;
141 .htmlview .anchor:hover, .htmlview .anchor:active {
143 background-color: #CCC;
146 /* =================== */
147 /* = Custom elements = */
148 /* =================== */
149 .htmlview .autor_utwor {
153 margin-bottom: 0.25em;
156 .htmlview .dzielo_nadrzedne {
160 .htmlview .podtytul {
164 .htmlview .didaskalia {
166 margin: 0.5em 0 0 1.5em;
174 margin: 1.5em 0 0.5em auto;
178 .htmlview *[x-verse]:after {
182 .htmlview .strofa .wers_wciety, .htmlview .strofa .wers_wciety[data-wlf-typ='1'] {
186 .htmlview .strofa .wers_wciety[data-wlf-typ='2'], .htmlview .strofa .wers_cd {
190 .htmlview .strofa .wers_wciety[data-wlf-typ='3'] {
194 .htmlview .strofa .wers_wciety[data-wlf-typ='4'] {
198 .htmlview .strofa .wers_wciety[data-wlf-typ='5'] {
202 .htmlview .strofa .wers_wciety[data-wlf-typ='6'] {
206 .htmlview .strofa .wers_do_prawej {
211 .htmlview *:not(.strofa) > *[x-verse]::after {
212 content: "Ten wers znajduje się poza strofą.";
216 border: 1px solid black;
217 -moz-border-radius: 10px;
218 -webkit-border-radius: 10px;
221 vertical-align: super;
224 .htmlview .kwestia .strofa {
228 .htmlview .akap, .htmlview .akap_cd, .htmlview .akap_dialog {
233 .htmlview .motto_container {
234 display: inline-block;
244 .htmlview p.motto_podpis {
250 .htmlview div.fragment {
251 border-bottom: 0.1em solid #999;
252 padding-bottom: 1.5em;
255 .htmlview div.nota p, .htmlview div.dedykacja p {
260 .htmlview div.ramka {
261 border: 1px darkgray solid;
264 .htmlview .nota_red {
265 background-color: #eee;
266 border: 1px solid #888;
267 -moz-border-radius: 10px;
268 -webkit-border-radius: 10px;
270 padding: 0 1em 1em 1em;
273 .htmlview hr.sekcja_swiatlo {
278 .htmlview hr.separator_linia {
281 border-bottom: 0.1em solid #000;
284 .htmlview hr.sekcja_asterysk {
291 .htmlview hr.sekcja_asterysk:after {
295 .htmlview div.lista_osob ol {
297 padding: 0 0 0 1.5em;
300 .htmlview p.miejsce_czas {
304 .htmlview .mat, .htmlview .slowo_obce, .htmlview .tytul_dziela, .htmlview .didaskalia {
309 .htmlview .indeks_dolny {
317 // letter-spacing: 0.1em;
319 border: 1px solid #0f0;
323 border: 1px solid #88f;
327 border: 1px solid #f8f;
334 font-variant: small-caps;
337 .htmlview em.wieksze_odstepy {
342 .htmlview .ilustr img {
346 .htmlview .parse-warning {
353 .parse-warning .message {
360 background-color: #96e0e4;
361 border: 1px solid black;
362 -moz-border-radius: 10px;
363 -webkit-border-radius: 10px;
375 div[x-node] > .uwaga {
381 border: 1px solid black;
384 .htmlview .uwaga:hover {
388 .htmlview .annotation-inline-box .uwaga {
393 /* ======================== */
394 /* = Footnotes and themes = */
395 /* ======================== */
396 .htmlview .begin, .htmlview .end {
401 /* position: absolute; */
409 font-variant: normal;
411 text-transform: none;
412 text-decoration: none;
416 background-color: #fff;
417 /* border: 1px solid gray;
422 -moz-user-select: -moz-none;
423 -webkit-user-select: none;
434 .htmlview .noncanon {
438 .htmlview .motyw[x-editable] {
439 border-left: 4px solid #DDD;
440 padding: 0.2em 0.2em 0.2em 0.5em;
447 /* Znaczniki w tekście */
452 .htmlview .annotation:before {
453 content: "[" counter(main) "]";
454 counter-increment: main;
455 vertical-align: super;
456 text-decoration: none;
460 .htmlview .annotation:hover {
461 background-color: #ffcccc;
463 .htmlview .pe .annotation:hover {
464 background-color: #96e0e4;
466 *.htmlview *.annotation-inline-box {
474 .htmlview .annotation-inline-box:hover > span[x-annotation-box]{
478 .htmlview .annotation-inline-box > span[x-annotation-box] {
486 border: 1px solid black;
488 -moz-border-radius: 10px;
489 -webkit-border-radius: 10px;
491 text-decoration: none;
496 * Przypisy na końcu utworu (aktualnie nieuzywane)
498 .htmlview .annotations-block {
499 counter-reset: secondary;
502 .htmlview .annotations-block .annotation-body {
508 .htmlview .annotations-block .annotation-backref {
516 .htmlview .annotations-block .annotation-backref:before {
517 content: "[" counter(secondary) "]";
518 counter-increment: secondary;
524 .htmlview *[x-editable] {
528 border: 1px solid transparent;
531 /* focused editable element */
532 .htmlview *[x-editable]:hover {
536 .htmlview *[x-editable][x-open] {
540 .edit-button, .delete-button, .accept-button, .tytul-button, .wyroznienie-button, .slowo-button, .znak-button {
541 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";
550 /* margin: 4px 0 2px 0;*/
551 padding: 5px 5px 2px 5px;
552 background-color: #FAFAFA;
557 border: 1px solid #DDD;
570 .wyroznienie-button {
583 .edit-button:hover, .edit-button:active,
584 .delete-button:hover, .delete-button:active,
585 .accept-button:hover, .accept-button:active,
586 .tytul-button:hover, .tytul-button:active,
587 .wyroznienie-button:hover, .wyroznienie-button:active,
588 .slowo-button:hover, .slowo-button:active,
589 .znak-button:hover, .znak-button:active {
591 background-color: #999;
603 .default-menu:hover {
608 .htmlview *[x-annotation-box] > .default-menu {
612 .htmlview *[x-editable][x-open] > .default-menu {
616 .htmlview *[x-editable][x-open] *[x-annotation-box] > .default-menu {
620 .htmlview *[x-editable] > .edit-menu {
624 .htmlview *[x-editable] *[x-annotation-box] > .edit-menu {
628 .htmlview *[x-editable][x-open] > .edit-menu {
632 .htmlview *[x-editable][x-open] *[x-annotation-box] > .edit-menu {
638 background-color: gray;
645 .html-editarea textarea {
654 font-family: SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
656 /* background-color: ivory;*/
659 .htmlview .out-of-flow-text {
661 font-family: monospace;
662 border: 2px solid red !important;
663 white-space: pre-line;
666 .htmlview .out-of-flow-text::before {
667 content: "Tekst w tej ramce nie jest otagowany!";
668 background-color: #ff6c6c;
672 border: 1px solid black;
673 -moz-border-radius: 10px;
674 -webkit-border-radius: 10px;
684 background-color: yellow;
687 border: 1px solid orange;
695 #specialCharsContainer {
700 background-color: gray;
707 #specialCharsContainer a {
712 #tableSpecialChars td input {
713 background-color: transparent;
718 #tableSpecialChars td input.recentSymbol {
719 background-color: white;