AoC 2020  Help: /style.css

The "/style.css" page:

Return the style sheet. The style sheet is assemblied from multiple sources, in order:
(1)
The built-in "default.css" style sheet containing basic defaults.

(2)
The page-specific style sheet taken from the built-in called "PAGENAME.css" where PAGENAME is the value of the name= or page= query parameters. If neither name= nor page= exist, then this section is a no-op.

(3)
The skin-specific "css.txt" file, if there one.

All of (1), (2), and (3) above (or as many as exist) are concatenated. The result is then run through TH1 with the following variables set:

  • $basename
  • $secureurl
  • $home
  • $logo
  • $background

The output from TH1 becomes the style sheet. Fossil always reports that the style sheet is cacheable.