diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-09-12 11:36:19 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-09-12 11:36:19 +0200 |
commit | 9821a3954908cc4eb701ace8d002b052027c0311 (patch) | |
tree | deaae13048dfd047f4773c3c111fdbe1f4e7cc60 /view | |
parent | 692e117c8a2a6e3830c6ff71486b4c1edc5226c9 (diff) | |
download | volse-hubzilla-9821a3954908cc4eb701ace8d002b052027c0311.tar.gz volse-hubzilla-9821a3954908cc4eb701ace8d002b052027c0311.tar.bz2 volse-hubzilla-9821a3954908cc4eb701ace8d002b052027c0311.zip |
an attempt to fix the banner mess
Diffstat (limited to 'view')
-rw-r--r-- | view/css/default.css | 7 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 36 | ||||
-rw-r--r-- | view/theme/redbasic/php/style.php | 2 |
3 files changed, 18 insertions, 27 deletions
diff --git a/view/css/default.css b/view/css/default.css index 566877959..e84561baf 100644 --- a/view/css/default.css +++ b/view/css/default.css @@ -1,9 +1,8 @@ header #banner { position: fixed; - top: 0; - width: 250px; - margin-left: auto; - margin-right: auto; + width: 33%; + margin-left: 33%; + margin-right: 33%; } main { diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index c4593f01a..f75808eb7 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -201,13 +201,14 @@ nav #banner #logo-text a:hover { text-decoration: none; } .nav-channel-select { margin-left: 8px; } header #banner { -/* overflow: hidden; */ - text-align: center; - font-size: 14px; - font-family: tahoma, "Lucida Sans", sans; - color: $banner_colour; - font-weight: bold; - margin-top: 14px; + z-index: 1040; + margin-top: 14px; + text-align: center; + font-size: 14px; + font-family: tahoma, "Lucida Sans", sans; + color: $banner_colour; + font-weight: bold; + whitespace: nowrap; } header #banner a, @@ -215,15 +216,17 @@ header #banner a:active, header #banner a:visited, header #banner a:link, header #banner a:hover { - color: #FFF; - text-decoration: none; - outline: none; - vertical-align: bottom; + color: $banner_colour; + text-decoration: none; + outline: none; + vertical-align: bottom; } + header #banner #logo-img { height: 22px; margin-top: 5px; } + header #banner #logo-text { font-size: 22px; } @@ -1302,17 +1305,6 @@ a.rconnect:hover, a.rateme:hover, div.rateme:hover { padding: 0; } -/* header */ -header { - position: fixed; - left: 43%; - right: 43%; - margin: 0px; - padding: 0px; - z-index: 1040; - color: #fff; -} - .notif-item a { color: #000; } diff --git a/view/theme/redbasic/php/style.php b/view/theme/redbasic/php/style.php index e90eb7918..a0da5e302 100644 --- a/view/theme/redbasic/php/style.php +++ b/view/theme/redbasic/php/style.php @@ -156,7 +156,7 @@ if(file_exists('view/theme/redbasic/css/style.css')) { $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) { $main_width = (($aside_width) + intval($converse_width)); } |