diff options
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | style.css | 16 |
2 files changed, 5 insertions, 13 deletions
diff --git a/index.html b/index.html index d794b77..b04e8b5 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ <li><a href="https://lib.andrewyu.org">Files</a></li> </ul> </div> - <div class="wrapper"> + <div id="main"> <div id="majornote"> <p>I'm currently messing around with my CSS. If you want to see a demonstration of a unusable website, come to the <a href="/lovely">test site</a>.</p> </div> diff --git a/style.css b/style.css index a0d8fa4..ad12669 100644 --- a/style.css +++ b/style.css @@ -17,19 +17,11 @@ body:active, div:active, p:active, h1:active, h2:active, h3:active, h4:active, h h1 { text-align: center; } -.wrapper { +#main { margin: auto; - /* display: flex; */ - /* flex-flow: row wrap; */ - /* flex-flow: row wrap; */ - /* justify-content: center; */ - /* align-items: flex-start; */ - /* align-content: flex-start; */ - /* height: calc(100vh); */ - /* gap: 3%; */ -} -.wrapper div { - min-width: 30ex; + columns: 6 50em; +} +#main div { max-width: 100ex; margin: auto; } |