MediaWiki:Gadget-swatch-gradients.user.css
Appearance
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==UserStyle==
@name gradient - all swatch gradients
@description .field_GNU (FS), .field_LGBT
@version 1.0.6
@author reverseDragon
@namespace github.com/openstyles/stylus
==/UserStyle== */
/* To turn this on all the time, go to Preferences and select gadget-swatch-gradients - [https://research.moraleconomy.au/index.php?title=Special:Preferences#mw-prefsection-gadgets]
To easily toggle this style on and off, install a user styles add-on, and then open this URL:
https://research.moraleconomy.au/index.php?action=raw&title=MediaWiki:Gadget-swatch-gradients.user.css */
@media screen {
/* tag LGBT - LGBT tradition ; rainbow gradient */
.hue .field_LGBT { border-color: #1b3671; background: #a399f2; }
.hue li.field_LGBT:before, ol.hue li.field_LGBT:before, ol.hue li[value].field_LGBT:before {
background: #a399f2 linear-gradient(90deg,rgba(194, 87, 87, 0.7), rgba(170, 154, 75, 0.7), rgba(147, 219, 64, 0.7), rgba(123, 224, 140, 0.7), rgba(96, 210, 188, 0.7), rgba(70, 196, 235, 0.7), rgba(96, 116, 230, 0.7), rgba(119, 47, 173, 0.7));
border-left-color: #680f06; border-right-color: #650668;
}
dl.hue .field_LGBT:before, dl.hue .field_LGBT .figure { background: #a399f2 linear-gradient(135deg,rgba(194,87,87,0.7),rgba(170,154,75,0.7),rgba(178,219,64,0.7),rgba(123,224,167,0.7),rgba(15, 177, 240, 0.7),rgba(90, 85, 244, 0.7)); }
/* tag FS - Free Software movement ; emperor penguin gradient */
.hue .field_GNU { background: #78b5c8; border-color: #ec8500; }
.hue li.field_GNU:before, ol.hue li.field_GNU:before, ol.hue li[value].field_GNU:before, ol.hue li dfn.field_GNU:before,
ol.hue .field_GNU .mix-match,
.hue-term .mix-match.field_GNU {
background: #292960; border-color: #ec8500;
}
dl.hue .field_GNU:before, dl.hue .field_GNU .figure { background: #78b5c8 linear-gradient(35deg,#08080b,#06062b,#ec4d00,#e8c50a,#f0e4b6,#d7f1f9,#b6dae6,#14a3ce); }
}
/* [[Category:Hue configuration Gadgets]]
based on styles: [[MediaWiki:Gadget-LGBT-rainbow.user.css]] [[MediaWiki:Gadget-FS-penguin.user.css]] */