MediaWiki:ColorSchemes.css

/*===================	 Color Schemes ===================*/

/* * Test your colorscheme elsewhere before changing it in here. * It might take a while for the wiki to update the new colors, please be patient and clear your browser cache. * If you change an already existing color scheme, you must say why you changed it or your edit will be undone. * * To create a new color scheme, use this format: * .NAME, .pi-theme-NAME { --colorscheme-bg: #XXXXXX; --colorscheme-txt: #YYYYYY; } * where NAME is the name of the colorscheme, XXXXXX is the hex value of the background color and YYYYYY is the hex value of the text color. * * To use a color scheme, is generally require to add the CSS class "ColorScheme" + the color scheme class to the element desired. */ /* Color schemes */ .DefaultColors, .pi-theme-DefaultColors { --colorscheme-bg: #012E59; --colorscheme-txt: #FFFFFF; } .SubTabsColors, .pi-theme-SubTabsColors { --colorscheme-bg: #012E59; --colorscheme-txt: #FFFFFF; } .TestColors, .pi-theme-TestColors { --colorscheme-bg: #000000; --colorscheme-txt: #FFFFFF; }

/******************   Auxiliar CSS ******************/

/* Applies the color scheme */ .cs,				/* legacy */ .ColorScheme { background-color: var(--colorscheme-bg); color: var(--colorscheme-txt); } /* Applies the color scheme to links */ .cs a,				/* legacy */ .ColorScheme a { color: inherit; background: inherit; }