Jump to content

MediaWiki:Timeless.css: Difference between revisions

From Stoulram
add dark mode css
 
import dark theme
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Timeless skin */
/* All CSS here will be loaded for users of the Timeless skin */
@import 'https://www.mediawiki.org/wiki/Skin:Timeless-DarkCSS/timeless-dark.css?action=raw&ctype=text/css';


:root {
:root {

Latest revision as of 03:16, 17 September 2026

/* All CSS here will be loaded for users of the Timeless skin */

@import 'https://www.mediawiki.org/wiki/Skin:Timeless-DarkCSS/timeless-dark.css?action=raw&ctype=text/css';

:root {
    --wiki-bg: #ffffff;
    --wiki-text: #202122;
    --wiki-content-bg: #ffffff;
    --wiki-border: #a2a9b1;
    --wiki-link: #0645ad;
}

html.dark-mode {
    --wiki-bg: #181a1b;
    --wiki-text: #e8e6e3;
    --wiki-content-bg: #202122;
    --wiki-border: #54595d;
    --wiki-link: #6ea8fe;
}