1 |
commit: 794321247608e5edcb83b859a959a4cf21b5a34b |
2 |
Author: John R. Graham <john_r_graham <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 4 21:29:49 2019 +0000 |
4 |
Commit: John R. Graham <john_r_graham <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 4 22:27:33 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/forums.git/commit/?id=79432124 |
7 |
|
8 |
Initial tweaks to create the Gentoo-SUBSILVER style. |
9 |
|
10 |
Incomplete work in progress. |
11 |
|
12 |
Signed-off-by: John R. Graham <john_r_graham <AT> gentoo.org> |
13 |
|
14 |
Gentoo-SUBSILVER/style.cfg | 7 ++++--- |
15 |
Gentoo-SUBSILVER/template/overall_header.html | 2 +- |
16 |
Gentoo-SUBSILVER/theme/colours.css | 8 ++++---- |
17 |
.../theme/{colours.css => colours.css.save} | 16 ++++++++-------- |
18 |
Gentoo-SUBSILVER/theme/common.css | 11 ++++++----- |
19 |
Gentoo-SUBSILVER/theme/images/site_logo.gif | Bin 7019 -> 25314 bytes |
20 |
6 files changed, 23 insertions(+), 21 deletions(-) |
21 |
|
22 |
diff --git a/Gentoo-SUBSILVER/style.cfg b/Gentoo-SUBSILVER/style.cfg |
23 |
index 28bb9e2a5..1b151d777 100644 |
24 |
--- a/Gentoo-SUBSILVER/style.cfg |
25 |
+++ b/Gentoo-SUBSILVER/style.cfg |
26 |
@@ -16,12 +16,13 @@ |
27 |
# the value, then enclose the value with single or double quotes. |
28 |
# Single and double quotes do not need to be escaped. |
29 |
# |
30 |
+# Based on AllanStyle-SUBSILVER, customized for the Gentoo Forums. |
31 |
# |
32 |
|
33 |
# General Information about this style |
34 |
-name = AllanStyle-SUBSILVER |
35 |
-copyright = © Allan Style, 2017 phpbb3.x-tk.ru |
36 |
-style_version = 2.0.3 |
37 |
+name = Gentoo-SUBSILVER |
38 |
+copyright = © 2018 Gentoo Foundation |
39 |
+style_version = 1.0.0 |
40 |
phpbb_version = 3.2.2 |
41 |
|
42 |
# Defining a different template bitfield |
43 |
|
44 |
diff --git a/Gentoo-SUBSILVER/template/overall_header.html b/Gentoo-SUBSILVER/template/overall_header.html |
45 |
index eb262db80..c0ab410fe 100644 |
46 |
--- a/Gentoo-SUBSILVER/template/overall_header.html |
47 |
+++ b/Gentoo-SUBSILVER/template/overall_header.html |
48 |
@@ -82,7 +82,7 @@ |
49 |
<div class="inner"> |
50 |
|
51 |
<div id="site-description" class="site-description"> |
52 |
- <a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="site_logo"></span></a> |
53 |
+ <a id="logo" class="logo" href="<!-- IF U_SITE_HOME -->{U_SITE_HOME}<!-- ELSE -->{U_INDEX}<!-- ENDIF -->" title="<!-- IF U_SITE_HOME -->{L_SITE_HOME}<!-- ELSE -->{L_INDEX}<!-- ENDIF -->"><span class="site_logo"><span style="visibility:hidden">-</span></span></a> |
54 |
<h1>{SITENAME}</h1> |
55 |
<p>{SITE_DESCRIPTION}</p> |
56 |
<p class="skiplink"><a href="#start_here">{L_SKIP}</a></p> |
57 |
|
58 |
diff --git a/Gentoo-SUBSILVER/theme/colours.css b/Gentoo-SUBSILVER/theme/colours.css |
59 |
index dd3c23c76..c0a29a96c 100644 |
60 |
--- a/Gentoo-SUBSILVER/theme/colours.css |
61 |
+++ b/Gentoo-SUBSILVER/theme/colours.css |
62 |
@@ -9,7 +9,7 @@ html, body { |
63 |
} |
64 |
|
65 |
h1 { |
66 |
- color: #000000; |
67 |
+ color: #46357C; |
68 |
} |
69 |
|
70 |
h2 { |
71 |
@@ -82,8 +82,8 @@ a.exlinks { color: #105289 !important; } |
72 |
/* Round cornered boxes and backgrounds |
73 |
---------------------------------------- */ |
74 |
#header-subsilver{ |
75 |
- background-color: #d9dfe4; |
76 |
- border-bottom: 1px solid #4787a7; |
77 |
+ background-color: #46357C; |
78 |
+ /* border-bottom: 1px solid #4787a7; */ |
79 |
} |
80 |
|
81 |
.wrap { |
82 |
@@ -92,7 +92,7 @@ a.exlinks { color: #105289 !important; } |
83 |
} |
84 |
|
85 |
.headerbar { |
86 |
- color: #333333; |
87 |
+ color: #46357C; |
88 |
} |
89 |
|
90 |
.forumbg, .forabg { |
91 |
|
92 |
diff --git a/Gentoo-SUBSILVER/theme/colours.css b/Gentoo-SUBSILVER/theme/colours.css.save |
93 |
similarity index 99% |
94 |
copy from Gentoo-SUBSILVER/theme/colours.css |
95 |
copy to Gentoo-SUBSILVER/theme/colours.css.save |
96 |
index dd3c23c76..4de0358e4 100644 |
97 |
--- a/Gentoo-SUBSILVER/theme/colours.css |
98 |
+++ b/Gentoo-SUBSILVER/theme/colours.css.save |
99 |
@@ -9,7 +9,7 @@ html, body { |
100 |
} |
101 |
|
102 |
h1 { |
103 |
- color: #000000; |
104 |
+ color: #46357C; |
105 |
} |
106 |
|
107 |
h2 { |
108 |
@@ -37,7 +37,7 @@ a.exlinks { color: #105289 !important; } |
109 |
|
110 |
/* Links on gradient backgrounds */ |
111 |
.forumbg .header a, .forabg .header a, th a { |
112 |
- color: #105289; |
113 |
+ color: #46357C; |
114 |
} |
115 |
|
116 |
.forumbg .header a:hover, .forabg .header a:hover, th a:hover { |
117 |
@@ -82,8 +82,8 @@ a.exlinks { color: #105289 !important; } |
118 |
/* Round cornered boxes and backgrounds |
119 |
---------------------------------------- */ |
120 |
#header-subsilver{ |
121 |
- background-color: #d9dfe4; |
122 |
- border-bottom: 1px solid #4787a7; |
123 |
+ background-color: #46357C; |
124 |
+ /* border-bottom: 1px solid #4787a7; */ |
125 |
} |
126 |
|
127 |
.wrap { |
128 |
@@ -92,7 +92,7 @@ a.exlinks { color: #105289 !important; } |
129 |
} |
130 |
|
131 |
.headerbar { |
132 |
- color: #333333; |
133 |
+ color: #46357C; |
134 |
} |
135 |
|
136 |
.forumbg, .forabg { |
137 |
@@ -286,7 +286,7 @@ dl.details dd { |
138 |
} |
139 |
|
140 |
.jumpbox .dropdown .pointer-inner { |
141 |
- border-color: #E1EBF2 transparent; |
142 |
+ border-color: #46357C transparent; |
143 |
} |
144 |
|
145 |
.jumpbox-sub-link { |
146 |
@@ -339,7 +339,7 @@ ul.forums { |
147 |
} |
148 |
|
149 |
ul.topiclist li { |
150 |
- color: #4C5D77; |
151 |
+ color: #46357C; |
152 |
} |
153 |
|
154 |
ul.topiclist dd { |
155 |
@@ -352,7 +352,7 @@ ul.topiclist dd { |
156 |
} |
157 |
|
158 |
li.row { |
159 |
- border-top-color: #a9b8c2; |
160 |
+ border-top-color: #46357C; |
161 |
} |
162 |
|
163 |
li.row strong { |
164 |
|
165 |
diff --git a/Gentoo-SUBSILVER/theme/common.css b/Gentoo-SUBSILVER/theme/common.css |
166 |
index 917f6e1f8..e970e7c74 100644 |
167 |
--- a/Gentoo-SUBSILVER/theme/common.css |
168 |
+++ b/Gentoo-SUBSILVER/theme/common.css |
169 |
@@ -139,7 +139,7 @@ a:hover { text-decoration: underline; } |
170 |
/* Main blocks |
171 |
---------------------------------------- */ |
172 |
#header-subsilver { |
173 |
- padding: 0 5px; |
174 |
+ padding: 0 0px; |
175 |
} |
176 |
|
177 |
.wrap { |
178 |
@@ -165,7 +165,8 @@ a:hover { text-decoration: underline; } |
179 |
.logo { |
180 |
float: left; |
181 |
width: auto; |
182 |
- padding: 0 13px; |
183 |
+ padding: 0 0px; |
184 |
+ max-height: 109px; |
185 |
} |
186 |
|
187 |
.logo:hover { |
188 |
@@ -174,8 +175,8 @@ a:hover { text-decoration: underline; } |
189 |
|
190 |
.site_logo { |
191 |
display: inline-block; |
192 |
- width: 170px; |
193 |
- height: 94px; |
194 |
+ width: 532px; |
195 |
+ height: 109px; |
196 |
} |
197 |
|
198 |
/* Site description and logo */ |
199 |
@@ -193,7 +194,7 @@ a:hover { text-decoration: underline; } |
200 |
.headerbar { |
201 |
margin: 0 auto; |
202 |
max-width: 100%; |
203 |
- padding: 5px 20px; |
204 |
+ padding: 0px 0px; |
205 |
} |
206 |
|
207 |
.navbar-top, .navbar { |
208 |
|
209 |
diff --git a/Gentoo-SUBSILVER/theme/images/site_logo.gif b/Gentoo-SUBSILVER/theme/images/site_logo.gif |
210 |
index d72f7a7eb..c33c2106a 100644 |
211 |
Binary files a/Gentoo-SUBSILVER/theme/images/site_logo.gif and b/Gentoo-SUBSILVER/theme/images/site_logo.gif differ |