From 0ffdaa3eeecd51416f7acb25c8cb9100c5fb4a8a Mon Sep 17 00:00:00 2001 From: Marco Genasci Date: Tue, 8 Jun 2021 10:08:11 +0200 Subject: Fix and tweak various things and stuff. - Fix postbody position problem in firefox - Fix back2top position - Fix table header color and header hover color - Fix div background color after page-footer Signed-off-by: Marco Genasci Signed-off-by: Jimi Huotari --- style.cfg | 4 +-- theme/colours.css | 4 +-- theme/common.css | 4 +++ theme/links.css | 1 - theme/responsive.css | 74 +++------------------------------------------------- 5 files changed, 12 insertions(+), 75 deletions(-) diff --git a/style.cfg b/style.cfg index 2a3a1aa15..6d8d5863a 100644 --- a/style.cfg +++ b/style.cfg @@ -21,9 +21,9 @@ # General Information about this style name = Gentoo Light -copyright = © 2020 Gentoo Foundation +copyright = © 2021 Gentoo Foundation style_version = 1.0.0 -phpbb_version = 3.2.8 +phpbb_version = 3.3.1 # Defining a different template bitfield # template_bitfield = //g= diff --git a/theme/colours.css b/theme/colours.css index 0279fd093..7135a1dcf 100644 --- a/theme/colours.css +++ b/theme/colours.css @@ -69,7 +69,7 @@ a:hover { } .forumbg .header a:hover, .forabg .header a:hover, th a:hover { - color: #004768; + color: #ff6633; } /* Notification mark read link */ @@ -197,7 +197,7 @@ table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) { ----------------------------------------*/ table.table1 thead th { - color: #333333; + color: #efefef; } table.table1 tbody tr { diff --git a/theme/common.css b/theme/common.css index 79a9fa86b..357b09563 100644 --- a/theme/common.css +++ b/theme/common.css @@ -153,6 +153,10 @@ a:hover { text-decoration: underline; } clear: both; } +.page-footer + div { + background-color: #000000; +} + .page-footer h3 { margin-top: 20px; } diff --git a/theme/links.css b/theme/links.css index 6a61e9a26..12059c049 100644 --- a/theme/links.css +++ b/theme/links.css @@ -149,7 +149,6 @@ a.lastsubject:hover { .back2top .top { float: right; - margin-right: -10px; margin-top: 0; } diff --git a/theme/responsive.css b/theme/responsive.css index 9d603e357..9dc935819 100644 --- a/theme/responsive.css +++ b/theme/responsive.css @@ -556,76 +556,10 @@ } } -@media (min-width: 700px) { - .postbody { width: 100%; } -} - -@media (min-width: 701px) { - .postbody { width: 76%; } -} - -@media (min-width: 750px) { - .postbody { width: 78%; } -} - -@media (min-width: 800px) { - .postbody { width: 79%; } -} - -@media (min-width: 850px) { - .postbody { width: 80%; } -} - -@media (min-width: 900px) { - .postbody { width: 81%; } -} - -@media (min-width: 950px) { - .postbody { width: 82%; } -} - -@media (min-width: 1000px) { - .postbody { width: 83%; } -} - -@media (min-width: 1100px) { - .postbody { width: 84%; } -} - -@media (min-width: 1200px) { - .postbody { width: 85%; } -} - -@media (min-width: 1300px) { - .postbody { width: 86%; } -} - -@media (min-width: 1400px) { - .postbody { width: 87%; } -} - -@media (min-width: 1500px) { - .postbody { width: 88%; } -} - -@media (min-width: 1600px) { - .postbody { width: 89%; } -} - -@media (min-width: 1700px) { - .postbody { width: 90%; } -} - -@media (min-width: 1800px) { - .postbody { width: 91%; } -} - -@media (min-width: 1900px) { - .postbody { width: 92%; } -} - -@media (min-width: 2000px) { - .postbody { width: 93%; } +.postbody { + width: auto; + float: none; + overflow: hidden; } @media (min-width: 701px) and (max-width: 950px) { -- cgit v1.2.3-65-gdbad