diff --git a/dev.css b/dev.css index 6efd013..d641ea0 100644 --- a/dev.css +++ b/dev.css @@ -49,7 +49,6 @@ /* 3. css reset */ /* modified from https://www.joshwcomeau.com/css/custom-css-reset */ - *, *::before, *::after { @@ -86,6 +85,7 @@ h6 { p { text-wrap: pretty; } + h1, h2, h3, @@ -213,7 +213,6 @@ mark { } /* 6. document */ - body { max-width: 48rem; margin: 1rem auto 0; @@ -315,9 +314,11 @@ article > *:last-child { position: absolute; width: 16rem; } + aside:nth-child(even) { left: calc(50% - ((48rem) / 2) - (16rem)); } + aside:nth-child(odd) { right: calc(50% - ((48rem) / 2) - (16rem)); }