X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1b80c204be885588f7cbe95610e3677f2f886801..e5d57128eefe920b64600c33587de0ef1a51d97d:/src/wolnelektury/static/css/new.book.css diff --git a/src/wolnelektury/static/css/new.book.css b/src/wolnelektury/static/css/new.book.css index 38df87c21..e3ad09193 100644 --- a/src/wolnelektury/static/css/new.book.css +++ b/src/wolnelektury/static/css/new.book.css @@ -1,6 +1,8 @@ +@import url('https://fonts.googleapis.com/css2?family=Gelasio:ital,wght@0,400;0,700;1,400;1,700&display=swap'); + body { font-size: 16px; - font-family: Georgia, "Times New Roman", serif; + font-family: Gelasio, Georgia, "Times New Roman", serif; line-height: 1.5em; margin: 0; } @@ -14,34 +16,39 @@ img { max-width: 37.5rem; margin-top: 1em; } +.animacja { + margin-top: 1em; +} +.animacja img { + margin-top: 0; +} /* ================================== */ /* = Header with logo and menu = */ /* ================================== */ -#toc ol, #themes ol, #objects ol { +#wltoc ol, #themes ol, #objects ol { list-style: none; padding: 0; margin: 0; } - -#toc ol li { - font-weight: bold; +#wltoc ol { + padding-left: 1.5em; } -#toc ol ol { +#wltoc ol ol { padding: 0 0 1.5em 1.5em; margin: 0; } -#toc ol ol li { +#wltoc ol ol li { font-weight: normal; } -#toc h2 { +#wltoc h2 { display: none; } -#toc .anchor { +#wltoc .anchor { float: none; margin: 0; color: blue; @@ -76,19 +83,23 @@ h2 { line-height: 1.5em; } -h3 { +h3, .subtitle2 { font-size: 1.5em; margin: 1.5em 0 0; font-weight: normal; line-height: 1.5em; } -h4 { +h4, .subtitle3 { font-size: 1em; margin: 1.5em 0 0; line-height: 1.5em; } +.subtitle4 { + font-weight: bold; +} + p { margin: 0; }