X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2FaboutReader.css;h=84a4657456551dde061f0a111ec303394abc3a90;hp=8121e5f9de6649ab361fd693f985e7ca18b471fc;hb=dae4507500ac2bc6547a8303851bc9b0bcae5ddf;hpb=781d1b79486cf2b5ee940009b7c15a546108c48f diff --git a/LCARStrek/global/aboutReader.css b/LCARStrek/global/aboutReader.css index 8121e5f9..84a46574 100644 --- a/LCARStrek/global/aboutReader.css +++ b/LCARStrek/global/aboutReader.css @@ -9,9 +9,22 @@ body { @media (max-width: 785px) { body { padding-top: 64px; - -moz-padding-end: 0; + padding-inline-end: 0; padding-bottom: 64px; - -moz-padding-start: 51px; + padding-inline-start: 51px; + } +} + +@media print { + #container { + max-width: 100% !important; + font-size: 14px !important; + font-family: Georgia, "Times New Roman", serif !important; + } + + body { + padding-top: 0px; + padding-bottom: 0px; } } @@ -93,6 +106,42 @@ body.serif .remove-button { font-size: 28px; } +#container.content-width1 { + max-width: 20em; +} + +#container.content-width2 { + max-width: 25em; +} + +#container.content-width3 { + max-width: 30em; +} + +#container.content-width4 { + max-width: 35em; +} + +#container.content-width5 { + max-width: 40em; +} + +#container.content-width6 { + max-width: 45em; +} + +#container.content-width7 { + max-width: 50em; +} + +#container.content-width8 { + max-width: 55em; +} + +#container.content-width9 { + max-width: 60em; +} + /* Override some controls and content styles based on color scheme */ body.light > .container > .header > .domain { @@ -112,13 +161,27 @@ body.sepia > .container > .footer { } body.light blockquote { - -moz-border-start: 2px solid #333333 !important; + border-inline-start: 2px solid #333333 !important; } body.sepia blockquote { - -moz-border-start: 2px solid #5b4636 !important; + border-inline-start: 2px solid #5b4636 !important; } body.dark blockquote { - -moz-border-start: 2px solid #eeeeee !important; + border-inline-start: 2px solid #eeeeee !important; +} + +/* Add toolbar transition base on loaded class */ + +body.loaded .toolbar { + transition: transform 0.3s ease-out; +} + +body:not(.loaded) .toolbar:-moz-locale-dir(ltr) { + transform: translateX(-100%); +} + +body:not(.loaded) .toolbar:-moz-locale-dir(rtl) { + transform: translateX(100%); }