1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-25 01:39:37 +01:00
deka-dom-el/docs/index.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;
}