MediaWiki:Gadget-Less.css

From Illerai

This is an old revision of this page, as edited by imported>Shayani at 18:42, 13 October 2023 (need to explicitly specify dark mode styles for each theme). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

After saving, you may need to bypass your browser's cache to see the changes. For further information, see Wikipedia:Bypass your cache.

  • In most Windows and Linux browsers: Hold down Ctrl and press F5.
  • In Safari: Hold down ⇧ Shift and click the Reload button.
  • In Chrome and Firefox for Mac: Hold down both ⌘ Cmd+⇧ Shift and press R.
/* This wouldn't be needed if the interface possibly used OOUI instead of being
 * hand-crafted */

body.wgl-theme-dark #less-modal,
body.wgl-theme-browntown #less-modal {
	background: var(--body-light) !important;
	color: var(--text-color) !important;
}

body.wgl-theme-dark #less-modal a,
body.wgl-theme-browntown #less-modal a {
	color: var(--link-color) !important;
}

body.wgl-theme-dark #less-modal #less-header,
body.wgl-theme-browntown #less-modal #less-header {
	border-color: var(--body-main) !important;
}

body.wgl-theme-dark #less-modal #less-close,
body.wgl-theme-browntown #less-modal #less-close {
	background-color: transparent !important;
}

body.wgl-theme-dark #less-overlay,
body.wgl-theme-browntown #less-overlay {
	background-color: var(--ooui-window-background) !important;
}