From 23eeb2140c807c21205ca27780903a18fd56ac15 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 6 Jan 2012 20:14:04 +0000 Subject: [PATCH] Border between the header and the content --- Resources/FLocal/static/css/modern/blue.css | 3 +++ Resources/FLocal/static/css/modern/global.css | 3 +++ Resources/FLocal/static/css/modern/high-contrast.css | 3 +++ Resources/FLocal/static/js/modern.js | 1 + 4 files changed, 10 insertions(+) diff --git a/Resources/FLocal/static/css/modern/blue.css b/Resources/FLocal/static/css/modern/blue.css index fe0759f..90d6669 100644 --- a/Resources/FLocal/static/css/modern/blue.css +++ b/Resources/FLocal/static/css/modern/blue.css @@ -120,3 +120,6 @@ blockquote .quotecontent { background-image:url(/static/images/metro.icons/black/settings.png); } +.headerContainer { + border-color:black; +} diff --git a/Resources/FLocal/static/css/modern/global.css b/Resources/FLocal/static/css/modern/global.css index 2d67af0..56356f3 100644 --- a/Resources/FLocal/static/css/modern/global.css +++ b/Resources/FLocal/static/css/modern/global.css @@ -275,3 +275,6 @@ a.external { background-image:url(/static/images/slowpoke-48.png); } +#headerContainer { + border-bottom:solid 1px; +} diff --git a/Resources/FLocal/static/css/modern/high-contrast.css b/Resources/FLocal/static/css/modern/high-contrast.css index 03eb818..848fc60 100644 --- a/Resources/FLocal/static/css/modern/high-contrast.css +++ b/Resources/FLocal/static/css/modern/high-contrast.css @@ -100,3 +100,6 @@ blockquote .quotecontent { background-image:url(/static/images/metro.icons/white/settings.png); } +.headerContainer { + border-color:black; +} diff --git a/Resources/FLocal/static/js/modern.js b/Resources/FLocal/static/js/modern.js index 809b6ae..6d9c5cb 100644 --- a/Resources/FLocal/static/js/modern.js +++ b/Resources/FLocal/static/js/modern.js @@ -32,6 +32,7 @@ function makeMainboxScrollable() { if(window.innerHeight > 0) { var height = window.innerHeight; height -= document.getElementById("headerContainer").clientHeight; + height -= 1; //headerContainer border var width = window.innerWidth; width -= document.getElementById("bjAndSlutsContainer").clientWidth; var mainbox = document.getElementById("contentContainer");