From a22fb84d28fded5baf7828b3f37f4b40969c9b4f Mon Sep 17 00:00:00 2001 From: opi Date: Tue, 11 Feb 2014 14:06:00 +0100 Subject: [PATCH] Cleanup page-header, more accessible and responsive. --- css/style.css | 9 ++++++++- index.html | 14 ++++++++------ js/app.js | 4 ++-- views/home.ms | 7 ++++--- views/login.ms | 4 +--- 5 files changed, 23 insertions(+), 15 deletions(-) diff --git a/css/style.css b/css/style.css index cbd16e93..86aeacca 100644 --- a/css/style.css +++ b/css/style.css @@ -62,10 +62,17 @@ body .form-control { margin: -35px auto 0 auto; } -body .page-header { +.page-header { margin-top: 0px; padding: 0 10px; } + .page-header h1, + .page-header .logout-button { + margin-top:20px; + } + .page-header h1 {max-width: 85%; /* leave space for logout button */} + .logout-button {font-size:2em;} + div.br { height: 30px; diff --git a/index.html b/index.html index 8d77e9b9..b5d4771e 100644 --- a/index.html +++ b/index.html @@ -13,14 +13,15 @@
-