MediaWiki:Common.css: Difference between revisions

From OHMS Wiki
Jump to navigation Jump to search
Created page with "→CSS placed here will be applied to all skins: body { background: #0b1220; color: #e5e7eb; } a { color: #60a5fa; } a:visited { color: #a78bfa; } #content, .mw-body, .mw-page-container, .vector-body, .minerva-body, .skin-minerva .content { background: #111827; color: #e5e7eb; border: none; box-shadow: none; } h1, h2, h3, h4, h5, h6 { color: #f9fafb; } pre, code, .mw-code { background: #0f172a; color: #e2e8f0; border: 1px solid #334155; }..."
 
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
body {
body {
   background: #0b1220;
   background: #f8fafc;
   color: #e5e7eb;
   color: #0f172a;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
}


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


a:visited {
a:hover {
   color: #a78bfa;
   text-decoration: underline;
}
}


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


h1, h2, h3, h4, h5, h6 {
h1, h2, h3, h4, h5, h6,
   color: #f9fafb;
.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;
}
}


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


Line 40: Line 55:
textarea,
textarea,
select {
select {
   background: #0f172a;
   background: #ffffff;
   color: #e5e7eb;
   color: #0f172a;
   border: 1px solid #475569;
   border: 1px solid #cbd5e1;
  border-radius: 8px;
}
}


Line 57: Line 73:
input[type="submit"]:hover {
input[type="submit"]:hover {
   background: #1d4ed8;
   background: #1d4ed8;
}
#mw-navigation,
.vector-header,
.minerva-header,
#p-navigation,
#p-personal,
#left-navigation,
#right-navigation {
  background: #0f172a;
  border-color: #1f2937;
}
#footer,
.mw-footer {
  background: #0f172a;
  color: #cbd5e1;
  border-top: 1px solid #1f2937;
}
.mw-portlet,
.vector-menu,
.portal {
  background: transparent;
}
}


Line 88: Line 80:
}
}


.firstHeading,
table,
#firstHeading {
.infobox,
   font-weight: 700;
.wikitable {
   letter-spacing: 0.2px;
  border: 1px solid #e2e8f0;
   background: #ffffff;
}
 
th,
td {
   border: 1px solid #e2e8f0;
}
}

Revision as of 02:36, 4 April 2026

/* 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;
}