This commit is contained in:
Marc Beninca 2025-02-17 22:00:27 +01:00
parent 5308fb054b
commit 8d04ea7501
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,6 @@
:root {
--margin: .5rem;
}
:root {
--anchor-background: #bbb;
--anchor-text: #f00;
@ -60,9 +63,10 @@ html {
body {
background-color: var(--body-background);
color: var(--body-text);
margin-block-start: .5em;
margin-block-start: var(--margin);
margin-inline: auto;
max-inline-size: 108ch;
min-block-size: calc(100svh - var(--margin));
}
a:hover, h2, h3, header {

View file

@ -14,8 +14,16 @@ html {
}
body {
hanging-punctuation: first last;
min-block-size: 100svh;
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
}
figcaption,
li,
p {
text-wrap: pretty;
}