From 033d462b5b942defb291bb37f3c641c531349617 Mon Sep 17 00:00:00 2001 From: Adam Coldrick Date: Sat, 26 Sep 2015 16:29:18 +0100 Subject: Style update --- style.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/style.css b/style.css index 71dc528..6f0fb10 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,10 @@ + + html,body { margin: 0; padding: 0; overflow-x: hidden; + height: 100%; } body { @@ -16,7 +19,7 @@ h1 { border-bottom: 2px solid #f80; padding: 2.1em 1.5em 0.1em 1.5em; box-shadow: inset 0 0 60px 10px #111; - margin: 0 -1em 0 -1em; + margin: 0 -1em -1em -1em; position: relative; top: -2em; } @@ -33,7 +36,7 @@ h1>span { .box { color: black; - float: left; + display: inline-block; padding: 1em; margin: 1.4em; box-shadow:6px 6px 10px 2px #111; @@ -65,9 +68,12 @@ h1>span { 100%{box-shadow:0 0 0 5px #444, 0 0 0 14px rgba(255, 255, 78, 0 ),6px 6px 10px 2px #111} } -.visualisation { - margin-left: auto; - margin-right: auto; - display: table; +.visulisation { + font-size: 90%; + position: absolute; + text-align: center; + overflow: auto; + width: 100%; + top: 45%; } -- cgit v1.2.1