MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Level infobox |
Level infobox |
||
| Line 117: | Line 117: | ||
.ab-level-thumb--placeholder { | .ab-level-thumb--placeholder { | ||
min-height: 152px; | min-height: 152px; | ||
} | |||
.ab-level-infobox .pi-navigation { | |||
text-align: center; | |||
} | |||
.ab-level-central { | |||
display: inline-flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.4em; | |||
color: var(--ab-link); | |||
font-weight: 700; | |||
text-decoration: none; | |||
} | |||
.ab-level-central:hover { | |||
color: var(--ab-link-hover); | |||
} | |||
.ab-level-central .ab-central-icon, | |||
.ab-level-central .ab-central-icon svg { | |||
display: block; | |||
width: 16px; | |||
height: 16px; | |||
flex-shrink: 0; | |||
} | } | ||
Revision as of 21:26, 27 August 2026
/* hide-upv2-edit */
@import url("https://fonts.googleapis.com/css2?family=Fredoka+One&family=Nunito+Sans:wght@400;600;700;800&display=swap");
:root,
html.skin-theme-clientpref-night,
html.skin-theme-clientpref-os {
--ab-bg: #18181c;
--ab-panel: #202026;
--ab-surface: #2a2a30;
--ab-border: #37373e;
--ab-text: #f0f0f5;
--ab-muted: #a0a0aa;
--ab-link: #6496ff;
--ab-link-hover: #78aaff;
--ab-font: "Nunito Sans", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
--ab-display: "Fredoka One", cursive;
--color-surface-0: var(--ab-bg);
--color-surface-1: var(--ab-panel);
--color-surface-2: var(--ab-surface);
--color-surface-3: #32323a;
--color-surface-4: #3a3a44;
--color-base: var(--ab-text);
--color-subtle: var(--ab-muted);
--color-progressive: var(--ab-link);
--color-progressive--hover: var(--ab-link-hover);
--color-link: var(--ab-link);
--color-visited: #78aaff;
--border-color-base: var(--ab-border);
--font-family-base: var(--ab-font);
--font-family-heading: var(--ab-display);
--font-family-citizen-base: "Nunito Sans";
}
html {
color-scheme: dark;
background: var(--ab-bg);
}
body.skin-citizen {
font-family: var(--ab-font);
background: var(--ab-bg);
color: var(--ab-text);
}
.skin-citizen .mw-body h1,
.skin-citizen .firstHeading,
.skin-citizen h1,
.skin-citizen h2,
.skin-citizen h3,
.skin-citizen h4,
.skin-citizen h5,
.skin-citizen h6 {
font-family: var(--ab-display);
font-weight: 400;
}
.skin-citizen a {
color: var(--ab-link);
}
.skin-citizen a:hover {
color: var(--ab-link-hover);
}
.profile-header-attributes > h2,
.profile-avatar-edit-action,
.profile-header-actions,
#userProfileV2-edit,
.profile-externalLinks,
.profile-header-about {
display: none !important;
}
#ab-hide-upv2-edit {
display: none;
}
#ca-ab-central a span:last-child {
white-space: nowrap;
}
#ca-ab-central .ab-central-icon,
#ca-ab-central .ab-central-icon svg {
display: block;
width: 20px;
height: 20px;
flex-shrink: 0;
}
.ab-level-infobox {
float: right;
clear: right;
width: 270px;
margin: 0 0 1.2em 1.2em;
background: var(--ab-panel);
border: 1px solid var(--ab-border);
color: var(--ab-text);
}
.ab-level-infobox .pi-title {
font-family: var(--ab-display);
font-weight: 400;
text-align: center;
}
.ab-level-infobox .pi-data-label {
color: var(--ab-muted);
}
.ab-level-thumb {
display: block;
width: 100%;
height: auto;
background: var(--ab-surface);
}
.ab-level-thumb--placeholder {
min-height: 152px;
}
.ab-level-infobox .pi-navigation {
text-align: center;
}
.ab-level-central {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.4em;
color: var(--ab-link);
font-weight: 700;
text-decoration: none;
}
.ab-level-central:hover {
color: var(--ab-link-hover);
}
.ab-level-central .ab-central-icon,
.ab-level-central .ab-central-icon svg {
display: block;
width: 16px;
height: 16px;
flex-shrink: 0;
}