MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
}
}


/* Global Styles & Background */
body {
body {
     background-color: #000000 !important;
     background-color: #000000 !important;
Line 19: Line 20:
}
}


/* Layout & Transparency */
#mw-page-base, #mw-head-base, .vector-menu-tabs, .vector-menu-tabs a {
#mw-page-base, #mw-head-base, .vector-menu-tabs, .vector-menu-tabs a {
     background: transparent !important;
     background: transparent !important;
Line 44: Line 46:
}
}


/* Typography */
.firstHeading {
.firstHeading {
     font-size: 32px !important;
     font-size: 32px !important;
Line 58: Line 61:
}
}


a {
a { color: #a862ea !important; }
    color: #a862ea !important;
a:visited { color: #8c4dbf !important; }
}
 
a:visited {
    color: #8c4dbf !important;
}
 
#p-logo {
    width: 165px !important;
    height: 165px !important;
    margin: 10px auto !important;
    display: block !important;
}
 
.mw-wiki-logo {
    background-size: 140px auto !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 165px !important;
    height: 165px !important;
}
 
#mw-panel {
    padding-top: 180px !important;
}
 
.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 - Fandom Aesthetics */
.portable-infobox {
.portable-infobox {
     background-color: #1a1a1b !important;
     background-color: #1e1f22 !important;
     border: 1px solid #a862ea !important;
     border: 1px solid #a862ea !important;
    color: #e6e6e6 !important;
    width: 300px;
     float: right;
     float: right;
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
    border-radius: 4px;
    overflow: hidden; /* Keeps image corners from overlapping borders */
}
}


.pi-header {
.pi-title {
     background-color: #a862ea !important;
     font-size: 1.4em !important;
    color: #fff !important;
    padding: 8px;
     text-align: center;
     text-align: center;
}
    padding: 10px !important;
 
     background: rgba(168, 98, 234, 0.1) !important;
.wikitable {
     background-color: #2b2d31 !important;
     color: #fff !important;
     color: #fff !important;
     border: 1px solid #444 !important;
     font-weight: 700;
}
 
.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;
}
#footer {
    display: none !important;
}
.portable-infobox {
    background-color: #1e1f22 !important;
    border: 1px solid #a862ea !important;
    color: #e6e6e6 !important;
    width: 300px;
    float: right;
    margin: 0 0 1em 1em;
    border-radius: 4px;
}
}


Line 218: Line 94:
}
}


.pi-title {
/* IMAGE VISIBILITY FIXES */
    font-size: 1.4em !important;
    text-align: center;
    padding: 10px !important;
    background: rgba(168, 98, 234, 0.05);
    color: #fff !important;
    font-weight: 700;
}
 
.pi-image {
.pi-image {
     background-color: #111 !important;
     background-color: #111 !important;
     border-bottom: 1px solid #2b2d31;
     border-bottom: 1px solid #2b2d31;
     padding: 5px !important;
     padding: 5px !important;
    display: block !important;
    text-align: center !important;
}
.pi-image img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
}
.pi-caption {
    font-size: 0.8em;
    color: #bbb;
    padding: 5px;
}
}


Line 237: Line 119:
     color: #a862ea !important;
     color: #a862ea !important;
     font-weight: bold !important;
     font-weight: bold !important;
    padding: 8px !important;
}
}


Line 242: Line 125:
     background-color: transparent !important;
     background-color: transparent !important;
     color: #e6e6e6 !important;
     color: #e6e6e6 !important;
    padding: 8px !important;
}
}


Line 251: Line 135:
     color: #a862ea !important;
     color: #a862ea !important;
}
}
/* Wiki Elements (Logo, Footer, Tabs) */
#p-logo, .mw-wiki-logo {
    width: 165px !important;
    height: 165px !important;
    margin: 10px auto !important;
    display: block !important;
    background-size: 140px auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
#mw-panel { padding-top: 180px !important; }
#footer { display: none !important; }
.vector-menu-tabs li { background-color: #1e1f22 !important; }
.vector-menu-tabs .selected { border-bottom: 2px solid #a862ea !important; }
.movebox-container {
    background-color: #1a1a1a; border: 2px solid #333; border-radius: 4px;
    width: 100%; max-width: 450px; margin: 10px 0; color: #fff; overflow: hidden;
}
.movebox-header { background-color: #111; padding: 10px; font-weight: bold; text-align: center; text-transform: uppercase; }
.char-slider-container {
    background: #1e1e1e !important; border: 2px solid #3c3c3c !important;
    display: flex; overflow-x: auto; padding: 20px; gap: 15px;
}
textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
.mw-ui-icon { filter: invert(1) !important; }

Revision as of 22:43, 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;
}

/* Global Styles & Background */
body {
    background-color: #000000 !important;
    background-image: url('/jcraft/images/5/5f/Placeholder.jpg') !important;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    font-family: 'Rubik', sans-serif !important;
    color: #e6e6e6 !important;
}

/* Layout & Transparency */
#mw-page-base, #mw-head-base, .vector-menu-tabs, .vector-menu-tabs a {
    background: transparent !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);
}

/* Typography */
.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; }

/* Portable Infobox - Fandom Aesthetics */
.portable-infobox {
    background-color: #1e1f22 !important;
    border: 1px solid #a862ea !important;
    color: #e6e6e6 !important;
    width: 300px;
    float: right;
    margin: 0 0 1em 1em;
    border-radius: 4px;
    overflow: hidden; /* Keeps image corners from overlapping borders */
}

.pi-title {
    font-size: 1.4em !important;
    text-align: center;
    padding: 10px !important;
    background: rgba(168, 98, 234, 0.1) !important;
    color: #fff !important;
    font-weight: 700;
}

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

/* IMAGE VISIBILITY FIXES */
.pi-image {
    background-color: #111 !important;
    border-bottom: 1px solid #2b2d31;
    padding: 5px !important;
    display: block !important;
    text-align: center !important;
}

.pi-image img {
    max-width: 100% !important;
    height: auto !important;
    display: inline-block !important;
}

.pi-caption {
    font-size: 0.8em;
    color: #bbb;
    padding: 5px;
}

.pi-data-label {
    background-color: rgba(168, 98, 234, 0.1) !important;
    color: #a862ea !important;
    font-weight: bold !important;
    padding: 8px !important;
}

.pi-data-value {
    background-color: transparent !important;
    color: #e6e6e6 !important;
    padding: 8px !important;
}

.pi-item {
    border-bottom: 1px solid #2b2d31 !important;
}

.pi-collapse-button {
    color: #a862ea !important;
}

/* Wiki Elements (Logo, Footer, Tabs) */
#p-logo, .mw-wiki-logo {
    width: 165px !important;
    height: 165px !important;
    margin: 10px auto !important;
    display: block !important;
    background-size: 140px auto !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

#mw-panel { padding-top: 180px !important; }
#footer { display: none !important; }

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

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

.movebox-header { background-color: #111; padding: 10px; font-weight: bold; text-align: center; text-transform: uppercase; }

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

textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
.mw-ui-icon { filter: invert(1) !important; }