Fossil SCM

Added forumSel adjustment advice to forum.wiki.

wyoung 2018-08-11 21:04 trunk
Commit 0194fb677490c6f7819f9f1104892162539854035fc553b572fa643d1ced29e0
1 file changed +26
--- www/forum.wiki
+++ www/forum.wiki
@@ -197,10 +197,36 @@
197197
read or write capability on the forum (2, 3) will see the "Forum" navbar
198198
link, which just takes you to <tt>/forum</tt>.
199199
200200
The exact code you need here varies depending on which skin you're
201201
using. Follow the style you see for the other navbar links.
202
+
203
+The new forum feature also brings many new CSS styles to the table. If
204
+you're using the stock skin or something sufficiently close, the changes
205
+may work with your existing skin as-is. Otherwise, you might need to
206
+adjust some things, such as the background color used for the selected
207
+forum post:
208
+
209
+<verbatim>
210
+ div.forumSel {
211
+ background-color: rgba(0, 0, 0, 0.05);
212
+ }
213
+</verbatim>
214
+
215
+That overrides the default — a hard-coded light cyan — with a 95%
216
+transparent black overlay instead, which simply darkens your skin's
217
+normal background color underneath the selected post. That should work
218
+with almost any background color except for very dark background colors.
219
+For dark skins, an inverse of the above trick will work better:
220
+
221
+<verbatim>
222
+ div.forumSel {
223
+ background-color: rgba(255, 255, 255, 0.05);
224
+ }
225
+</verbatim>
226
+
227
+That overlays the background with 5% white to lighten it slightly.
202228
203229
204230
<h3>Enable Forum Search</h3>
205231
206232
One of the underlying assumptions of the forum feature is that you will
207233
--- www/forum.wiki
+++ www/forum.wiki
@@ -197,10 +197,36 @@
197 read or write capability on the forum (2, 3) will see the "Forum" navbar
198 link, which just takes you to <tt>/forum</tt>.
199
200 The exact code you need here varies depending on which skin you're
201 using. Follow the style you see for the other navbar links.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
202
203
204 <h3>Enable Forum Search</h3>
205
206 One of the underlying assumptions of the forum feature is that you will
207
--- www/forum.wiki
+++ www/forum.wiki
@@ -197,10 +197,36 @@
197 read or write capability on the forum (2, 3) will see the "Forum" navbar
198 link, which just takes you to <tt>/forum</tt>.
199
200 The exact code you need here varies depending on which skin you're
201 using. Follow the style you see for the other navbar links.
202
203 The new forum feature also brings many new CSS styles to the table. If
204 you're using the stock skin or something sufficiently close, the changes
205 may work with your existing skin as-is. Otherwise, you might need to
206 adjust some things, such as the background color used for the selected
207 forum post:
208
209 <verbatim>
210 div.forumSel {
211 background-color: rgba(0, 0, 0, 0.05);
212 }
213 </verbatim>
214
215 That overrides the default — a hard-coded light cyan — with a 95%
216 transparent black overlay instead, which simply darkens your skin's
217 normal background color underneath the selected post. That should work
218 with almost any background color except for very dark background colors.
219 For dark skins, an inverse of the above trick will work better:
220
221 <verbatim>
222 div.forumSel {
223 background-color: rgba(255, 255, 255, 0.05);
224 }
225 </verbatim>
226
227 That overlays the background with 5% white to lighten it slightly.
228
229
230 <h3>Enable Forum Search</h3>
231
232 One of the underlying assumptions of the forum feature is that you will
233

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button