From: m712 Date: Wed, 24 Feb 2016 10:21:58 +0000 (+0200) Subject: Article centered X-Git-Url: https://jfr.im/git/irc/freenode/web-7.0.git/commitdiff_plain/4f236e86fc4edaeb962da3fe22744747b76295ce?ds=sidebyside Article centered --- diff --git a/static/css/style.css b/static/css/style.css index d8750c007..4e3cb2292 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -13,6 +13,7 @@ --border-color: #292f2f; --box-hover-color: #ddd; --box-round: 10px; + --max-width: 800px; } /* reset css for browser compat */ @@ -95,8 +96,9 @@ a.nav-light { } .main { - margin: 0 .75em; + margin: 0 auto; margin-top: .75em; + max-width: var(--max-width); } .main h1, @@ -397,6 +399,10 @@ a.hchild:hover,a.hchild:active { margin: 5px 0; } + .main { + margin: .75em .75em; + } + } .footer h2,.footer h3 {