an attempt to fix the banner mess

This commit is contained in:
Mario Vavti 2015-09-12 11:36:19 +02:00
parent 692e117c8a
commit 9821a39549
3 changed files with 18 additions and 27 deletions

View File

@ -1,9 +1,8 @@
header #banner { header #banner {
position: fixed; position: fixed;
top: 0; width: 33%;
width: 250px; margin-left: 33%;
margin-left: auto; margin-right: 33%;
margin-right: auto;
} }
main { main {

View File

@ -201,13 +201,14 @@ nav #banner #logo-text a:hover { text-decoration: none; }
.nav-channel-select { margin-left: 8px; } .nav-channel-select { margin-left: 8px; }
header #banner { header #banner {
/* overflow: hidden; */ z-index: 1040;
text-align: center; margin-top: 14px;
font-size: 14px; text-align: center;
font-family: tahoma, "Lucida Sans", sans; font-size: 14px;
color: $banner_colour; font-family: tahoma, "Lucida Sans", sans;
font-weight: bold; color: $banner_colour;
margin-top: 14px; font-weight: bold;
whitespace: nowrap;
} }
header #banner a, header #banner a,
@ -215,15 +216,17 @@ header #banner a:active,
header #banner a:visited, header #banner a:visited,
header #banner a:link, header #banner a:link,
header #banner a:hover { header #banner a:hover {
color: #FFF; color: $banner_colour;
text-decoration: none; text-decoration: none;
outline: none; outline: none;
vertical-align: bottom; vertical-align: bottom;
} }
header #banner #logo-img { header #banner #logo-img {
height: 22px; height: 22px;
margin-top: 5px; margin-top: 5px;
} }
header #banner #logo-text { header #banner #logo-text {
font-size: 22px; font-size: 22px;
} }
@ -1302,17 +1305,6 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover {
padding: 0; padding: 0;
} }
/* header */
header {
position: fixed;
left: 43%;
right: 43%;
margin: 0px;
padding: 0px;
z-index: 1040;
color: #fff;
}
.notif-item a { .notif-item a {
color: #000; color: #000;
} }

View File

@ -156,7 +156,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) {
$aside_width = 285; $aside_width = 285;
// left aside and right aside are is 231px + converse width // left aside and right aside are 285px + converse width
if($align_left) { if($align_left) {
$main_width = (($aside_width) + intval($converse_width)); $main_width = (($aside_width) + intval($converse_width));
} }