Theme CSS

From RPTools Wiki
Revision as of 13:49, 30 June 2023 by Bubblobill (talk | contribs) (categorised)
Jump to navigation Jump to search

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")]