From 65c5884c7fedada9659c716c6f99609c35176543 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Wed, 8 Apr 2015 13:07:56 +0200 Subject: [PATCH] Fix centering problem --- layouts/main.css | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/layouts/main.css b/layouts/main.css index 23f4aec..a3b4ebc 100644 --- a/layouts/main.css +++ b/layouts/main.css @@ -1,15 +1,14 @@ @import url(http://fonts.googleapis.com/css?family=Inconsolata:400,700); -html, body {overflow: auto} +html, body {overflow: auto, box-sizing: border-box} body, input {font-size: 1.1em;} body { background-color: rgb(24,27,32); color: rgb(155,144,129); font-family: Inconsolata; - width: 100%; - height: 100%; margin: 0; + margin-top: 1em; } #container { @@ -29,10 +28,12 @@ body { #center { display: inline-block; text-align:left; + margin-top: -2em; } h1 { - margin: 1em; + display: inline; + padding: 1em; font-size: 1.8em; font-weight: 700; color: rgb(81,94,102);