MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Created page with "→All CSS here will be loaded for users of the Citizen skin: →* * Continuum Collective - Citizen Skin Custom CSS * Monochrome theme: blacks, grays, silvers, and whites * Based on welcome.blade.php color scheme: →===== ROOT VARIABLES =====: :root { --color-primary: #ffffff; --color-primary-hover: #e5e5e5; --color-surface-0: #000000; --color-surface-1: #0a0a0a; --color-surface-2: #1a1a1a; --color-surface-3: #262626; --color-surfac..." |
No edit summary |
||
| Line 557: | Line 557: | ||
hr { | hr { | ||
border-color: #404040; | border-color: #404040; | ||
} | |||
/* ===== MAIN PAGE STYLES ===== */ | |||
.mainpage-container { | |||
max-width: 1400px; | |||
margin: 0 auto; | |||
} | |||
.mainpage-hero { | |||
background: linear-gradient(135deg, #1a1a1a, #0a0a0a); | |||
border: 2px solid #404040; | |||
border-radius: 12px; | |||
padding: 40px; | |||
margin-bottom: 30px; | |||
text-align: center; | |||
font-size: 1.1em; | |||
line-height: 1.8; | |||
} | |||
.mainpage-hero strong { | |||
color: #ffffff; | |||
font-size: 1.3em; | |||
} | |||
.mainpage-stats { | |||
margin: 30px 0; | |||
font-size: 2em; | |||
font-weight: bold; | |||
} | |||
.mainpage-stats small { | |||
font-size: 0.4em; | |||
color: #a3a3a3; | |||
letter-spacing: 2px; | |||
font-weight: normal; | |||
} | |||
.mainpage-leagues table { | |||
border-collapse: separate; | |||
border-spacing: 10px; | |||
} | |||
.mainpage-featured table { | |||
border-collapse: separate; | |||
border-spacing: 10px; | |||
} | |||
.mainpage-getstarted table { | |||
border-collapse: separate; | |||
border-spacing: 10px; | |||
margin: 30px 0; | |||
} | |||
.mainpage-container h2 { | |||
font-size: 2em; | |||
margin: 40px 0 20px 0; | |||
text-align: center; | |||
color: #ffffff; | |||
border-bottom: 2px solid #404040; | |||
padding-bottom: 10px; | |||
} | |||
.mainpage-container h3 { | |||
color: #ffffff; | |||
font-size: 1.5em; | |||
margin-bottom: 15px; | |||
} | |||
.mainpage-container a { | |||
color: #e5e5e5; | |||
text-decoration: none; | |||
transition: color 0.2s; | |||
} | |||
.mainpage-container a:hover { | |||
color: #ffffff; | |||
text-decoration: underline; | |||
} | |||
.mainpage-container ul { | |||
list-style: none; | |||
padding-left: 0; | |||
} | |||
.mainpage-container ul li { | |||
margin: 8px 0; | |||
padding-left: 20px; | |||
position: relative; | |||
} | |||
.mainpage-container ul li:before { | |||
content: "→"; | |||
position: absolute; | |||
left: 0; | |||
color: #a3a3a3; | |||
} | |||
/* Responsive adjustments */ | |||
@media (max-width: 768px) { | |||
.mainpage-hero { | |||
padding: 20px; | |||
font-size: 1em; | |||
} | |||
.mainpage-stats { | |||
font-size: 1.5em; | |||
} | |||
.mainpage-leagues table, | |||
.mainpage-featured table, | |||
.mainpage-getstarted table { | |||
border-spacing: 5px; | |||
} | |||
} | } | ||
Latest revision as of 18:28, 31 October 2025
/* All CSS here will be loaded for users of the Citizen skin */
/**
* Continuum Collective - Citizen Skin Custom CSS
* Monochrome theme: blacks, grays, silvers, and whites
* Based on welcome.blade.php color scheme
*/
/* ===== ROOT VARIABLES ===== */
:root {
--color-primary: #ffffff;
--color-primary-hover: #e5e5e5;
--color-surface-0: #000000;
--color-surface-1: #0a0a0a;
--color-surface-2: #1a1a1a;
--color-surface-3: #262626;
--color-surface-4: #404040;
--background-color-base: #000000;
--background-color-neutral: #0a0a0a;
--background-color-neutral-subtle: #1a1a1a;
--background-color-dp-00: #000000;
--background-color-dp-06: #0a0a0a;
--background-color-dp-12: #1a1a1a;
--background-color-dp-24: #262626;
--background-color-dp-36: #404040;
--color-base: #ffffff;
--color-base-emphasized: #ffffff;
--color-subtle: #a3a3a3;
--color-placeholder: #737373;
--color-disabled: #525252;
--border-color-base: #404040;
--border-color-subtle: #262626;
--border-color-interactive: #525252;
}
/* ===== BODY & MAIN BACKGROUND ===== */
body {
background: linear-gradient(135deg, #000000, #0a0a0a, #1a1a1a);
color: #ffffff;
}
#content {
background-color: #0a0a0a;
color: #e5e5e5;
}
/* ===== HEADER / NAVIGATION ===== */
.citizen-header {
background-color: rgba(23, 23, 23, 0.9);
backdrop-filter: blur(12px);
border-bottom: 1px solid #404040;
}
.citizen-header__inner {
background: transparent;
}
.citizen-header__button {
color: #ffffff;
}
.citizen-header__button:hover {
background-color: #262626;
color: #ffffff;
}
/* Site Logo */
.citizen-header__logo {
filter: brightness(1.2);
}
/* Search */
.citizen-search__input {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #ffffff;
}
.citizen-search__input:focus {
border-color: #737373;
background-color: #262626;
}
.citizen-search__input::placeholder {
color: #737373;
}
/* ===== SIDEBAR / DRAWER ===== */
.citizen-drawer {
background-color: #0a0a0a;
border-right: 1px solid #404040;
}
.citizen-drawer__heading {
color: #ffffff;
border-bottom: 2px solid #404040;
}
.citizen-drawer__card {
background-color: #1a1a1a;
border: 1px solid #404040;
}
.citizen-drawer__card:hover {
background-color: #262626;
border-color: #525252;
}
/* Navigation Links */
.citizen-menu__item {
color: #e5e5e5;
}
.citizen-menu__item:hover {
background-color: #262626;
color: #ffffff;
}
.citizen-menu__item--active {
background-color: #1a1a1a;
color: #ffffff;
border-left: 3px solid #ffffff;
}
/* ===== MAIN CONTENT AREA ===== */
.mw-body {
background-color: #0a0a0a;
color: #e5e5e5;
}
.mw-body-content {
color: #e5e5e5;
}
/* Page Title */
.firstHeading {
color: #ffffff;
border-bottom: 2px solid #404040;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: #ffffff;
border-bottom-color: #404040;
}
h2 {
border-bottom: 1px solid #404040;
}
/* Links */
a {
color: #e5e5e5;
}
a:hover {
color: #ffffff;
}
a:visited {
color: #a3a3a3;
}
a.new {
color: #737373;
}
a.new:hover {
color: #a3a3a3;
}
/* ===== TABLES ===== */
table {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
table th {
background-color: #262626;
color: #ffffff;
border: 1px solid #404040;
}
table td {
background-color: #1a1a1a;
border: 1px solid #404040;
}
table tr:hover {
background-color: #262626;
}
/* Wikitable */
.wikitable {
background-color: #1a1a1a;
border-color: #404040;
}
.wikitable > tr > th,
.wikitable > * > tr > th {
background-color: #262626;
color: #ffffff;
}
.wikitable > tr > td,
.wikitable > * > tr > td {
background-color: #1a1a1a;
}
/* ===== INFOBOXES ===== */
.infobox {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
.infobox th {
background-color: #262626;
color: #ffffff;
}
.infobox td {
background-color: #1a1a1a;
}
/* ===== BUTTONS ===== */
.mw-ui-button,
.citizen-button {
background-color: #ffffff;
color: #000000;
border: 1px solid #ffffff;
}
.mw-ui-button:hover,
.citizen-button:hover {
background-color: #e5e5e5;
color: #000000;
border-color: #e5e5e5;
}
.mw-ui-button:active,
.citizen-button:active {
background-color: #d4d4d4;
}
/* Secondary Buttons */
.mw-ui-button.mw-ui-quiet,
.citizen-button--quiet {
background-color: transparent;
color: #ffffff;
border: 1px solid #525252;
}
.mw-ui-button.mw-ui-quiet:hover,
.citizen-button--quiet:hover {
background-color: #262626;
border-color: #737373;
}
/* ===== FORMS & INPUTS ===== */
input[type="text"],
input[type="search"],
input[type="email"],
input[type="password"],
textarea,
select {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #ffffff;
}
input[type="text"]:focus,
input[type="search"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
border-color: #737373;
background-color: #262626;
outline: none;
}
/* ===== CODE BLOCKS ===== */
code {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
pre {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
/* ===== NOTICE BOXES ===== */
.mw-message-box {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
.mw-message-box-warning {
background-color: #262626;
border-color: #525252;
}
.mw-message-box-error {
background-color: #1a1a1a;
border-color: #737373;
}
/* ===== CATEGORIES ===== */
.catlinks {
background-color: #1a1a1a;
border: 1px solid #404040;
color: #e5e5e5;
}
.catlinks a {
color: #a3a3a3;
}
.catlinks a:hover {
color: #ffffff;
}
/* ===== FOOTER ===== */
.citizen-footer {
background-color: #000000;
border-top: 1px solid #404040;
color: #737373;
}
.citizen-footer__text,
.citizen-footer a {
color: #737373;
}
.citizen-footer a:hover {
color: #ffffff;
}
/* ===== TABS (Edit, History, etc.) ===== */
.citizen-menu__tabs {
background-color: #1a1a1a;
border-bottom: 1px solid #404040;
}
.citizen-menu__tab {
color: #a3a3a3;
}
.citizen-menu__tab:hover {
background-color: #262626;
color: #ffffff;
}
.citizen-menu__tab--active {
background-color: #0a0a0a;
color: #ffffff;
border-bottom: 2px solid #ffffff;
}
/* ===== TABLE OF CONTENTS ===== */
.toc,
.citizen-toc {
background-color: #1a1a1a;
border: 1px solid #404040;
}
.toc h2,
.citizen-toc__heading {
color: #ffffff;
border-bottom: 1px solid #404040;
}
.toc ul,
.citizen-toc__list {
color: #e5e5e5;
}
.toc a,
.citizen-toc__link {
color: #a3a3a3;
}
.toc a:hover,
.citizen-toc__link:hover {
color: #ffffff;
}
/* ===== PAGE TOOLS ===== */
.citizen-page-tools {
background-color: #1a1a1a;
border: 1px solid #404040;
}
.citizen-page-tools__item {
color: #e5e5e5;
}
.citizen-page-tools__item:hover {
background-color: #262626;
color: #ffffff;
}
/* ===== DIFF PAGES ===== */
.diff-addedline {
background-color: #1a1a1a;
border-color: #525252;
}
.diff-deletedline {
background-color: #262626;
border-color: #404040;
}
.diff-context {
background-color: #0a0a0a;
}
/* ===== SPECIAL PAGES ===== */
.mw-special-page {
background-color: #0a0a0a;
}
.special-page-section {
background-color: #1a1a1a;
border: 1px solid #404040;
padding: 1rem;
margin-bottom: 1rem;
border-radius: 4px;
}
/* ===== NAMESPACE TABS ===== */
.citizen-menu__heading {
color: #ffffff;
background-color: #1a1a1a;
border-bottom: 1px solid #404040;
}
/* ===== TALK PAGES ===== */
.mw-parser-output .comment {
background-color: #1a1a1a;
border-left: 3px solid #525252;
padding: 0.5rem;
margin: 0.5rem 0;
}
/* ===== SEARCH RESULTS ===== */
.searchresults {
background-color: #0a0a0a;
}
.mw-search-result-heading {
color: #ffffff;
}
.searchresult {
color: #a3a3a3;
}
.mw-search-result {
border-bottom: 1px solid #404040;
padding: 1rem 0;
}
/* ===== HOVER CARDS ===== */
.citizen-card {
background-color: #1a1a1a;
border: 1px solid #404040;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
}
.citizen-card__title {
color: #ffffff;
}
.citizen-card__text {
color: #e5e5e5;
}
/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
width: 12px;
height: 12px;
}
::-webkit-scrollbar-track {
background: #0a0a0a;
}
::-webkit-scrollbar-thumb {
background: #404040;
border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
background: #525252;
}
/* ===== SELECTION ===== */
::selection {
background-color: #525252;
color: #ffffff;
}
::-moz-selection {
background-color: #525252;
color: #ffffff;
}
/* ===== PRINT STYLES ===== */
@media print {
body {
background: white;
color: black;
}
}
/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
.citizen-header {
background-color: #0a0a0a;
}
.citizen-drawer {
background-color: #000000;
}
}
/* ===== CUSTOM ACCENT HIGHLIGHTS ===== */
.highlight,
.mw-highlight {
background-color: #262626;
border-left: 3px solid #ffffff;
padding: 0.5rem;
}
/* Bold text emphasis */
strong, b {
color: #ffffff;
font-weight: 600;
}
/* ===== BLOCKQUOTES ===== */
blockquote {
background-color: #1a1a1a;
border-left: 4px solid #525252;
color: #e5e5e5;
padding: 1rem;
margin: 1rem 0;
}
/* ===== HR DIVIDERS ===== */
hr {
border-color: #404040;
}
/* ===== MAIN PAGE STYLES ===== */
.mainpage-container {
max-width: 1400px;
margin: 0 auto;
}
.mainpage-hero {
background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
border: 2px solid #404040;
border-radius: 12px;
padding: 40px;
margin-bottom: 30px;
text-align: center;
font-size: 1.1em;
line-height: 1.8;
}
.mainpage-hero strong {
color: #ffffff;
font-size: 1.3em;
}
.mainpage-stats {
margin: 30px 0;
font-size: 2em;
font-weight: bold;
}
.mainpage-stats small {
font-size: 0.4em;
color: #a3a3a3;
letter-spacing: 2px;
font-weight: normal;
}
.mainpage-leagues table {
border-collapse: separate;
border-spacing: 10px;
}
.mainpage-featured table {
border-collapse: separate;
border-spacing: 10px;
}
.mainpage-getstarted table {
border-collapse: separate;
border-spacing: 10px;
margin: 30px 0;
}
.mainpage-container h2 {
font-size: 2em;
margin: 40px 0 20px 0;
text-align: center;
color: #ffffff;
border-bottom: 2px solid #404040;
padding-bottom: 10px;
}
.mainpage-container h3 {
color: #ffffff;
font-size: 1.5em;
margin-bottom: 15px;
}
.mainpage-container a {
color: #e5e5e5;
text-decoration: none;
transition: color 0.2s;
}
.mainpage-container a:hover {
color: #ffffff;
text-decoration: underline;
}
.mainpage-container ul {
list-style: none;
padding-left: 0;
}
.mainpage-container ul li {
margin: 8px 0;
padding-left: 20px;
position: relative;
}
.mainpage-container ul li:before {
content: "→";
position: absolute;
left: 0;
color: #a3a3a3;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.mainpage-hero {
padding: 20px;
font-size: 1em;
}
.mainpage-stats {
font-size: 1.5em;
}
.mainpage-leagues table,
.mainpage-featured table,
.mainpage-getstarted table {
border-spacing: 5px;
}
}