Fossil SCM

Initial version of css-tricks.md, as requested in [https://fossil-scm.org/forum/forumpost/eb04fd28b5|forumpost/eb04fd28b5].

stephan 2020-04-07 12:27 trunk
Commit 5900530223fc605d42b65a1f456164bb087f249db98fed600636a6f1a63a53f5
--- a/www/css-tricks.md
+++ b/www/css-tricks.md
@@ -0,0 +1,35 @@
1
+# Fossil CSS Tips and Tricks
2
+
3
+Many Overriding Default Rules
4
+
5
+One behavior of the skinning system works considerably differently
6
+from the cascading nature of CSS: if a skin appliand Tricks
7
+
8
+Many has a built-in default value, Fossil elides the entire
9
+default definition for that rule. i.e., the skin's definition is the
10
+only one which is applied, rather than cascading the definition from
11
+the default value.
12
+
13
+For example, if Fossil has a default CSS rule which looks like:
14
+
15
+```css
16
+div.foo {
17
+ font-size: 120%;
18
+ margin-left: 1em;
19
+}
20
+```
21
+
22
+And a skin has:
23
+
24
+```css
25
+div.foo {}
26
+```
27
+
28
+Then Fossil will *not* emit its default rule and the user's copy will
29
+become the only definition of that CSS rule. This is different from
30
+normal CSS cascading rules, in which the above sequence would result
31
+in, effectively, the top set of rules being applied because the second
32
+(empty) one does not override anything from the first.
33
+
34
+If a skin applies a given selector more than once, or imports external
35
+style sheets which do, those cascade following CSS's normal rulesr
--- a/www/css-tricks.md
+++ b/www/css-tricks.md
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
--- a/www/css-tricks.md
+++ b/www/css-tricks.md
@@ -0,0 +1,35 @@
1 # Fossil CSS Tips and Tricks
2
3 Many Overriding Default Rules
4
5 One behavior of the skinning system works considerably differently
6 from the cascading nature of CSS: if a skin appliand Tricks
7
8 Many has a built-in default value, Fossil elides the entire
9 default definition for that rule. i.e., the skin's definition is the
10 only one which is applied, rather than cascading the definition from
11 the default value.
12
13 For example, if Fossil has a default CSS rule which looks like:
14
15 ```css
16 div.foo {
17 font-size: 120%;
18 margin-left: 1em;
19 }
20 ```
21
22 And a skin has:
23
24 ```css
25 div.foo {}
26 ```
27
28 Then Fossil will *not* emit its default rule and the user's copy will
29 become the only definition of that CSS rule. This is different from
30 normal CSS cascading rules, in which the above sequence would result
31 in, effectively, the top set of rules being applied because the second
32 (empty) one does not override anything from the first.
33
34 If a skin applies a given selector more than once, or imports external
35 style sheets which do, those cascade following CSS's normal rulesr
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -28,10 +28,11 @@
2828
checkin.wiki {Check-in Checklist}
2929
childprojects.wiki {Child Projects}
3030
copyright-release.html {Contributor License Agreement}
3131
concepts.wiki {Fossil Core Concepts}
3232
contribute.wiki {Contributing Code or Documentation To The Fossil Project}
33
+ css-tricks.md {Fossil CSS Tips and Tricks}
3334
customgraph.md {Theming: Customizing the Timeline Graph}
3435
customskin.md {Theming: Customizing The Appearance of Web Pages}
3536
customskin.md {Custom Skins}
3637
custom_ticket.wiki {Customizing The Ticket System}
3738
defcsp.md {The Default Content Security Policy}
3839
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -28,10 +28,11 @@
28 checkin.wiki {Check-in Checklist}
29 childprojects.wiki {Child Projects}
30 copyright-release.html {Contributor License Agreement}
31 concepts.wiki {Fossil Core Concepts}
32 contribute.wiki {Contributing Code or Documentation To The Fossil Project}
 
33 customgraph.md {Theming: Customizing the Timeline Graph}
34 customskin.md {Theming: Customizing The Appearance of Web Pages}
35 customskin.md {Custom Skins}
36 custom_ticket.wiki {Customizing The Ticket System}
37 defcsp.md {The Default Content Security Policy}
38
--- www/mkindex.tcl
+++ www/mkindex.tcl
@@ -28,10 +28,11 @@
28 checkin.wiki {Check-in Checklist}
29 childprojects.wiki {Child Projects}
30 copyright-release.html {Contributor License Agreement}
31 concepts.wiki {Fossil Core Concepts}
32 contribute.wiki {Contributing Code or Documentation To The Fossil Project}
33 css-tricks.md {Fossil CSS Tips and Tricks}
34 customgraph.md {Theming: Customizing the Timeline Graph}
35 customskin.md {Theming: Customizing The Appearance of Web Pages}
36 customskin.md {Custom Skins}
37 custom_ticket.wiki {Customizing The Ticket System}
38 defcsp.md {The Default Content Security Policy}
39
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -76,10 +76,11 @@
7676
<li><a href="whyusefossil.wiki">Control &mdash; Benefits Of Version</a></li>
7777
<li><a href="concepts.wiki">Core Concepts &mdash; Fossil</a></li>
7878
<li><a href="newrepo.wiki">Create A New Fossil Repository &mdash; How To</a></li>
7979
<li><a href="private.wiki"><b>Creating, Syncing, and Deleting Private Branches</b></a></li>
8080
<li><a href="qandc.wiki">Criticisms &mdash; Questions And</a></li>
81
+<li><a href="css-tricks.md">CSS Tips and Tricks &mdash; Fossil</a></li>
8182
<li><a href="customskin.md"><b>Custom Skins</b></a></li>
8283
<li><a href="customskin.md">Customizing The Appearance of Web Pages &mdash; Theming:</a></li>
8384
<li><a href="custom_ticket.wiki"><b>Customizing The Ticket System</b></a></li>
8485
<li><a href="customgraph.md">Customizing the Timeline Graph &mdash; Theming:</a></li>
8586
<li><a href="tech_overview.wiki">Databases Used By Fossil &mdash; SQLite</a></li>
@@ -121,10 +122,11 @@
121122
<li><a href="../../../wiki_rules">Formatting Rules &mdash; Wiki</a></li>
122123
<li><a href="forum.wiki">Forums &mdash; Fossil</a></li>
123124
<li><a href="blockchain.md"><b>Fossil As Blockchain</b></a></li>
124125
<li><a href="changes.wiki"><b>Fossil Changelog</b></a></li>
125126
<li><a href="concepts.wiki"><b>Fossil Core Concepts</b></a></li>
127
+<li><a href="css-tricks.md"><b>Fossil CSS Tips and Tricks</b></a></li>
126128
<li><a href="delta_encoder_algorithm.wiki"><b>Fossil Delta Encoding Algorithm</b></a></li>
127129
<li><a href="delta_format.wiki"><b>Fossil Delta Format</b></a></li>
128130
<li><a href="hacker-howto.wiki"><b>Fossil Developers Guide</b></a></li>
129131
<li><a href="fileformat.wiki"><b>Fossil File Format</b></a></li>
130132
<li><a href="forum.wiki"><b>Fossil Forums</b></a></li>
@@ -284,12 +286,14 @@
284286
<li><a href="customgraph.md"><b>Theming: Customizing the Timeline Graph</b></a></li>
285287
<li><a href="theory1.wiki"><b>Thoughts On The Design Of The Fossil DVCS</b></a></li>
286288
<li><a href="custom_ticket.wiki">Ticket System &mdash; Customizing The</a></li>
287289
<li><a href="tickets.wiki">Ticket System &mdash; The Fossil</a></li>
288290
<li><a href="customgraph.md">Timeline Graph &mdash; Theming: Customizing the</a></li>
291
+<li><a href="css-tricks.md">Tips and Tricks &mdash; Fossil CSS</a></li>
289292
<li><a href="hints.wiki">Tips And Usage Hints &mdash; Fossil</a></li>
290293
<li><a href="bugtheory.wiki">Tracking In Fossil &mdash; Bug</a></li>
294
+<li><a href="css-tricks.md">Tricks &mdash; Fossil CSS Tips and</a></li>
291295
<li><a href="unvers.wiki"><b>Unversioned Files</b></a></li>
292296
<li><a href="fiveminutes.wiki"><b>Up and Running in 5 Minutes as a Single User</b></a></li>
293297
<li><a href="hints.wiki">Usage Hints &mdash; Fossil Tips And</a></li>
294298
<li><a href="javascript.md"><b>Use of JavaScript in Fossil</b></a></li>
295299
<li><a href="fiveminutes.wiki">User &mdash; Up and Running in 5 Minutes as a Single</a></li>
296300
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -76,10 +76,11 @@
76 <li><a href="whyusefossil.wiki">Control &mdash; Benefits Of Version</a></li>
77 <li><a href="concepts.wiki">Core Concepts &mdash; Fossil</a></li>
78 <li><a href="newrepo.wiki">Create A New Fossil Repository &mdash; How To</a></li>
79 <li><a href="private.wiki"><b>Creating, Syncing, and Deleting Private Branches</b></a></li>
80 <li><a href="qandc.wiki">Criticisms &mdash; Questions And</a></li>
 
81 <li><a href="customskin.md"><b>Custom Skins</b></a></li>
82 <li><a href="customskin.md">Customizing The Appearance of Web Pages &mdash; Theming:</a></li>
83 <li><a href="custom_ticket.wiki"><b>Customizing The Ticket System</b></a></li>
84 <li><a href="customgraph.md">Customizing the Timeline Graph &mdash; Theming:</a></li>
85 <li><a href="tech_overview.wiki">Databases Used By Fossil &mdash; SQLite</a></li>
@@ -121,10 +122,11 @@
121 <li><a href="../../../wiki_rules">Formatting Rules &mdash; Wiki</a></li>
122 <li><a href="forum.wiki">Forums &mdash; Fossil</a></li>
123 <li><a href="blockchain.md"><b>Fossil As Blockchain</b></a></li>
124 <li><a href="changes.wiki"><b>Fossil Changelog</b></a></li>
125 <li><a href="concepts.wiki"><b>Fossil Core Concepts</b></a></li>
 
126 <li><a href="delta_encoder_algorithm.wiki"><b>Fossil Delta Encoding Algorithm</b></a></li>
127 <li><a href="delta_format.wiki"><b>Fossil Delta Format</b></a></li>
128 <li><a href="hacker-howto.wiki"><b>Fossil Developers Guide</b></a></li>
129 <li><a href="fileformat.wiki"><b>Fossil File Format</b></a></li>
130 <li><a href="forum.wiki"><b>Fossil Forums</b></a></li>
@@ -284,12 +286,14 @@
284 <li><a href="customgraph.md"><b>Theming: Customizing the Timeline Graph</b></a></li>
285 <li><a href="theory1.wiki"><b>Thoughts On The Design Of The Fossil DVCS</b></a></li>
286 <li><a href="custom_ticket.wiki">Ticket System &mdash; Customizing The</a></li>
287 <li><a href="tickets.wiki">Ticket System &mdash; The Fossil</a></li>
288 <li><a href="customgraph.md">Timeline Graph &mdash; Theming: Customizing the</a></li>
 
289 <li><a href="hints.wiki">Tips And Usage Hints &mdash; Fossil</a></li>
290 <li><a href="bugtheory.wiki">Tracking In Fossil &mdash; Bug</a></li>
 
291 <li><a href="unvers.wiki"><b>Unversioned Files</b></a></li>
292 <li><a href="fiveminutes.wiki"><b>Up and Running in 5 Minutes as a Single User</b></a></li>
293 <li><a href="hints.wiki">Usage Hints &mdash; Fossil Tips And</a></li>
294 <li><a href="javascript.md"><b>Use of JavaScript in Fossil</b></a></li>
295 <li><a href="fiveminutes.wiki">User &mdash; Up and Running in 5 Minutes as a Single</a></li>
296
--- www/permutedindex.html
+++ www/permutedindex.html
@@ -76,10 +76,11 @@
76 <li><a href="whyusefossil.wiki">Control &mdash; Benefits Of Version</a></li>
77 <li><a href="concepts.wiki">Core Concepts &mdash; Fossil</a></li>
78 <li><a href="newrepo.wiki">Create A New Fossil Repository &mdash; How To</a></li>
79 <li><a href="private.wiki"><b>Creating, Syncing, and Deleting Private Branches</b></a></li>
80 <li><a href="qandc.wiki">Criticisms &mdash; Questions And</a></li>
81 <li><a href="css-tricks.md">CSS Tips and Tricks &mdash; Fossil</a></li>
82 <li><a href="customskin.md"><b>Custom Skins</b></a></li>
83 <li><a href="customskin.md">Customizing The Appearance of Web Pages &mdash; Theming:</a></li>
84 <li><a href="custom_ticket.wiki"><b>Customizing The Ticket System</b></a></li>
85 <li><a href="customgraph.md">Customizing the Timeline Graph &mdash; Theming:</a></li>
86 <li><a href="tech_overview.wiki">Databases Used By Fossil &mdash; SQLite</a></li>
@@ -121,10 +122,11 @@
122 <li><a href="../../../wiki_rules">Formatting Rules &mdash; Wiki</a></li>
123 <li><a href="forum.wiki">Forums &mdash; Fossil</a></li>
124 <li><a href="blockchain.md"><b>Fossil As Blockchain</b></a></li>
125 <li><a href="changes.wiki"><b>Fossil Changelog</b></a></li>
126 <li><a href="concepts.wiki"><b>Fossil Core Concepts</b></a></li>
127 <li><a href="css-tricks.md"><b>Fossil CSS Tips and Tricks</b></a></li>
128 <li><a href="delta_encoder_algorithm.wiki"><b>Fossil Delta Encoding Algorithm</b></a></li>
129 <li><a href="delta_format.wiki"><b>Fossil Delta Format</b></a></li>
130 <li><a href="hacker-howto.wiki"><b>Fossil Developers Guide</b></a></li>
131 <li><a href="fileformat.wiki"><b>Fossil File Format</b></a></li>
132 <li><a href="forum.wiki"><b>Fossil Forums</b></a></li>
@@ -284,12 +286,14 @@
286 <li><a href="customgraph.md"><b>Theming: Customizing the Timeline Graph</b></a></li>
287 <li><a href="theory1.wiki"><b>Thoughts On The Design Of The Fossil DVCS</b></a></li>
288 <li><a href="custom_ticket.wiki">Ticket System &mdash; Customizing The</a></li>
289 <li><a href="tickets.wiki">Ticket System &mdash; The Fossil</a></li>
290 <li><a href="customgraph.md">Timeline Graph &mdash; Theming: Customizing the</a></li>
291 <li><a href="css-tricks.md">Tips and Tricks &mdash; Fossil CSS</a></li>
292 <li><a href="hints.wiki">Tips And Usage Hints &mdash; Fossil</a></li>
293 <li><a href="bugtheory.wiki">Tracking In Fossil &mdash; Bug</a></li>
294 <li><a href="css-tricks.md">Tricks &mdash; Fossil CSS Tips and</a></li>
295 <li><a href="unvers.wiki"><b>Unversioned Files</b></a></li>
296 <li><a href="fiveminutes.wiki"><b>Up and Running in 5 Minutes as a Single User</b></a></li>
297 <li><a href="hints.wiki">Usage Hints &mdash; Fossil Tips And</a></li>
298 <li><a href="javascript.md"><b>Use of JavaScript in Fossil</b></a></li>
299 <li><a href="fiveminutes.wiki">User &mdash; Up and Running in 5 Minutes as a Single</a></li>
300

Keyboard Shortcuts

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