more style and style sample page wip
This commit is contained in:
parent
02c80ce9dd
commit
97032c1593
4 changed files with 88 additions and 15 deletions
|
@ -149,7 +149,7 @@
|
|||
}
|
||||
|
||||
:root {
|
||||
--base-font-size: 1.25rem;
|
||||
--base-font-size: 16pt;
|
||||
}
|
||||
|
||||
/* Setting the line height here apparently stops "normal" from varying
|
||||
|
@ -184,33 +184,36 @@ h6 {
|
|||
line-height: var(--ui-spacing);
|
||||
}
|
||||
|
||||
:root {
|
||||
--head-mult: 0.88; /* This is pairwise fixed. */
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin-block: 0.67em;
|
||||
font-size: calc(2.22 * var(--base-font-size));
|
||||
font-size: calc(2.3 * var(--base-font-size) * var(--head-mult));
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: calc(1.8 * var(--base-font-size));
|
||||
font-size: calc(1.8 * var(--base-font-size) * var(--head-mult));
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: calc(1.6 * var(--base-font-size));
|
||||
font-size: calc(1.6 * var(--base-font-size) * var(--head-mult));
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: calc(1.4 * var(--base-font-size));
|
||||
font-size: calc(1.4 * var(--base-font-size) * var(--head-mult));
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: calc(1.2 * var(--base-font-size));
|
||||
font-size: calc(1.2 * var(--base-font-size) * var(--head-mult));
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: calc(1.0 * var(--base-font-size))
|
||||
font-size: calc(1.0 * var(--base-font-size * var(--head-mult)))
|
||||
}
|
||||
|
||||
code, pre code {
|
||||
font-family: "Mono";
|
||||
font-size: calc(0.84 * var(--base-font-size));
|
||||
/* font-weight: bold; */
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue