MediaWiki:Common.css

From sorzkode wiki
Revision as of 01:09, 20 June 2025 by Sorzkode (talk | contribs) (Created page with "CSS placed here will be applied to all skins: Background and text colors: body, #mw-content, #mw-content .mw-parser-output, #mw-page-base, #mw-head-base, #mw-navigation, #mw-footer { background-color: #1e1e1e !important; color: #dcdcdc !important; } Link colors: a { color: #4fc3f7 !important; } a:visited { color: #ba68c8 !important; } a:hover { color: #81d4fa !important; } Header and navigation: #mw-head, #mw-panel { backgrou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 be applied to all skins */
/* Background and text colors */
body,
#mw-content,
#mw-content .mw-parser-output,
#mw-page-base,
#mw-head-base,
#mw-navigation,
#mw-footer {
    background-color: #1e1e1e !important;
    color: #dcdcdc !important;
}

/* Link colors */
a {
    color: #4fc3f7 !important;
}
a:visited {
    color: #ba68c8 !important;
}
a:hover {
    color: #81d4fa !important;
}

/* Header and navigation */
#mw-head,
#mw-panel {
    background-color: #2c2c2c !important;
    border-color: #444 !important;
}
#p-logo a {
    background-color: transparent !important;
}

/* Footer */
#footer {
    background-color: #2c2c2c !important;
    color: #aaa !important;
}

/* Search box and inputs */
input,
textarea,
select {
    background-color: #333 !important;
    color: #ddd !important;
    border: 1px solid #555 !important;
}

/* Table styling */
table {
    background-color: #2a2a2a !important;
    color: #ddd !important;
    border-color: #444 !important;
}

/* Messages (like success or error) */
.mw-message-box {
    background-color: #333 !important;
    color: #ddd !important;
}

/* Code blocks */
pre,
code {
    background-color: #111 !important;
    color: #eee !important;
}