Theme CSS: Difference between revisions
Jump to navigation
Jump to search
Bubblobill (talk | contribs) (Added new page) |
Bubblobill (talk | contribs) (categorised) |
||
Line 9: | Line 9: | ||
[r: html.frame5("test", "lib://net.rptools.maptool/css/mt-stat-sheet.css")] | [r: html.frame5("test", "lib://net.rptools.maptool/css/mt-stat-sheet.css")] | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Cookbook]] | |||
[[Category:CSS]] | |||
[[Category:Themes]] |
Revision as of 13:49, 30 June 2023
There are presently two built-in style-sheets available that you can use to tailor HTML5 to whichever theme is being used on the client.
- mt-theme.css, and
- mt-stat-sheet.css (a pared-down version)
You can link these in document <head> like this
<link rel="stylesheet" href="lib://net.rptools.maptool/css/mt-theme.css" />
To find out what is contained in the files, do something like this (the results are not pretty but it gives you something you can copy and paste into an editor).
[r: html.frame5("test", "lib://net.rptools.maptool/css/mt-stat-sheet.css")]