MediaWiki:Common.css
MediaWiki interface page
More actions
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.
/* =========================
Hide Unused Citizen Toggles
========================= */
#skin-client-prefs-skin-theme,
#skin-client-prefs-citizen-feature-pure-black {
display: none !important;
}
/* Hide namespace prefix in page title */
html.lt-theme-default .mw-page-title-namespace,
html.lt-theme-default .mw-page-title-separator {
display: none;
}
/* =========================
Base Infobox Structure
========================= */
.lt-infobox {
max-width: 320px;
float: right;
margin: 0 0 1rem 1.5rem;
padding: 0;
}
.lt-infobox-title {
text-align: center;
letter-spacing: 2px;
}
.lt-infobox-image img {
width: 100%;
display: block;
}
.lt-infobox-section {
padding: 4px 12px;
}
.lt-infobox-row {
display: flex;
justify-content: space-between;
}
.lt-infobox-label,
.lt-infobox-value {
font-size: 17px;
}
/* =========================
Velvet Theme
========================= */
/* Velvet Floating Grid */
html.lt-theme-default body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: -1;
background-image:
linear-gradient(rgba(139,155,180,0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(139,155,180,0.05) 1px, transparent 1px);
background-size: 40px 40px;
animation: lt-grid-drift 5s linear infinite;
}
@keyframes lt-grid-drift {
from {
background-position: 0 0, 0 0;
}
to {
background-position: 40px 40px, 40px 40px;
}
}
html.lt-theme-default {
/* Body Text */
color: #d6e2ff;
}
html.lt-theme-default body {
background-image:
linear-gradient(rgba(139,155,180,0.05) 1px, transparent 1px),
linear-gradient(90deg, rgba(139,155,180,0.05) 1px, transparent 1px);
background-size: 40px 40px;
}
/* Velvet Headers */
html.lt-theme-default h1,
html.lt-theme-default h2,
html.lt-theme-default h3,
html.lt-theme-default .mw-page-title-main {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
color: #8fb4ff;
letter-spacing: 2px;
}
html.lt-theme-default .mw-page-title-main {
font-size: 50px;
text-shadow: 0 0 6px rgba(143,180,255,0.4);
}
html.lt-theme-default h2 {
border-bottom: 2px solid #8fb4ff;
padding-bottom: 6px;
text-shadow: 0 0 6px rgba(143,180,255,0.4);
}
/* Velvet Wordmark – Icy + Breathing */
html.lt-theme-default .mw-logo-wordmark {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
color: #d6e2ff;
letter-spacing: 2px;
animation: velvetWordmarkGlow 4s ease-in-out infinite alternate;
}
@keyframes velvetWordmarkGlow {
from {
text-shadow:
0 0 4px rgba(143,180,255,0.3),
0 0 8px rgba(143,180,255,0.2);
}
to {
text-shadow:
0 0 8px rgba(143,180,255,0.6),
0 0 16px rgba(143,180,255,0.4);
}
}
/* Individual Floating + Rotating Letters */
html.lt-theme-default .velvet-letter {
display: inline-block;
animation: velvetFloatRotate 8s ease-in-out infinite alternate;
}
@keyframes velvetFloatRotate {
0% {
transform: translateY(0px) rotate(-3.0deg);
}
50% {
transform: translateY(-8px) rotate(3.0deg);
}
100% {
transform: translateY(0px) rotate(0.0deg);
}
}
/* Velvet Footer Body */
html.lt-theme-default .mw-footer.citizen-footer::before {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background:
radial-gradient(
ellipse at top center,
rgba(143,180,255,0.12) 0%,
transparent 70%
);
opacity: 0.5;
}
html.lt-theme-default .mw-footer.citizen-footer {
position: relative;
background:
linear-gradient(
to bottom,
rgba(8,12,28,0.9) 0%,
rgba(3,6,15,1) 100%
);
border-top: 1px solid rgba(143,180,255,0.25);
box-shadow:
inset 0 20px 40px rgba(0,0,0,0.5);
}
html.lt-theme-default .citizen-footer__desc,
html.lt-theme-default #footer-tagline {
color: rgba(214,226,255,0.75);
}
html.lt-theme-default #footer-places a {
color: #8fb4ff;
transition: color 0.2s ease;
}
html.lt-theme-default #footer-places a:hover {
color: #d6e2ff;
}
/* Velvet Header Shell */
html.lt-theme-default .citizen-header {
background: #050814;
border-right: 1px solid rgba(143,180,255,0.25);
box-shadow: inset -1px 0 0 rgba(143,180,255,0.15);
}
/* Velvet Navigation Links */
html.lt-theme-default .citizen-menu__content-list a {
color: #d6e2ff;
}
html.lt-theme-default .citizen-menu__content-list a:hover {
color: #8fb4ff;
text-shadow: 0 0 6px rgba(143,180,255,0.4);
}
/* Velvet Drawer Panel */
html.lt-theme-default .citizen-drawer__card {
background: #050814;
border-left: 1px solid rgba(143,180,255,0.25);
box-shadow: -4px 0 20px rgba(0,0,0,0.6);
}
html.lt-theme-default .citizen-header::after {
content: "";
position: absolute;
top: 0;
right: 0;
width: 2px;
height: 100%;
background: linear-gradient(
to bottom,
transparent,
rgba(143,180,255,0.4),
transparent
);
}
/* ======== Velvet Infobox ======== */
/* Velvet Breathing Glow */
@keyframes lt-velvet-breathe {
0% {
box-shadow: 0 0 10px rgba(143,180,255,0.10);
}
50% {
box-shadow: 0 0 22px rgba(143,180,255,0.22);
}
100% {
box-shadow: 0 0 10px rgba(143,180,255,0.10);
}
}
html.lt-theme-default .lt-infobox {
background: #050814;
border: 1px solid #8fb4ff;
outline: 1px solid #8fb4ff;
outline-offset: -6px;
box-shadow: 0 0 14px rgba(143,180,255,0.15);
animation: lt-velvet-breathe 6s ease-in-out infinite;
}
html.lt-theme-default .lt-infobox-title {
font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
color: #8fb4ff;
text-transform: uppercase;
letter-spacing: 4px;
padding: 14px 10px 10px 10px;
border-bottom: 1px solid rgba(143,180,255,0.4);
font-size: 25px;
text-shadow: 0 0 6px rgba(143,180,255,0.4);
}
html.lt-theme-default .lt-infobox-image {
padding: 6px;
border-bottom: 1px solid rgba(143,180,255,0.3);
}
html.lt-theme-default .lt-infobox-row {
padding: 8px 12px;
border-bottom: 1px solid rgba(143,180,255,0.25);
}
html.lt-theme-default .lt-infobox-row:last-child {
border-bottom: none;
}
html.lt-theme-default .lt-infobox-label {
color: #8fb4ff;
font-family: "Courier New", monospace;
letter-spacing: 1px;
}
html.lt-theme-default .lt-infobox-value {
font-family: "Courier New", monospace;
color: #d6e2ff;
}
/* Scoped Velvet Links */
html.lt-theme-default a {
color: #8fb4ff;
}