MediaWiki:Common.css: Difference between revisions
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: # | background: #f8fafc; | ||
color: # | color: #0f172a; | ||
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; | |||
} | } | ||
a { | a { | ||
color: # | color: #2563eb; | ||
text-decoration: none; | |||
} | } | ||
a: | a:hover { | ||
text-decoration: underline; | |||
} | } | ||
| Line 17: | Line 19: | ||
.mw-page-container, | .mw-page-container, | ||
.vector-body, | .vector-body, | ||
.skin-minerva .content { | .skin-minerva .content { | ||
background: # | background: #ffffff; | ||
color: # | 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: # | .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 { | |||
.mw- | background: #ffffff; | ||
background: # | color: #475569; | ||
color: # | border-top: 1px solid #e2e8f0; | ||
border: 1px solid # | |||
} | } | ||
| Line 40: | Line 55: | ||
textarea, | textarea, | ||
select { | select { | ||
background: # | background: #ffffff; | ||
color: # | color: #0f172a; | ||
border: 1px solid # | border: 1px solid #cbd5e1; | ||
border-radius: 8px; | |||
} | } | ||
| Line 57: | Line 73: | ||
input[type="submit"]:hover { | input[type="submit"]:hover { | ||
background: #1d4ed8; | background: #1d4ed8; | ||
} | } | ||
| Line 88: | Line 80: | ||
} | } | ||
. | table, | ||
# | .infobox, | ||
.wikitable { | |||
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;
}