Gentoo Archives: gentoo-commits

From: Jimi Huotari <chiitoo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/forums:styles/gentoo-light commit in: theme/, /
Date: Mon, 14 Jun 2021 19:11:06
Message-Id: 1623697811.0ffdaa3eeecd51416f7acb25c8cb9100c5fb4a8a.chiitoo@gentoo
1 commit: 0ffdaa3eeecd51416f7acb25c8cb9100c5fb4a8a
2 Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
3 AuthorDate: Tue Jun 8 08:08:11 2021 +0000
4 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 19:10:11 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/forums.git/commit/?id=0ffdaa3e
7
8 Fix and tweak various things and stuff.
9
10 - Fix postbody position problem in firefox
11 - Fix back2top position
12 - Fix table header color and header hover color
13 - Fix div background color after page-footer
14
15 Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
16 Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
17
18 style.cfg | 4 +--
19 theme/colours.css | 4 +--
20 theme/common.css | 4 +++
21 theme/links.css | 1 -
22 theme/responsive.css | 74 +++-------------------------------------------------
23 5 files changed, 12 insertions(+), 75 deletions(-)
24
25 diff --git a/style.cfg b/style.cfg
26 index 2a3a1aa15..6d8d5863a 100644
27 --- a/style.cfg
28 +++ b/style.cfg
29 @@ -21,9 +21,9 @@
30
31 # General Information about this style
32 name = Gentoo Light
33 -copyright = © 2020 Gentoo Foundation
34 +copyright = © 2021 Gentoo Foundation
35 style_version = 1.0.0
36 -phpbb_version = 3.2.8
37 +phpbb_version = 3.3.1
38
39 # Defining a different template bitfield
40 # template_bitfield = //g=
41
42 diff --git a/theme/colours.css b/theme/colours.css
43 index 0279fd093..7135a1dcf 100644
44 --- a/theme/colours.css
45 +++ b/theme/colours.css
46 @@ -69,7 +69,7 @@ a:hover {
47 }
48
49 .forumbg .header a:hover, .forabg .header a:hover, th a:hover {
50 - color: #004768;
51 + color: #ff6633;
52 }
53
54 /* Notification mark read link */
55 @@ -197,7 +197,7 @@ table.zebra-list tr:nth-child(even) td, ul.zebra-list li:nth-child(even) {
56 ----------------------------------------*/
57
58 table.table1 thead th {
59 - color: #333333;
60 + color: #efefef;
61 }
62
63 table.table1 tbody tr {
64
65 diff --git a/theme/common.css b/theme/common.css
66 index 79a9fa86b..357b09563 100644
67 --- a/theme/common.css
68 +++ b/theme/common.css
69 @@ -153,6 +153,10 @@ a:hover { text-decoration: underline; }
70 clear: both;
71 }
72
73 +.page-footer + div {
74 + background-color: #000000;
75 +}
76 +
77 .page-footer h3 {
78 margin-top: 20px;
79 }
80
81 diff --git a/theme/links.css b/theme/links.css
82 index 6a61e9a26..12059c049 100644
83 --- a/theme/links.css
84 +++ b/theme/links.css
85 @@ -149,7 +149,6 @@ a.lastsubject:hover {
86
87 .back2top .top {
88 float: right;
89 - margin-right: -10px;
90 margin-top: 0;
91 }
92
93
94 diff --git a/theme/responsive.css b/theme/responsive.css
95 index 9d603e357..9dc935819 100644
96 --- a/theme/responsive.css
97 +++ b/theme/responsive.css
98 @@ -556,76 +556,10 @@
99 }
100 }
101
102 -@media (min-width: 700px) {
103 - .postbody { width: 100%; }
104 -}
105 -
106 -@media (min-width: 701px) {
107 - .postbody { width: 76%; }
108 -}
109 -
110 -@media (min-width: 750px) {
111 - .postbody { width: 78%; }
112 -}
113 -
114 -@media (min-width: 800px) {
115 - .postbody { width: 79%; }
116 -}
117 -
118 -@media (min-width: 850px) {
119 - .postbody { width: 80%; }
120 -}
121 -
122 -@media (min-width: 900px) {
123 - .postbody { width: 81%; }
124 -}
125 -
126 -@media (min-width: 950px) {
127 - .postbody { width: 82%; }
128 -}
129 -
130 -@media (min-width: 1000px) {
131 - .postbody { width: 83%; }
132 -}
133 -
134 -@media (min-width: 1100px) {
135 - .postbody { width: 84%; }
136 -}
137 -
138 -@media (min-width: 1200px) {
139 - .postbody { width: 85%; }
140 -}
141 -
142 -@media (min-width: 1300px) {
143 - .postbody { width: 86%; }
144 -}
145 -
146 -@media (min-width: 1400px) {
147 - .postbody { width: 87%; }
148 -}
149 -
150 -@media (min-width: 1500px) {
151 - .postbody { width: 88%; }
152 -}
153 -
154 -@media (min-width: 1600px) {
155 - .postbody { width: 89%; }
156 -}
157 -
158 -@media (min-width: 1700px) {
159 - .postbody { width: 90%; }
160 -}
161 -
162 -@media (min-width: 1800px) {
163 - .postbody { width: 91%; }
164 -}
165 -
166 -@media (min-width: 1900px) {
167 - .postbody { width: 92%; }
168 -}
169 -
170 -@media (min-width: 2000px) {
171 - .postbody { width: 93%; }
172 +.postbody {
173 + width: auto;
174 + float: none;
175 + overflow: hidden;
176 }
177
178 @media (min-width: 701px) and (max-width: 950px) {