Fossil SCM

Removed manual indents in verbatim blocks in forum doc.

wyoung 2024-02-18 13:27 trunk
Commit 6c9755b9a6c6d7d05c73e5583661d5670eb1e721e7257047728e1ac5cb442611
1 file changed +12 -12
+12 -12
--- www/forum.wiki
+++ www/forum.wiki
@@ -134,13 +134,13 @@
134134
135135
The first thing is that you'll need to add something like the following
136136
to the Header part of the skin to create the navbar link:
137137
138138
<verbatim>
139
- if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
140
- menulink /forum Forum
141
- }
139
+if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
140
+ menulink /forum Forum
141
+}
142142
</verbatim>
143143
144144
These rules say that any logged-in user with any [./caps/ref.html#2 |
145145
forum-related capability] or an anonymous user <b>RdForum</b> or
146146
<b>WrForum</b> capability will see the "Forum" navbar
@@ -154,36 +154,36 @@
154154
may work with your existing skin as-is. Otherwise, you might need to
155155
adjust some things, such as the background color used for the selected
156156
forum post:
157157
158158
<verbatim>
159
- div.forumSel {
160
- background-color: rgba(0, 0, 0, 0.05);
161
- }
159
+div.forumSel {
160
+ background-color: rgba(0, 0, 0, 0.05);
161
+}
162162
</verbatim>
163163
164164
That overrides the default — a hard-coded light cyan — with a 95%
165165
transparent black overlay instead, which simply darkens your skin's
166166
normal background color underneath the selected post. That should work
167167
with almost any background color except for very dark background colors.
168168
For dark skins, an inverse of the above trick will work better:
169169
170170
<verbatim>
171
- div.forumSel {
172
- background-color: rgba(255, 255, 255, 0.05);
173
- }
171
+div.forumSel {
172
+ background-color: rgba(255, 255, 255, 0.05);
173
+}
174174
</verbatim>
175175
176176
That overlays the background with 5% white to lighten it slightly.
177177
178178
Another new forum-related CSS style you might want to reflect into your
179179
existing skin is:
180180
181181
<verbatim>
182
- div.forumPosts a:visited {
183
- color: #6A7F94;
184
- }
182
+div.forumPosts a:visited {
183
+ color: #6A7F94;
184
+}
185185
</verbatim>
186186
187187
This changes the clicked-hyperlink color for the forum post links on the
188188
main <tt>/forum</tt> page only, which allows your browser's history
189189
mechanism to show which threads a user has read and which not. The link
190190
--- www/forum.wiki
+++ www/forum.wiki
@@ -134,13 +134,13 @@
134
135 The first thing is that you'll need to add something like the following
136 to the Header part of the skin to create the navbar link:
137
138 <verbatim>
139 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
140 menulink /forum Forum
141 }
142 </verbatim>
143
144 These rules say that any logged-in user with any [./caps/ref.html#2 |
145 forum-related capability] or an anonymous user <b>RdForum</b> or
146 <b>WrForum</b> capability will see the "Forum" navbar
@@ -154,36 +154,36 @@
154 may work with your existing skin as-is. Otherwise, you might need to
155 adjust some things, such as the background color used for the selected
156 forum post:
157
158 <verbatim>
159 div.forumSel {
160 background-color: rgba(0, 0, 0, 0.05);
161 }
162 </verbatim>
163
164 That overrides the default — a hard-coded light cyan — with a 95%
165 transparent black overlay instead, which simply darkens your skin's
166 normal background color underneath the selected post. That should work
167 with almost any background color except for very dark background colors.
168 For dark skins, an inverse of the above trick will work better:
169
170 <verbatim>
171 div.forumSel {
172 background-color: rgba(255, 255, 255, 0.05);
173 }
174 </verbatim>
175
176 That overlays the background with 5% white to lighten it slightly.
177
178 Another new forum-related CSS style you might want to reflect into your
179 existing skin is:
180
181 <verbatim>
182 div.forumPosts a:visited {
183 color: #6A7F94;
184 }
185 </verbatim>
186
187 This changes the clicked-hyperlink color for the forum post links on the
188 main <tt>/forum</tt> page only, which allows your browser's history
189 mechanism to show which threads a user has read and which not. The link
190
--- www/forum.wiki
+++ www/forum.wiki
@@ -134,13 +134,13 @@
134
135 The first thing is that you'll need to add something like the following
136 to the Header part of the skin to create the navbar link:
137
138 <verbatim>
139 if {[anycap 23456] || [anoncap 2] || [anoncap 3]} {
140 menulink /forum Forum
141 }
142 </verbatim>
143
144 These rules say that any logged-in user with any [./caps/ref.html#2 |
145 forum-related capability] or an anonymous user <b>RdForum</b> or
146 <b>WrForum</b> capability will see the "Forum" navbar
@@ -154,36 +154,36 @@
154 may work with your existing skin as-is. Otherwise, you might need to
155 adjust some things, such as the background color used for the selected
156 forum post:
157
158 <verbatim>
159 div.forumSel {
160 background-color: rgba(0, 0, 0, 0.05);
161 }
162 </verbatim>
163
164 That overrides the default — a hard-coded light cyan — with a 95%
165 transparent black overlay instead, which simply darkens your skin's
166 normal background color underneath the selected post. That should work
167 with almost any background color except for very dark background colors.
168 For dark skins, an inverse of the above trick will work better:
169
170 <verbatim>
171 div.forumSel {
172 background-color: rgba(255, 255, 255, 0.05);
173 }
174 </verbatim>
175
176 That overlays the background with 5% white to lighten it slightly.
177
178 Another new forum-related CSS style you might want to reflect into your
179 existing skin is:
180
181 <verbatim>
182 div.forumPosts a:visited {
183 color: #6A7F94;
184 }
185 </verbatim>
186
187 This changes the clicked-hyperlink color for the forum post links on the
188 main <tt>/forum</tt> page only, which allows your browser's history
189 mechanism to show which threads a user has read and which not. The link
190

Keyboard Shortcuts

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