some font changes
This commit is contained in:
parent
66af302e2d
commit
2e5936de94
81 changed files with 366 additions and 114 deletions
|
@ -1,23 +1,68 @@
|
|||
@import url(fonts.css);
|
||||
|
||||
:root {
|
||||
--base-font-size: 1.1rem;
|
||||
}
|
||||
|
||||
body {
|
||||
font-size: var(--base-font-size);
|
||||
}
|
||||
|
||||
.font-body-serif body {
|
||||
font-family: "BodySerif", serif;
|
||||
font-family: "BodySerif", sans-serif;
|
||||
}
|
||||
|
||||
.font-body-sans body {
|
||||
font-family: "BodySans", sans-serif;
|
||||
font-family: "BodySans", serif;
|
||||
}
|
||||
|
||||
h1, h2, h3, h4, h5, h6 {
|
||||
font-family: "Heading";
|
||||
h1 {
|
||||
font-family: "Subheading";
|
||||
}
|
||||
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: "Subheading";
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: calc(2.1 * var(--base-font-size));
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.8 * var(--base-font-size));
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.6 * var(--base-font-size));
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.4 * var(--base-font-size));
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: calc(1.2 * var(--base-font-size));
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: calc(1.0 * var(--base-font-size))
|
||||
}
|
||||
|
||||
code {
|
||||
font-family: "Mono";
|
||||
font-size: calc(0.9 * var(--base-font-size));
|
||||
}
|
||||
|
||||
code:not(pre code) {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
max-width: 800px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue