MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 43: Line 43:
     backdrop-filter: blur(10px);
     backdrop-filter: blur(10px);
}
}


.firstHeading {
.firstHeading {
Line 70: Line 69:
     margin: 0 0 1em 1em;
     margin: 0 0 1em 1em;
     border-radius: 4px;
     border-radius: 4px;
     overflow: hidden; /* Keeps image corners from overlapping borders */
     overflow: hidden;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
}


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


.pi-image {
.pi-image {
     background-color: #111 !important;
     background-color: #000 !important;
     border-bottom: 1px solid #2b2d31;
     border-bottom: 1px solid #2b2d31;
     padding: 5px !important;
     padding: 10px !important;
     display: block !important;
     display: block !important;
     text-align: center !important;
     text-align: center !important;
Line 116: Line 117:
     font-weight: bold !important;
     font-weight: bold !important;
     padding: 8px !important;
     padding: 8px !important;
    width: 40%;
}
}


.pi-data-value {
.pi-data-value {
     background-color: transparent !important;
     background-color: transparent !important;
     color: #e6e6e6 !important;
     color: #fff !important;
     padding: 8px !important;
     padding: 8px !important;
}
}
Line 130: Line 132:
.pi-collapse-button {
.pi-collapse-button {
     color: #a862ea !important;
     color: #a862ea !important;
}
.pi-navigation {
    display: flex !important;
    background: #111 !important;
    border-bottom: 1px solid #2b2d31;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.pi-navigation .pi-item {
    flex: 1;
    text-align: center;
    padding: 10px !important;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    color: #a862ea !important;
    border-right: 1px solid #2b2d31;
    background: #111 !important;
}
.pi-navigation .pi-item.current {
    background-color: rgba(168, 98, 234, 0.2) !important;
    border-bottom: 2px solid #a862ea !important;
    color: #fff !important;
}
}


Line 162: Line 191:
textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
.mw-ui-icon { filter: invert(1) !important; }
.mw-ui-icon { filter: invert(1) !important; }
/* --- FANDOM PORTABLE INFOBOX EMULATION --- */
/* This ensures that when you import a page with <infobox>, it looks like Fandom */
.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;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.pi-title {
    background: rgba(168, 98, 234, 0.2) !important;
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    padding: 10px !important;
    font-size: 1.5em !important;
}
.pi-header {
    background-color: #a862ea !important;
    color: #fff !important;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    padding: 5px !important;
}
.pi-image {
    background: #000 !important;
    padding: 10px !important;
    text-align: center !important;
    border-bottom: 1px solid #333;
}
.pi-image img {
    max-width: 100% !important;
    height: auto !important;
}
.pi-data-label {
    background-color: rgba(168, 98, 234, 0.1) !important;
    color: #a862ea !important;
    font-weight: bold !important;
    padding: 8px !important;
    width: 40%;
}
.pi-data-value {
    padding: 8px !important;
    color: #fff !important;
}
.pi-item {
    border-bottom: 1px solid #2b2d31 !important;
}


.tabberlive .tabbernav {
.tabberlive .tabbernav {
Line 238: Line 205:
     background: #a862ea !important;
     background: #a862ea !important;
     color: #fff !important;
     color: #fff !important;
}
.pi-panel-navigation {
    display: flex !important;
    justify-content: space-around;
    background: #111 !important;
    border-bottom: 1px solid #2b2d31;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.pi-panel-navigation li {
    flex: 1;
    text-align: center;
    padding: 8px !important;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: bold;
    color: #bbb;
    transition: 0.2s;
    border-right: 1px solid #2b2d31;
}
.pi-panel-navigation li:last-child {
    border-right: none;
}
.pi-panel-navigation li.current {
    background-color: rgba(168, 98, 234, 0.2) !important;
    color: #a862ea !important;
    border-bottom: 2px solid #a862ea;
}
.pi-panel-navigation li:hover {
    background-color: #1a1a1b;
    color: #fff;
}
.pi-panel-content {
    background: #000 !important;
    padding: 5px;
}
}

Revision as of 22:52, 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('/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;
}

#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);
}

.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 {
    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;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.pi-title {
    font-size: 1.5em !important;
    text-align: center;
    padding: 10px !important;
    background: rgba(168, 98, 234, 0.2) !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;
}

.pi-image {
    background-color: #000 !important;
    border-bottom: 1px solid #2b2d31;
    padding: 10px !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;
    width: 40%;
}

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

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

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

.pi-navigation {
    display: flex !important;
    background: #111 !important;
    border-bottom: 1px solid #2b2d31;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.pi-navigation .pi-item {
    flex: 1;
    text-align: center;
    padding: 10px !important;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    color: #a862ea !important;
    border-right: 1px solid #2b2d31;
    background: #111 !important;
}

.pi-navigation .pi-item.current {
    background-color: rgba(168, 98, 234, 0.2) !important;
    border-bottom: 2px solid #a862ea !important;
    color: #fff !important;
}

#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; }

.tabberlive .tabbernav {
    border-bottom: 2px solid #a862ea !important;
}

.tabberlive .tabbernav li a {
    background: #1e1f22 !important;
    color: #e6e6e6 !important;
    border: 1px solid #333 !important;
}

.tabberlive .tabbernav li.tabberactive a {
    background: #a862ea !important;
    color: #fff !important;
}