From 717564a07b413dbf94a7cdf5fe2dc951116b0fa7 Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 26 Mar 2024 16:45:40 +0100 Subject: [PATCH] font-size --- print.css | 142 ++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 117 insertions(+), 25 deletions(-) diff --git a/print.css b/print.css index 8e85500..4e71f92 100644 --- a/print.css +++ b/print.css @@ -2,13 +2,87 @@ @page { margin: 10px; } -html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, -blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, -ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, -fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, figure, figcaption, footer, header, -hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, ol, -ul, li, dl, dt, dd { +html, +body, +div, +span, +applet, +object, +iframe, +h1, +h2, +h3, +h4, +h5, +h6, +p, +blockquote, +pre, +a, +abbr, +acronym, +address, +big, +cite, +code, +del, +dfn, +em, +img, +ins, +kbd, +q, +s, +samp, +small, +strike, +strong, +sub, +sup, +tt, +var, +b, +u, +i, +center, +fieldset, +form, +label, +legend, +table, +caption, +tbody, +tfoot, +thead, +tr, +th, +td, +article, +aside, +canvas, +details, +embed, +figure, +figcaption, +footer, +header, +hgroup, +menu, +nav, +output, +ruby, +section, +summary, +time, +mark, +audio, +video, +ol, +ul, +li, +dl, +dt, +dd { margin: 0; padding: 0; border: 0; @@ -27,7 +101,8 @@ p { widows: 2; orphans: 2; } -a, a:visited { +a, +a:visited { color: #1a1a1a; } img { @@ -67,7 +142,12 @@ h5 { h6 { font-size: 1em; } -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { text-indent: 0; text-align: left; font-weight: bold; @@ -75,17 +155,19 @@ h1, h2, h3, h4, h5, h6 { page-break-inside: avoid; } -ol, ul { +ol, +ul { margin: 1em 0 0 1.7em; } -li > ol, li > ul { +li > ol, +li > ul { margin-top: 0; } blockquote { margin: 1em 0 1em 1.7em; } code { - font-family: Menlo, Monaco, 'Lucida Console', Consolas, monospace; + font-family: Menlo, Monaco, "Lucida Console", Consolas, monospace; font-size: 85%; margin: 0; hyphens: manual; @@ -124,7 +206,8 @@ tbody { border-top: 1px solid #1a1a1a; border-bottom: 1px solid #1a1a1a; } -th, td { +th, +td { padding: 0.25em 0.5em 0.25em 0.5em; } th { @@ -188,15 +271,20 @@ ul.task-list li input[type="checkbox"] { } /* For title, author, and date on the cover page */ -h1.title { } -p.author { } -p.date { } +h1.title { +} +p.author { +} +p.date { +} -nav#toc ol, nav#landmarks ol { +nav#toc ol, +nav#landmarks ol { padding: 0; margin-left: 1em; } -nav#toc ol li, nav#landmarks ol li { +nav#toc ol li, +nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; @@ -204,16 +292,20 @@ nav#toc ol li, nav#landmarks ol li { a.footnote-ref { vertical-align: super; } -em, em em em, em em em em em { +em, +em em em, +em em em em em { font-style: italic; } -em em, em em em em { +em em, +em em em em { font-style: normal; } q { quotes: "“" "”" "‘" "’"; } -@media screen { /* Workaround for iBooks issue; see #6242 */ +@media screen { + /* Workaround for iBooks issue; see #6242 */ .sourceCode { overflow: visible !important; white-space: pre-wrap !important; @@ -243,8 +335,8 @@ body { } article { - margin: 1em .5em; - page-break-after: always; + margin: 1em 0.5em; + page-break-after: always; } ul { @@ -280,8 +372,8 @@ h6 { text-justify: none; font-size: 0.2em; } -p{ +p { margin-bottom: 1em; font-family: "CascadiaCode VTT"; - font-size: 5em; + font-size: 1em; }