1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-25 09:49:36 +01:00
deka-dom-el/docs/index.css

21 lines
391 B
CSS
Raw Normal View History

2023-09-26 16:02:10 +02:00
:root {
color-scheme: dark light;
--body-max-width: 40rem;
}
*, ::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: 20rem;
}