font-size

main
vitrinekast 8 months ago
parent 59ca8e232d
commit 717564a07b

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

Loading…
Cancel
Save