From 953d50e5fca866ed80d85ce330d189e39fc5bffd Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Wed, 14 May 2014 17:49:05 +0200 Subject: [PATCH] 404 style fixes --- less/404.less | 7 +++++-- less/base.less | 8 +++++--- www/404.html | 15 ++++++++------- 3 files changed, 18 insertions(+), 12 deletions(-) diff --git a/less/404.less b/less/404.less index d2defa4..9105c50 100644 --- a/less/404.less +++ b/less/404.less @@ -6,9 +6,12 @@ position: absolute; top: 50%; left: 50%; - height: 250px; + height: 200px; width: 500px; - margin: -125px 0 0 -250px; + margin: -85px 0px 0px -250px; + + background-color: #FCFCFC; + padding: 0px 1em; } } diff --git a/less/base.less b/less/base.less index 560dfa7..a837a7b 100644 --- a/less/base.less +++ b/less/base.less @@ -47,18 +47,20 @@ body { left: 0px; //z-index: -5; } - #bgTop { top: 0px; } - #bgMiddle { top: 30%; } - #bgBottom { bottom: 0px; } +@media only screen and (max-height: 700px) { + #bgMiddle { + display: none; + } +} @import "base_centerpanel.less"; @import "base_leftpanel.less"; diff --git a/www/404.html b/www/404.html index f7931ca..26a57e7 100644 --- a/www/404.html +++ b/www/404.html @@ -2,15 +2,16 @@
- - - + + +
-
-
- +
+
+ +
@@ -25,5 +26,5 @@
- +
\ No newline at end of file