MediaWiki:Common.css

From OHMS Wiki
Revision as of 02:36, 4 April 2026 by Ohms2k15 (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 be applied to all skins */
body {
  background: #f8fafc;
  color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: #2563eb;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#content,
.mw-body,
.mw-page-container,
.vector-body,
.skin-minerva .content {
  background: #ffffff;
  color: #0f172a;
  border: none;
  box-shadow: none;
}

h1, h2, h3, h4, h5, h6,
.firstHeading,
#firstHeading {
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.02em;
}

#mw-navigation,
.vector-header,
.minerva-header,
#p-navigation,
#p-personal,
#left-navigation,
#right-navigation {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

#footer,
.mw-footer {
  background: #ffffff;
  color: #475569;
  border-top: 1px solid #e2e8f0;
}

input,
textarea,
select {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

button,
input[type="submit"] {
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
}

button:hover,
input[type="submit"]:hover {
  background: #1d4ed8;
}

.mw-body-content {
  font-size: 16px;
  line-height: 1.7;
}

table,
.infobox,
.wikitable {
  border: 1px solid #e2e8f0;
  background: #ffffff;
}

th,
td {
  border: 1px solid #e2e8f0;
}