X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f7d8acded4a58d423035c5759f6dee9a34396959..f546c5d9a29f90988fa2785f3067aba3a5dc3d9a:/src/wolnelektury/static/2022/styles/layout/_text.scss?ds=sidebyside diff --git a/src/wolnelektury/static/2022/styles/layout/_text.scss b/src/wolnelektury/static/2022/styles/layout/_text.scss index 1c617c7ee..65bc48aef 100644 --- a/src/wolnelektury/static/2022/styles/layout/_text.scss +++ b/src/wolnelektury/static/2022/styles/layout/_text.scss @@ -293,7 +293,7 @@ h2 { h3, .subtitle2 { font-size: 1.5em; - margin: 1.5em 0 0; + margin: 1.5em 0 1em 0; font-weight: normal; line-height: 1.5em; } @@ -468,9 +468,13 @@ div.kwestia div.stanza { p.paragraph { text-align: justify; - margin: 0 0 0 44px; + margin: 0; text-indent: 1.5em; } +p.paragraph.werset { + text-indent: 0; + margin-bottom: 1em; +} .motto { text-align: justify; @@ -478,6 +482,17 @@ p.paragraph { margin: 1.5em 0 0; } +.paragraph { + &.miejsce_data, &.pozdrowienie, &.podpis { + text-align: right; + } + &.naglowek_listu { + text-align: center; + margin: .5em 0; + } +} + + p.motto_podpis { font-size: 0.875em; text-align: right; @@ -530,6 +545,9 @@ p.place-and-time { em.math, em.foreign-word, em.book-title, em.didaskalia { font-style: italic; } +em.foreign-word.foreign-word-protected { + font-style: normal; +} em.author-emphasis { letter-spacing: 0.1em; @@ -565,7 +583,7 @@ table.border td, table.border th { float: left; clear: left; font-size: .8em; - margin-left: 0; + margin-left: -40px; width: 36px; height: auto; padding: 2px; @@ -719,7 +737,11 @@ a.reference.interesting:after { font-size: 18px; font-style: normal; font-weight: 400; - line-height: 28px; /* 155.556% */ + line-height: 28px; /* 155.556% */ + + em.foreign-word.foreign-word-protected { + font-style: normal; + } } #footnote-link { @@ -738,7 +760,6 @@ a.reference.interesting:after { border-radius: 22px; background: white; box-shadow: 6px 6px 10px 0px rgba(0, 120, 128, 0.35); - overflow: hidden; &.copied { .content:after { @@ -753,9 +774,10 @@ a.reference.interesting:after { color: black; justify-content: center; align-items: center; + border-radius: 22px; } } - + .content { overflow: hidden; display: flex;