313
edits
NeilThomas (talk | contribs) m (→Templates) |
NeilThomas (talk | contribs) m (→Colour Themes) |
||
Line 39: | Line 39: | ||
===Colour Themes=== | ===Colour Themes=== | ||
The website and templates use colour themes to make it easier to change the colour throughout the site. By downloading the colour theme pack, you can simply rename the chosen colour as 'colours.css' and it will be applied throughout your site. All colour themes have now been updated to use ''css variables'' for the available theme colours. This makes it much easier to add your theme colours to your custom pages | The website and templates use colour themes to make it easier to change the colour throughout the site. By downloading the colour theme pack, you can simply rename the chosen colour as 'colours.css' and it will be applied throughout your site. All colour themes have now been updated to use ''css variables'' for the available theme colours. This makes it much easier to add your theme colours to your custom pages, or style sheets. It is also possible to apply theme colours to the gauges tooltips in this way. | ||
For example, to add a coloured border to an element you can add the style like so: | For example, to add a coloured border to an element you can add the style like so: | ||
<nowiki><span style="border-color: var(--d2);"></span></nowiki> or <nowiki><span style="w3-theme-d2-bdr w3-border"> | <nowiki><span style="border-color: var(--d2);">**</span></nowiki> or <nowiki><span style="w3-theme-d2-bdr w3-border">**</span></nowiki>. | ||
Visit the new '''[https://weather.oaktreewebs.co.uk/ATThemes.htm Theme Viewer]''' to preview any of these themes on a basic template page. You can download individual themes directly from | Visit the new '''[https://weather.oaktreewebs.co.uk/ATThemes.htm Theme Viewer]''' to preview any of these themes on a basic template page. You can download individual themes directly from that page. Alternatively you can download all themes (plus a 'readme.txt' file explaining the styles) [[File:ColourSchemes.zip||here]] | ||
. | |||
Additional themes have now been added. The download includes a reworked default 'colours.css' stylesheet to also use css variables. | |||
The current list is: | The current list is: | ||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Theme !! | ! Theme !! Theme !! Theme !! Theme | ||
|- | |- | ||
| | | AlmondBuff || AlmostMauve || Arcadia || BasicGrey | ||
|- | |- | ||
| | | CherryTomato || ChiliOil || colours || CrocusPetal | ||
|- | |- | ||
| | | CylonYellow || Emporador || GreyBlue (new) || GreyGreen (new) | ||
|- | |- | ||
| | | GreyRed (new) || HarbourMist || Limelight || LimePunch | ||
|- | |- | ||
| | | Marsala || MartiniOlive || MeerKat || NebulasBlue | ||
|- | |- | ||
| | | QuietGrey || ReadPear || RussetOrange || SailorBlue | ||
|- | |- | ||
| | | SargassoSea || SlateGrey || SpringCrocus || Tofu | ||
|- | |- | ||
| | | UltraViolet || ValiantPoppy || WarmSand || - | ||
| | |||
| | |||
|} | |} | ||
Use this link [https://cumuluswiki.org/images/4/43/ColourSchemes.zip Additional colour schemes] to down load the schemes | Use this link [https://cumuluswiki.org/images/4/43/ColourSchemes.zip Additional colour schemes] to down load the schemes. You can view them in action at [https://weather.oaktreewebs.co.uk/ATThemes.htm Theme Viewer] page. Updated: 1st Oct 2021. |
edits