Fossil SCM
Initial version of css-tricks.md, as requested in [https://fossil-scm.org/forum/forumpost/eb04fd28b5|forumpost/eb04fd28b5].
Commit
5900530223fc605d42b65a1f456164bb087f249db98fed600636a6f1a63a53f5
Parent
da7d816201df6be…
3 files changed
+35
+1
+4
+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 |
| --- 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 |
+1
| --- www/mkindex.tcl | ||
| +++ www/mkindex.tcl | ||
| @@ -28,10 +28,11 @@ | ||
| 28 | 28 | checkin.wiki {Check-in Checklist} |
| 29 | 29 | childprojects.wiki {Child Projects} |
| 30 | 30 | copyright-release.html {Contributor License Agreement} |
| 31 | 31 | concepts.wiki {Fossil Core Concepts} |
| 32 | 32 | contribute.wiki {Contributing Code or Documentation To The Fossil Project} |
| 33 | + css-tricks.md {Fossil CSS Tips and Tricks} | |
| 33 | 34 | customgraph.md {Theming: Customizing the Timeline Graph} |
| 34 | 35 | customskin.md {Theming: Customizing The Appearance of Web Pages} |
| 35 | 36 | customskin.md {Custom Skins} |
| 36 | 37 | custom_ticket.wiki {Customizing The Ticket System} |
| 37 | 38 | defcsp.md {The Default Content Security Policy} |
| 38 | 39 |
| --- 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 @@ | ||
| 76 | 76 | <li><a href="whyusefossil.wiki">Control — Benefits Of Version</a></li> |
| 77 | 77 | <li><a href="concepts.wiki">Core Concepts — Fossil</a></li> |
| 78 | 78 | <li><a href="newrepo.wiki">Create A New Fossil Repository — How To</a></li> |
| 79 | 79 | <li><a href="private.wiki"><b>Creating, Syncing, and Deleting Private Branches</b></a></li> |
| 80 | 80 | <li><a href="qandc.wiki">Criticisms — Questions And</a></li> |
| 81 | +<li><a href="css-tricks.md">CSS Tips and Tricks — Fossil</a></li> | |
| 81 | 82 | <li><a href="customskin.md"><b>Custom Skins</b></a></li> |
| 82 | 83 | <li><a href="customskin.md">Customizing The Appearance of Web Pages — Theming:</a></li> |
| 83 | 84 | <li><a href="custom_ticket.wiki"><b>Customizing The Ticket System</b></a></li> |
| 84 | 85 | <li><a href="customgraph.md">Customizing the Timeline Graph — Theming:</a></li> |
| 85 | 86 | <li><a href="tech_overview.wiki">Databases Used By Fossil — SQLite</a></li> |
| @@ -121,10 +122,11 @@ | ||
| 121 | 122 | <li><a href="../../../wiki_rules">Formatting Rules — Wiki</a></li> |
| 122 | 123 | <li><a href="forum.wiki">Forums — Fossil</a></li> |
| 123 | 124 | <li><a href="blockchain.md"><b>Fossil As Blockchain</b></a></li> |
| 124 | 125 | <li><a href="changes.wiki"><b>Fossil Changelog</b></a></li> |
| 125 | 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> | |
| 126 | 128 | <li><a href="delta_encoder_algorithm.wiki"><b>Fossil Delta Encoding Algorithm</b></a></li> |
| 127 | 129 | <li><a href="delta_format.wiki"><b>Fossil Delta Format</b></a></li> |
| 128 | 130 | <li><a href="hacker-howto.wiki"><b>Fossil Developers Guide</b></a></li> |
| 129 | 131 | <li><a href="fileformat.wiki"><b>Fossil File Format</b></a></li> |
| 130 | 132 | <li><a href="forum.wiki"><b>Fossil Forums</b></a></li> |
| @@ -284,12 +286,14 @@ | ||
| 284 | 286 | <li><a href="customgraph.md"><b>Theming: Customizing the Timeline Graph</b></a></li> |
| 285 | 287 | <li><a href="theory1.wiki"><b>Thoughts On The Design Of The Fossil DVCS</b></a></li> |
| 286 | 288 | <li><a href="custom_ticket.wiki">Ticket System — Customizing The</a></li> |
| 287 | 289 | <li><a href="tickets.wiki">Ticket System — The Fossil</a></li> |
| 288 | 290 | <li><a href="customgraph.md">Timeline Graph — Theming: Customizing the</a></li> |
| 291 | +<li><a href="css-tricks.md">Tips and Tricks — Fossil CSS</a></li> | |
| 289 | 292 | <li><a href="hints.wiki">Tips And Usage Hints — Fossil</a></li> |
| 290 | 293 | <li><a href="bugtheory.wiki">Tracking In Fossil — Bug</a></li> |
| 294 | +<li><a href="css-tricks.md">Tricks — Fossil CSS Tips and</a></li> | |
| 291 | 295 | <li><a href="unvers.wiki"><b>Unversioned Files</b></a></li> |
| 292 | 296 | <li><a href="fiveminutes.wiki"><b>Up and Running in 5 Minutes as a Single User</b></a></li> |
| 293 | 297 | <li><a href="hints.wiki">Usage Hints — Fossil Tips And</a></li> |
| 294 | 298 | <li><a href="javascript.md"><b>Use of JavaScript in Fossil</b></a></li> |
| 295 | 299 | <li><a href="fiveminutes.wiki">User — Up and Running in 5 Minutes as a Single</a></li> |
| 296 | 300 |
| --- www/permutedindex.html | |
| +++ www/permutedindex.html | |
| @@ -76,10 +76,11 @@ | |
| 76 | <li><a href="whyusefossil.wiki">Control — Benefits Of Version</a></li> |
| 77 | <li><a href="concepts.wiki">Core Concepts — Fossil</a></li> |
| 78 | <li><a href="newrepo.wiki">Create A New Fossil Repository — 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 — 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 — 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 — Theming:</a></li> |
| 85 | <li><a href="tech_overview.wiki">Databases Used By Fossil — SQLite</a></li> |
| @@ -121,10 +122,11 @@ | |
| 121 | <li><a href="../../../wiki_rules">Formatting Rules — Wiki</a></li> |
| 122 | <li><a href="forum.wiki">Forums — 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 — Customizing The</a></li> |
| 287 | <li><a href="tickets.wiki">Ticket System — The Fossil</a></li> |
| 288 | <li><a href="customgraph.md">Timeline Graph — Theming: Customizing the</a></li> |
| 289 | <li><a href="hints.wiki">Tips And Usage Hints — Fossil</a></li> |
| 290 | <li><a href="bugtheory.wiki">Tracking In Fossil — 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 — 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 — 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 — Benefits Of Version</a></li> |
| 77 | <li><a href="concepts.wiki">Core Concepts — Fossil</a></li> |
| 78 | <li><a href="newrepo.wiki">Create A New Fossil Repository — 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 — Questions And</a></li> |
| 81 | <li><a href="css-tricks.md">CSS Tips and Tricks — 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 — 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 — Theming:</a></li> |
| 86 | <li><a href="tech_overview.wiki">Databases Used By Fossil — SQLite</a></li> |
| @@ -121,10 +122,11 @@ | |
| 122 | <li><a href="../../../wiki_rules">Formatting Rules — Wiki</a></li> |
| 123 | <li><a href="forum.wiki">Forums — 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 — Customizing The</a></li> |
| 289 | <li><a href="tickets.wiki">Ticket System — The Fossil</a></li> |
| 290 | <li><a href="customgraph.md">Timeline Graph — Theming: Customizing the</a></li> |
| 291 | <li><a href="css-tricks.md">Tips and Tricks — Fossil CSS</a></li> |
| 292 | <li><a href="hints.wiki">Tips And Usage Hints — Fossil</a></li> |
| 293 | <li><a href="bugtheory.wiki">Tracking In Fossil — Bug</a></li> |
| 294 | <li><a href="css-tricks.md">Tricks — 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 — 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 — Up and Running in 5 Minutes as a Single</a></li> |
| 300 |