Type improvements
This commit is contained in:
parent
83a28b4929
commit
b90aca5a10
@ -337,6 +337,7 @@ h1 {
|
||||
font-style: normal;
|
||||
line-height: calc(var(--step-4) * 0.25 + var(--step-4));
|
||||
padding-bottom: var(--space-l);
|
||||
text-wrap: balance;
|
||||
}
|
||||
h2 {
|
||||
font-size: var(--step-2);
|
||||
@ -345,11 +346,15 @@ h2 {
|
||||
"wght" 350,
|
||||
"SOFT" 20,
|
||||
"WONK" 1;
|
||||
line-height: calc(var(--step-2) * 0.25 + var(--step-2));
|
||||
padding-bottom: var(--space-s);
|
||||
padding-top: var(--space-s);
|
||||
text-wrap: pretty;
|
||||
}
|
||||
h3 {
|
||||
font-size: var(--step-1);
|
||||
line-height: calc(var(--step-1) * 0.25 + var(--step-1));
|
||||
text-wrap: pretty;
|
||||
}
|
||||
.logo {
|
||||
filter: var(--logo-filter);
|
||||
@ -364,26 +369,19 @@ main > p > a > img {
|
||||
width: 100%;
|
||||
padding-top: var(--space-l);
|
||||
}
|
||||
.post > p,
|
||||
section > p {
|
||||
margin: 0;
|
||||
padding-bottom: var(--space-s);
|
||||
&:has(wc-card) {
|
||||
padding-bottom: 0;
|
||||
}
|
||||
}
|
||||
pre {
|
||||
grid-column: var(--span-grid);
|
||||
}
|
||||
p {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-block: 0 1lh;
|
||||
}
|
||||
p,
|
||||
li {
|
||||
font-size: var(--step-0);
|
||||
line-height: calc(var(--step-0) * 0.5 + var(--step-0));
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
th {
|
||||
font-variation-settings:
|
||||
"opsz" 25,
|
||||
@ -586,11 +584,11 @@ code {
|
||||
/* Footnotes */
|
||||
.footnotes-list {
|
||||
font-style: italic;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
margin-block: 1lh;
|
||||
> li,
|
||||
> li > p {
|
||||
font-size: var(--step--1);
|
||||
line-height: calc(var(--step--1) * 0.25 + var(--step--1));
|
||||
}
|
||||
}
|
||||
.footnote-item::marker {
|
||||
|
Loading…
x
Reference in New Issue
Block a user