MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* | /* THEME TOGGLES */ | ||
#skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(1), | #skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(1), | ||
#skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(2) { | #skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(2) { | ||
| Line 17: | Line 15: | ||
} | } | ||
/* | /* DARK MODE COLORS */ | ||
:root.skin-theme-clientpref-night { | :root.skin-theme-clientpref-night { | ||
--color-surface-0: rgb(3, 7, 30); | --color-surface-0: rgb(3, 7, 30); | ||
| Line 31: | Line 27: | ||
} | } | ||
/* | /* HEADER */ | ||
.mw-header { | .mw-header { | ||
background: linear-gradient(45deg, rgb(220, 47, 2) 0%, rgb(232, 93, 4) 50%, rgb(250, 163, 7) 100%) !important; | background: linear-gradient(45deg, rgb(220, 47, 2) 0%, rgb(232, 93, 4) 50%, rgb(250, 163, 7) 100%) !important; | ||
| Line 42: | Line 36: | ||
} | } | ||
/* | /* DRAWER */ | ||
#citizen-drawer__card, | #citizen-drawer__card, | ||
.citizen-drawer__card { | .citizen-drawer__card { | ||
| Line 74: | Line 66: | ||
} | } | ||
/* | /* MAIN PAGE */ | ||
.pyre-hero { | .pyre-hero { | ||
background: var(--color-surface-1, #0a0e24); | background: var(--color-surface-1, #0a0e24); | ||
| Line 117: | Line 107: | ||
} | } | ||
/* | /* SHARED CARD COMPONENT */ | ||
.pyre-card { | .pyre-card { | ||
border: 1px solid var(--border-color-base, #a2a9b1); | border: 1px solid var(--border-color-base, #a2a9b1); | ||
| Line 143: | Line 131: | ||
} | } | ||
/* | /* TERM HIGHLIGHT */ | ||
.pyre-term { | .pyre-term { | ||
cursor: pointer; | cursor: pointer; | ||
} | |||
/* HIDE REVS BAR */ | |||
.approvedRevs-bar { | |||
display: none !important; | |||
} | } | ||
Revision as of 14:53, 19 March 2026
/* THEME TOGGLES */
#skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(1),
#skin-client-prefs-skin-theme .citizen-client-prefs-radio:nth-child(2) {
display: none !important;
}
#skin-client-prefs-skin-theme form {
display: flex !important;
flex-direction: column !important;
gap: 8px !important;
}
#skin-client-prefs-citizen-feature-pure-black {
margin-top: 10px;
border-top: 1px solid var(--border-color-base);
padding-top: 10px;
}
/* DARK MODE COLORS */
:root.skin-theme-clientpref-night {
--color-surface-0: rgb(3, 7, 30);
--color-surface-1: #0a0e24;
--color-surface-2: #141831;
--color-progressive-oklch__l: 65.55%;
--color-progressive-oklch__c: 0.211;
--color-progressive-oklch__h: 41.5;
--color-emphasized: #ffffff;
--color-base: #f2f2f2;
}
/* HEADER */
.mw-header {
background: linear-gradient(45deg, rgb(220, 47, 2) 0%, rgb(232, 93, 4) 50%, rgb(250, 163, 7) 100%) !important;
}
.mw-header .cdx-button,
.mw-header .citizen-header-links a {
color: white !important;
}
/* DRAWER */
#citizen-drawer__card,
.citizen-drawer__card {
background: rgb(3, 7, 30) !important;
backdrop-filter: none !important;
}
.citizen-drawer__logo .mw-logo-icon {
display: none !important;
}
.citizen-drawer__siteinfo .mw-logo-wordmark {
display: none !important;
}
.citizen-drawer__logo::before {
content: "";
display: block;
width: 80px;
height: 80px;
background: url('/resources/assets/PyreWikiBanner.png') no-repeat center;
background-size: contain;
}
.citizen-drawer__siteinfo::after {
content: "Pyre Wiki";
color: #ffffff;
font-size: 1.4rem;
font-weight: 900;
text-transform: uppercase;
display: block;
margin-top: 5px;
}
/* MAIN PAGE */
.pyre-hero {
background: var(--color-surface-1, #0a0e24);
border: 1px solid var(--border-color-base, #a2a9b1);
padding: 30px 20px;
border-radius: 8px;
margin-bottom: 24px;
text-align: center;
}
.pyre-hero p {
color: var(--color-subtle, #72777d);
margin-bottom: 16px;
}
.pyre-welcome-links {
display: flex;
justify-content: center;
align-items: center;
gap: 16px;
flex-wrap: wrap;
text-align: center;
}
.pyre-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 16px;
margin-bottom: 16px;
}
.pyre-community {
border: 1px solid var(--border-color-base, #a2a9b1);
border-radius: 8px;
overflow: hidden;
margin-bottom: 16px;
}
.pyre-community-body {
display: flex;
gap: 24px;
flex-wrap: wrap;
align-items: center;
padding: 15px;
}
/* SHARED CARD COMPONENT */
.pyre-card {
border: 1px solid var(--border-color-base, #a2a9b1);
border-radius: 8px;
overflow: hidden;
}
.pyre-card-header {
background: var(--color-surface-2, #141831);
color: var(--color-base, #f2f2f2);
padding: 10px 15px;
border-bottom: 1px solid var(--border-color-base, #a2a9b1);
font-weight: bold;
border-radius: 8px 8px 0 0;
}
.pyre-card-body {
padding: 15px;
line-height: 2;
}
.pyre-card-body-columns {
padding: 15px;
columns: 2;
line-height: 2;
}
/* TERM HIGHLIGHT */
.pyre-term {
cursor: pointer;
}
/* HIDE REVS BAR */
.approvedRevs-bar {
display: none !important;
}