mirror of
https://github.com/jaandrle/deka-dom-el
synced 2024-11-24 17:39:36 +01:00
21 lines
391 B
CSS
21 lines
391 B
CSS
:root {
|
|
color-scheme: dark light;
|
|
--body-max-width: 45rem;
|
|
}
|
|
*, ::before, ::after { box-sizing: border-box; }
|
|
body > * {
|
|
margin-inline: max(.5rem, calc(50% - var(--body-max-width) / 2));
|
|
font-family: Tahoma, Verdana, Arial, sans-serif;
|
|
}
|
|
h1{
|
|
text-align: center;
|
|
text-wrap: balanc;
|
|
}
|
|
.note{
|
|
font-size: .9rem;
|
|
font-style: italic;
|
|
}
|
|
.example{
|
|
--body-max-width: 80rem;
|
|
height: 25rem;
|
|
} |