MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');


:root, html, body, .citizen-theme-light, .citizen-theme-auto {
:root {
     --color-bg-page: #000000 !important;
     --color-bg-page: #000000;
    --color-bg-canvas: #000000 !important;
     --color-bg-content: #1e1f22;
    --color-bg-surface: #1e1f22 !important;
     --color-text-base: #e6e6e6;
     --color-bg-content: #1e1f22 !important;
     --color-primary: #a862ea;
     --color-text-base: #e6e6e6 !important;
    --color-text-heading: #ffffff !important;
     --color-primary: #a862ea !important;
    --color-border-base: #333333 !important;
    --color-bg-header: #121212 !important;
}
}


Line 23: Line 18:
}
}


#mw-content-container, .citizen-page-container {
#content {
    background: transparent !important;
}
 
.citizen-page-container {
     background-color: rgba(30, 31, 34, 0.96) !important;
     background-color: rgba(30, 31, 34, 0.96) !important;
     max-width: 1100px !important;
     max-width: 1100px !important;
Line 35: Line 26:
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
     border: 1px solid #2b2d31 !important;
     border: 1px solid #2b2d31 !important;
    color: #e6e6e6 !important;
}
}


.citizen-header, #mw-head, .mw-header {
#mw-head, #mw-panel, .vector-menu-portal, .vector-menu-content {
     background-color: rgba(18, 18, 18, 0.95) !important;
     background-color: rgba(18, 18, 18, 0.95) !important;
    color: #fff !important;
}
#mw-head {
     border-bottom: 1px solid #333 !important;
     border-bottom: 1px solid #333 !important;
     backdrop-filter: blur(10px);
     backdrop-filter: blur(10px);
}
}


.firstHeading, .citizen-page-header__title {
.firstHeading {
     font-size: 32px !important;
     font-size: 32px !important;
     font-weight: 700 !important;
     font-weight: 700 !important;
Line 59: Line 55:
a {
a {
     color: #a862ea !important;
     color: #a862ea !important;
}
a:visited {
    color: #8c4dbf !important;
}
#p-logo img, .mw-wiki-logo {
    height: 100px !important;
    width: auto !important;
    max-width: 160px !important;
    margin: 0 auto;
}
}


Line 65: Line 72:
     border: 1px solid #2b2d31 !important;
     border: 1px solid #2b2d31 !important;
     color: #fff !important;
     color: #fff !important;
}
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}
}


Line 76: Line 85:
     margin: 10px 0;
     margin: 10px 0;
     color: #ffffff;
     color: #ffffff;
    font-family: sans-serif;
     overflow: hidden;
     overflow: hidden;
}
}


.movebox-header {
.movebox-header {
Line 85: Line 92:
     padding: 10px;
     padding: 10px;
     font-weight: bold;
     font-weight: bold;
    font-size: 1.2em;
     text-align: center;
     text-align: center;
     border-bottom: 2px solid #333333;
     border-bottom: 2px solid #333333;
     text-transform: uppercase;
     text-transform: uppercase;
    letter-spacing: 1px;
}
.movebox-image {
    background-color: #000000;
    padding: 5px;
    text-align: center;
}
}


Line 112: Line 111:
}
}


.movebox-stat-item:last-child {
    border-right: none;
}
.movebox-stat-label {
    display: block;
    font-size: 0.75em;
    color: #888888;
    text-transform: uppercase;
}
.movebox-stat-value {
    font-weight: bold;
    font-size: 1em;
}
.movebox-description {
    padding: 15px;
    font-size: 0.95em;
    line-height: 1.4;
    background-color: #1a1a1a;
}
.char-slider-container {
.char-slider-container {
     background: #1e1e1e !important;
     background: #1e1e1e !important;
     border: 2px solid #3c3c3c !important;
     border: 2px solid #3c3c3c !important;
    display: flex;
    overflow-x: auto;
    padding: 20px;
    gap: 15px;
}
}


.char-card {
.char-card {
     background: #2a2a2a !important;
     background: #2a2a2a !important;
    flex: 0 0 200px;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
}
}


Line 147: Line 131:
     background-color: #1a1a1b !important;
     background-color: #1a1a1b !important;
     border: 1px solid #a862ea !important;
     border: 1px solid #a862ea !important;
    float: right;
    margin: 0 0 1em 1em;
}
}


Line 152: Line 138:
     background-color: #a862ea !important;
     background-color: #a862ea !important;
     color: #fff !important;
     color: #fff !important;
    padding: 8px;
    text-align: center;
}
}


Line 165: Line 153:
}
}


.citizen-footer, #footer {
#footer {
     background-color: #121212 !important;
     background-color: #121212 !important;
     border-top: 2px solid #a862ea !important;
     border-top: 2px solid #a862ea !important;
}
     margin-top: 40px;
 
     padding: 20px;
.citizen-ui-icon, .mw-ui-icon, .citizen-hamburger-icon {
    filter: invert(1) !important;
}
 
.citizen-drawer, .citizen-menu {
     background-color: #121212 !important;
     color: #fff !important;
}
}


Line 185: Line 166:
}
}


.citizen-header__logo img {
.mw-ui-icon {
     height: 25px !important;
     filter: invert(1) !important;
     width: auto !important;
}
     max-width: 200px !important;
 
    object-fit: contain;
.vector-menu-tabs li {
     background-image: none !important;
     background-color: #1e1f22 !important;
}
}


.citizen-header__logo {
.vector-menu-tabs .selected {
     padding: 5px 0 !important;
     background-color: #2b2d31 !important;
     display: flex;
     border-bottom: 2px solid #a862ea !important;
    align-items: center;
}
}

Revision as of 21:15, 25 April 2026

@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

:root {
    --color-bg-page: #000000;
    --color-bg-content: #1e1f22;
    --color-text-base: #e6e6e6;
    --color-primary: #a862ea;
}

body {
    background-color: #000000 !important;
    background-image: url('https://static.wikia.nocookie.net/jcraft/images/b/bc/Wiki-background/revision/latest') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center top !important;
    font-family: 'Rubik', sans-serif !important;
    color: #e6e6e6 !important;
}

#content {
    background-color: rgba(30, 31, 34, 0.96) !important;
    max-width: 1100px !important;
    margin: 40px auto !important;
    border-radius: 8px !important;
    padding: 40px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    border: 1px solid #2b2d31 !important;
    color: #e6e6e6 !important;
}

#mw-head, #mw-panel, .vector-menu-portal, .vector-menu-content {
    background-color: rgba(18, 18, 18, 0.95) !important;
    color: #fff !important;
}

#mw-head {
    border-bottom: 1px solid #333 !important;
    backdrop-filter: blur(10px);
}

.firstHeading {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #fff !important;
    border-bottom: 1px solid #444 !important;
}

h2 {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #fff !important;
    border-bottom: 1px solid #a862ea !important;
}

a {
    color: #a862ea !important;
}

a:visited {
    color: #8c4dbf !important;
}

#p-logo img, .mw-wiki-logo {
    height: 100px !important;
    width: auto !important;
    max-width: 160px !important;
    margin: 0 auto;
}

.mp-box {
    background: #1e1f22 !important;
    border: 1px solid #2b2d31 !important;
    color: #fff !important;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.movebox-container {
    background-color: #1a1a1a; 
    border: 2px solid #333333; 
    border-radius: 4px;
    width: 100%;
    max-width: 450px;
    margin: 10px 0;
    color: #ffffff;
    overflow: hidden;
}

.movebox-header {
    background-color: #111111; 
    padding: 10px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid #333333;
    text-transform: uppercase;
}

.movebox-stats {
    display: flex;
    background-color: #222222;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #333333;
}

.movebox-stat-item {
    flex: 1;
    padding: 8px;
    text-align: center;
    border-right: 1px solid #333333;
}

.char-slider-container {
    background: #1e1e1e !important;
    border: 2px solid #3c3c3c !important;
    display: flex;
    overflow-x: auto;
    padding: 20px;
    gap: 15px;
}

.char-card {
    background: #2a2a2a !important;
    flex: 0 0 200px;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
}

.portable-infobox {
    background-color: #1a1a1b !important;
    border: 1px solid #a862ea !important;
    float: right;
    margin: 0 0 1em 1em;
}

.pi-header {
    background-color: #a862ea !important;
    color: #fff !important;
    padding: 8px;
    text-align: center;
}

.wikitable {
    background-color: #2b2d31 !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

.wikitable th {
    background-color: #1e1f22 !important;
    color: #a862ea !important;
}

#footer {
    background-color: #121212 !important;
    border-top: 2px solid #a862ea !important;
    margin-top: 40px;
    padding: 20px;
}

textarea, input {
    background-color: #2d2d2d !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}

.mw-ui-icon {
    filter: invert(1) !important;
}

.vector-menu-tabs li {
    background-image: none !important;
    background-color: #1e1f22 !important;
}

.vector-menu-tabs .selected {
    background-color: #2b2d31 !important;
    border-bottom: 2px solid #a862ea !important;
}