MediaWiki:Common.css

From Structorica Wiki
Revision as of 13:51, 30 December 2025 by Ivan (talk | contribs)
Jump to navigation Jump to search

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.
/* CSS placed here will apply to all skins */

/*** BASE STYLES AND SETTINGS ***/

/** Color variables that could be changed by various skin themes */

/* LIGHT THEME - default */
:root,
.skin-invert,
.notheme {
    --background-color-base: #303031; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */
    --color-base: #303031;
}

/* DARK THEME - Structorica Dark Theme */
:root .stw-theme-dark {
    --background-color-base: #161618; /* Background Colors for static elements (for page layout, sections, etc.) from here on. */
    --color-base: #f8f5f4;
}

/* Img */
.img-responsive,
.img-responsive img {
    max-width: 100%;
    height: auto;
}


.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame {
	background-color: var(--background-color-base);
}
.oo-ui-panelLayout-framed,
.oo-ui-layout-framed {
    background-color: var(--background-color-base) !important;
}