diff --git a/voussoir.net/writing/dark.css b/voussoir.net/writing/dark.css index dcb78ea..f35f306 100644 --- a/voussoir.net/writing/dark.css +++ b/voussoir.net/writing/dark.css @@ -35,7 +35,6 @@ body article { - width: 90%; min-width: 10em; max-width: 70em; margin-left: auto; @@ -47,6 +46,30 @@ article background-color: var(--color_bodybg); } +@media screen and (min-width: 600px) +{ + article + { + width: 90%; + } +} + +@media screen and (max-width: 600px) +{ + article + { + width: 100%; + } + body > article:first-of-type + { + margin-top: 0; + } + body > article:last-of-type + { + margin-bottom: 0; + } +} + h1, h2, h3, h4, h5 { padding: 8px;