MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
Tags: Manual revert Reverted
Line 4: Line 4:
}
}


/* Fix for the Top Header (Vector 2022 and Legacy) */
#content, #mw-head, #mw-panel, #p-navigation, .vector-header, .vector-sticky-header, .vector-column-start {
.mw-header, .vector-header-container, .vector-header, #mw-head, .vector-sticky-header {
    background-color: #111111 !important;
    background-image: none !important;
    border-bottom: 1px solid #333 !important;
}
 
/* Fix for the Sidebar */
#mw-panel, .vector-column-start, .mw-side-navigation, .vector-main-menu {
     background-color: #0f0f0f !important;
     background-color: #0f0f0f !important;
     border-right: 1px solid #333 !important;
     border-color: #333 !important;
}
}


/* Footer and Category links */
#mw-data-after-content, #footer, .mw-footer, .catlinks {
#mw-data-after-content, #footer, .mw-footer, .catlinks, .vector-footer {
     background-color: #0f0f0f !important;
     background-color: #0f0f0f !important;
     border-top: 1px solid #333 !important;
     border-top: 1px solid #333 !important;
Line 24: Line 15:
}
}


/* Text and Menu styling */
.vector-menu-portal, .vector-menu-heading {
.vector-menu-portal, .vector-menu-heading, .vector-main-menu-label {
     background-image: none !important;
     background-image: none !important;
     color: #ffcc00 !important;
     color: #ffcc00 !important;
Line 36: Line 26:
}
}


.vector-menu-tabs li a, .vector-main-menu-group a {
.vector-menu-tabs li a {
     color: #ececec !important;
     color: #ececec !important;
}
}
Line 45: Line 35:
}
}


/* Your custom JCraft Styles below */
.mp-box {
.mp-box {
     background: #1e1f22;
     background: #1e1f22;
Line 74: Line 63:
     margin-bottom: 10px;
     margin-bottom: 10px;
     color: #ffcc00;
     color: #ffcc00;
}
.mp-title img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}
}


Line 80: Line 76:
     background: transparent !important;
     background: transparent !important;
     color: #fff;
     color: #fff;
    font-family: Arial, sans-serif;
     font-size: 14px;
     font-size: 14px;
     line-height: 1.5;
     line-height: 1.5;
}
.mp-content img {
    display: block;
    max-width: 100%;
    height: auto;
    background: transparent;
    margin-bottom: 10px;
}
}


Line 91: Line 96:
     border-radius: 8px;
     border-radius: 8px;
     margin-bottom: 20px;
     margin-bottom: 20px;
}
.step-text {
    margin-top: 15px;
    font-size: 1.1em;
    color: #ececec;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
}


Line 103: Line 118:
     scrollbar-width: thin;
     scrollbar-width: thin;
     scrollbar-color: #555 #1e1e1e;
     scrollbar-color: #555 #1e1e1e;
}
.char-slider-container::-webkit-scrollbar, .wds-tabs__wrapper::-webkit-scrollbar {
    height: 8px;
}
.char-slider-container::-webkit-scrollbar-thumb, .wds-tabs__wrapper::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}
}


Line 118: Line 142:
     transform: translateY(-5px);
     transform: translateY(-5px);
     border-color: #ffcc00;
     border-color: #ffcc00;
}
.char-card img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
}
.char-name {
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 0.9em;
}
.tabber-wrapper, .wds-tabs__wrapper {
    margin-bottom: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    display: block !important;
    padding-bottom: 5px;
}
.wds-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
}
}


Line 128: Line 178:
     margin: 10px 0;
     margin: 10px 0;
     color: #ffffff;
     color: #ffffff;
    font-family: sans-serif;
     overflow: hidden;
     overflow: hidden;
}
}
Line 139: Line 190:
     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 157: Line 215:
.movebox-stat-item:last-child {
.movebox-stat-item:last-child {
     border-right: none;
     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;
}
}



Revision as of 01:08, 25 April 2026

html, body {
    background-color: #0b0b0b !important;
    color: #ececec !important;
}

#content, #mw-head, #mw-panel, #p-navigation, .vector-header, .vector-sticky-header, .vector-column-start {
    background-color: #0f0f0f !important;
    border-color: #333 !important;
}

#mw-data-after-content, #footer, .mw-footer, .catlinks {
    background-color: #0f0f0f !important;
    border-top: 1px solid #333 !important;
    color: #888 !important;
}

.vector-menu-portal, .vector-menu-heading {
    background-image: none !important;
    color: #ffcc00 !important;
}

.vector-menu-tabs, .vector-menu-tabs li {
    background-image: none !important;
    background-color: #222 !important;
    border-color: #333 !important;
}

.vector-menu-tabs li a {
    color: #ececec !important;
}

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

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

.small-text-row .pi-data-label, .pi-data-label {
    font-size: 11px !important;    
    line-height: 1.1 !important;  
    padding-right: 5px !important; 
    color: #888 !important;
}

.small-text-row .pi-data-value, .pi-data-value {
    font-size: 12px !important;
    font-weight: bold;
    color: #fff !important;
}

.mp-title {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #ffcc00;
}

.mp-title img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.mp-content {
    padding: 15px;
    background: transparent !important;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}

.mp-content img {
    display: block;
    max-width: 100%;
    height: auto;
    background: transparent;
    margin-bottom: 10px; 
}

.step-container {
    background: #1e1e1e;
    border: 2px solid #3c3c3c;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
}

.step-text {
    margin-top: 15px;
    font-size: 1.1em;
    color: #ececec;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.char-slider-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 20px;
    background: #1e1e1e;
    border: 2px solid #3c3c3c;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: #555 #1e1e1e;
}

.char-slider-container::-webkit-scrollbar, .wds-tabs__wrapper::-webkit-scrollbar {
    height: 8px;
}

.char-slider-container::-webkit-scrollbar-thumb, .wds-tabs__wrapper::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 10px;
}

.char-card {
    flex: 0 0 200px; 
    text-align: center;
    background: #2a2a2a;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 4px;
    transition: transform 0.2s;
}

.char-card:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
}

.char-card img {
    max-width: 100%;
    height: auto;
    border-radius: 2px;
}

.char-name {
    margin-top: 10px;
    font-weight: bold;
    color: #fff;
    font-size: 0.9em;
}

.tabber-wrapper, .wds-tabs__wrapper {
    margin-bottom: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    display: block !important;
    padding-bottom: 5px; 
}

.wds-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
}

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

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

.movebox-image {
    background-color: #000000;
    padding: 5px;
    text-align: center;
}

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

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