MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Player infobox |
Player infobox |
||
| Line 88: | Line 88: | ||
} | } | ||
. | .portable-infobox.ab-infobox { | ||
.ab | |||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
| Line 100: | Line 98: | ||
} | } | ||
. | .portable-infobox.ab-infobox .pi-title { | ||
.ab | |||
font-family: var(--ab-display); | font-family: var(--ab-display); | ||
font-weight: 400; | font-weight: 400; | ||
text-align: center; | text-align: center; | ||
background: transparent; | |||
margin: 0; | |||
padding: 0.55em 0.75em; | |||
border: 0; | |||
} | |||
.portable-infobox.ab-infobox .pi-image { | |||
margin: 0; | |||
background: var(--ab-surface); | |||
} | } | ||
. | .portable-infobox.ab-infobox .pi-data { | ||
.ab | |||
display: flex; | display: flex; | ||
flex-direction: row; | flex-direction: row; | ||
| Line 120: | Line 123: | ||
} | } | ||
. | .portable-infobox.ab-infobox .pi-data-label, | ||
.ab-infobox | .portable-infobox.ab-infobox h3.pi-data-label, | ||
. | .portable-infobox.ab-infobox .pi-data-value { | ||
.ab | |||
. | |||
.ab | |||
font-family: var(--ab-font); | font-family: var(--ab-font); | ||
font-size: 0.875rem; | font-size: 0.875rem; | ||
| Line 136: | Line 133: | ||
padding: 0; | padding: 0; | ||
border: 0; | border: 0; | ||
background: transparent; | |||
} | } | ||
. | .portable-infobox.ab-infobox .pi-data-label { | ||
.ab | |||
color: var(--ab-muted); | color: var(--ab-muted); | ||
flex: 0 0 42%; | flex: 0 0 42%; | ||
} | } | ||
. | .portable-infobox.ab-infobox .pi-data-value { | ||
.ab | |||
flex: 1 1 auto; | flex: 1 1 auto; | ||
text-align: right; | text-align: right; | ||
} | } | ||
.ab- | .portable-infobox.ab-infobox .pi-navigation { | ||
text-align: center; | |||
background: transparent; | |||
margin: 0; | |||
padding: 0.55em 0.75em; | |||
. | |||
} | } | ||
.ab-level-thumb, | |||
.ab-player-thumb { | .ab-player-thumb { | ||
display: block; | display: block; | ||
width: 100%; | width: 100%; | ||
height: auto; | height: auto; | ||
background: var(--ab-surface); | background: var(--ab-surface); | ||
} | } | ||
.ab-player- | .ab-player-infobox .pi-image { | ||
aspect-ratio: 1 / 1; | |||
overflow: hidden; | |||
} | } | ||
.ab-player-thumb { | |||
height: 100%; | |||
.ab-player- | object-fit: cover; | ||
} | } | ||
Revision as of 22:01, 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;
}
.portable-infobox.ab-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);
}
.portable-infobox.ab-infobox .pi-title {
font-family: var(--ab-display);
font-weight: 400;
text-align: center;
background: transparent;
margin: 0;
padding: 0.55em 0.75em;
border: 0;
}
.portable-infobox.ab-infobox .pi-image {
margin: 0;
background: var(--ab-surface);
}
.portable-infobox.ab-infobox .pi-data {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
gap: 0.5em;
padding: 0.35em 0.75em;
overflow: hidden;
}
.portable-infobox.ab-infobox .pi-data-label,
.portable-infobox.ab-infobox h3.pi-data-label,
.portable-infobox.ab-infobox .pi-data-value {
font-family: var(--ab-font);
font-size: 0.875rem;
font-weight: 600;
line-height: 1.3;
margin: 0;
padding: 0;
border: 0;
background: transparent;
}
.portable-infobox.ab-infobox .pi-data-label {
color: var(--ab-muted);
flex: 0 0 42%;
}
.portable-infobox.ab-infobox .pi-data-value {
flex: 1 1 auto;
text-align: right;
}
.portable-infobox.ab-infobox .pi-navigation {
text-align: center;
background: transparent;
margin: 0;
padding: 0.55em 0.75em;
}
.ab-level-thumb,
.ab-player-thumb {
display: block;
width: 100%;
height: auto;
background: var(--ab-surface);
}
.ab-player-infobox .pi-image {
aspect-ratio: 1 / 1;
overflow: hidden;
}
.ab-player-thumb {
height: 100%;
object-fit: cover;
}
.ab-infobox-central,
.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-infobox-central:hover,
.ab-level-central:hover {
color: var(--ab-link-hover);
}
.ab-infobox-central .ab-central-icon,
.ab-infobox-central .ab-central-icon svg,
.ab-level-central .ab-central-icon,
.ab-level-central .ab-central-icon svg {
display: block;
width: 16px;
height: 16px;
flex-shrink: 0;
}