Fossil SCM
Removed manual indents in verbatim blocks in forum doc.
Commit
6c9755b9a6c6d7d05c73e5583661d5670eb1e721e7257047728e1ac5cb442611
Parent
d8e2a3b87402a49…
1 file changed
+12
-12
+12
-12
| --- www/forum.wiki | ||
| +++ www/forum.wiki | ||
| @@ -134,13 +134,13 @@ | ||
| 134 | 134 | |
| 135 | 135 | The first thing is that you'll need to add something like the following |
| 136 | 136 | to the Header part of the skin to create the navbar link: |
| 137 | 137 | |
| 138 | 138 | <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 | +} | |
| 142 | 142 | </verbatim> |
| 143 | 143 | |
| 144 | 144 | These rules say that any logged-in user with any [./caps/ref.html#2 | |
| 145 | 145 | forum-related capability] or an anonymous user <b>RdForum</b> or |
| 146 | 146 | <b>WrForum</b> capability will see the "Forum" navbar |
| @@ -154,36 +154,36 @@ | ||
| 154 | 154 | may work with your existing skin as-is. Otherwise, you might need to |
| 155 | 155 | adjust some things, such as the background color used for the selected |
| 156 | 156 | forum post: |
| 157 | 157 | |
| 158 | 158 | <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 | +} | |
| 162 | 162 | </verbatim> |
| 163 | 163 | |
| 164 | 164 | That overrides the default — a hard-coded light cyan — with a 95% |
| 165 | 165 | transparent black overlay instead, which simply darkens your skin's |
| 166 | 166 | normal background color underneath the selected post. That should work |
| 167 | 167 | with almost any background color except for very dark background colors. |
| 168 | 168 | For dark skins, an inverse of the above trick will work better: |
| 169 | 169 | |
| 170 | 170 | <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 | +} | |
| 174 | 174 | </verbatim> |
| 175 | 175 | |
| 176 | 176 | That overlays the background with 5% white to lighten it slightly. |
| 177 | 177 | |
| 178 | 178 | Another new forum-related CSS style you might want to reflect into your |
| 179 | 179 | existing skin is: |
| 180 | 180 | |
| 181 | 181 | <verbatim> |
| 182 | - div.forumPosts a:visited { | |
| 183 | - color: #6A7F94; | |
| 184 | - } | |
| 182 | +div.forumPosts a:visited { | |
| 183 | + color: #6A7F94; | |
| 184 | +} | |
| 185 | 185 | </verbatim> |
| 186 | 186 | |
| 187 | 187 | This changes the clicked-hyperlink color for the forum post links on the |
| 188 | 188 | main <tt>/forum</tt> page only, which allows your browser's history |
| 189 | 189 | mechanism to show which threads a user has read and which not. The link |
| 190 | 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 |
| --- 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 |