MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:
     --color-text-base: #e6e6e6;
     --color-text-base: #e6e6e6;
     --color-primary: #a862ea;
     --color-primary: #a862ea;
}
body {
    background-color: #000000 !important;
    background-image: url('https://wiki.jcraft-eoe.com/images/6/65/Wiki_Background.png') !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-panel {
    display: none !important;
}
#content {
    background-color: rgba(30, 31, 34, 0.96) !important;
    max-width: 1100px !important;
    margin: 160px auto 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;
    position: relative !important;
}
#mw-head {
    background: rgba(18, 18, 18, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333 !important;
    left: 0 !important;
}
#left-navigation {
    margin-left: 20px !important;
}
#mw-page-base, #mw-head-base {
    background: transparent !important;
}
}


Line 17: Line 59:
     border: 2px solid #373737 !important;
     border: 2px solid #373737 !important;
     width: min-content !important;
     width: min-content !important;
     margin: 1em 0 !important;
     margin: 1em auto !important;
}
}


Line 68: Line 110:
}
}


.mw-mmv-image-wrapper {
.mw-mmv-image-wrapper { background-color: rgba(0, 0, 0, 0.9) !important; }
    background-color: rgba(0, 0, 0, 0.9) !important;
.mw-mmv-post-image { background-color: #1e1f22 !important; color: #e6e6e6 !important; }
}
 
.mw-mmv-post-image {
    background-color: #1e1f22 !important;
    color: #e6e6e6 !important;
}


figure[typeof~='mw:File/Thumb'],
figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], .thumb, .thumbinner {
figure[typeof~='mw:File/Frame'],
.thumb,  
.thumbinner,
.thumbimage,
.tright,
.tleft,
div.thumbinner,
.portable-infobox .pi-image,
.portable-infobox figure,
table.thumb,
table.thumb tr,
table.thumb td {
     background-color: transparent !important;
     background-color: transparent !important;
     background: none !important;
     background: none !important;
Line 95: Line 119:
     box-shadow: none !important;
     box-shadow: none !important;
     padding: 0 !important;
     padding: 0 !important;
    margin-bottom: 0.5em;
     width: auto !important;
     width: auto !important;
    max-width: none !important;
}
}


html body .thumbinner,
.thumbcaption, figure figcaption {
html body .thumb,
figure[typeof~='mw:File/Thumb'] > *,
figure[typeof~='mw:File/Frame'] > * {
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    width: inherit !important;
}
 
.thumbimage img,
figure img,
.mw-file-element {
    width: auto;
    height: auto;
}
 
.thumbcaption,
.mw-content-ltr .thumbcaption,
.mw-content-rtl .thumbcaption,
.thumbcaption *,
figure figcaption,
figure figcaption * {
     color: #ffffff !important;
     color: #ffffff !important;
    opacity: 1 !important;
     font-size: 12.6px !important;
     font-size: 12.6px !important;
    padding: 5px 0 !important;
     text-align: center !important;
     text-align: center !important;
    background: transparent !important;
     text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
     text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    width: auto !important;
}
}


.magnify, .magnifier {
.magnify, .magnifier { display: none !important; }
    display: none !important;
}


body {
.firstHeading { font-size: 32px !important; font-weight: 700 !important; color: #fff !important; border-bottom: 1px solid #444 !important; }
    background-color: #000000 !important;
h2 { font-size: 24px !important; font-weight: 600 !important; color: #fff !important; border-bottom: 1px solid #a862ea !important; }
    background-image: url('https://wiki.jcraft-eoe.com/images/6/65/Wiki_Background.png') !important;
a { color: #a862ea !important; }
    background-attachment: fixed !important;
a:visited { color: #8c4dbf !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 {
    background: transparent !important;
}
 
#content {
    background-color: rgba(30, 31, 34, 0.96) !important;
    max-width: 1100px !important;
    margin: 40px auto 40px 180px !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 {
    background: rgba(18, 18, 18, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333 !important;
}


#p-views li, #p-cactions li, #p-namespaces li {
#p-views li, #p-cactions li, #p-namespaces li {
     background: #1e1f22 !important;
     background: #1e1f22 !important;
     border: 1px solid #333 !important;
     border: 1px solid #333 !important;
    border-bottom: none !important;
}
#p-views li.selected, #p-namespaces li.selected {
    border-bottom: 2px solid #a862ea !important;
}
#p-views li a, #p-namespaces li a {
    color: #e6e6e6 !important;
    background: transparent !important;
}
#mw-panel {
    background-color: rgba(10, 10, 10, 0.9) !important;
    border-right: 1px solid #333 !important;
    width: 160px !important;
    padding-top: 180px !important;
    height: 100vh;
}
#mw-panel .portal h3 {
    color: #a862ea !important;
    text-transform: uppercase;
    font-size: 0.75em;
    padding: 5px 0 5px 10px;
    border: none !important;
    background: transparent !important;
}
#mw-panel .portal .body ul li a {
    color: #bbb !important;
    transition: 0.2s;
}
#mw-panel .portal .body ul li a:hover {
    color: #fff !important;
    text-decoration: none !important;
}
.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;
}
h3, h4, h5, h6 {
    font-weight: 600 !important;
    color: #fff !important;
    border-bottom: none !important;
}
}


h3 { font-size: 20px !important; }
#p-views li.selected, #p-namespaces li.selected { border-bottom: 2px solid #a862ea !important; }
h4 { font-size: 18px !important; }
 
a { color: #a862ea !important; }
a:visited { color: #8c4dbf !important; }
 
.mp-box {
    background: #1e1f22;
    border: 1px solid #2b2d31;
    border-radius: 8px;
    padding: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}


.portable-infobox {
.portable-infobox {
Line 251: Line 148:
     color: #e6e6e6 !important;
     color: #e6e6e6 !important;
     width: 270px !important;
     width: 270px !important;
    float: right;
    margin: 0 0 1em 1em;
     border-radius: 4px;
     border-radius: 4px;
    overflow: hidden;
    font-family: 'Rubik', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5;
}
.portable-infobox .pi-title {
    font-size: 21px !important;
    font-weight: bold !important;
    padding: 10px !important;
    text-align: center;
    background-color: #111 !important;
    color: #fff !important;
}
}


.portable-infobox .pi-header {
.portable-infobox .pi-title { background-color: #111 !important; color: #fff !important; font-size: 21px !important; }
    background-color: #111 !important;
.portable-infobox .pi-header { background-color: #111 !important; color: #fff !important; }
    background-image: none !important;
    color: #fff !important;
    padding: 6px 10px !important;
    font-weight: bold !important;
    font-size: 15.4px !important;
    text-transform: none;
}
 
.portable-infobox .pi-data-label {
    font-weight: bold !important;
    font-size: 12.6px !important;
    color: #bbb !important;
    padding: 6px 10px !important;
    flex-basis: 110px !important;
}
 
.portable-infobox .pi-data-value {
    font-size: 12.6px !important;
    color: #e6e6e6 !important;
    padding: 6px 10px !important;
}
 
.portable-infobox .pi-image img,
.portable-infobox .pi-media img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
 
.pi-section-navigation {
    background-color: #0a0a0a !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #333 !important;
}
 
.pi-section-tab {
    flex: 1;
    text-align: center;
    padding: 10px 5px !important;
    color: #bbb !important;
    cursor: pointer;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
}
 
.pi-section-navigation .pi-section-tab.pi-section-active,
.pi-section-navigation .pi-section-tab.current,
.pi-media-collection .pi-tab-link.current,
.portable-infobox .pi-panel-navigation li.current {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-bottom: 3px solid #a862ea !important;
    box-shadow: none !important;
}
 
.pi-section-navigation .pi-section-tab.current,
.pi-section-navigation .pi-section-tab.current b,
.pi-section-navigation .pi-section-tab.current strong,
.pi-media-collection .pi-tab-link.current,
.portable-infobox .pi-panel-navigation li.current,
.portable-infobox .pi-panel-navigation li.current * {
    color: #a862ea !important;
    font-weight: bold !important;
    text-decoration: none !important;
}
 
.pi-section-tab:hover,
.portable-infobox .pi-panel-navigation li:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}
 
.pi-panel-content {
    background: rgba(0, 0, 0, 0.2) !important;
    padding: 15px !important;
    border-radius: 0 0 4px 4px;
}


#toc, .toc {
#toc, .toc {
Line 359: Line 158:
     border: 1px solid #2b2d31 !important;
     border: 1px solid #2b2d31 !important;
     border-top: 3px solid #a862ea !important;
     border-top: 3px solid #a862ea !important;
    border-radius: 4px !important;
     padding: 15px !important;
     padding: 15px !important;
    display: inline-block !important;
    min-width: 250px !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}
#toctitle h2 {
    font-size: 18px !important;
    font-family: 'Rubik', sans-serif !important;
    color: #fff !important;
    border-bottom: 1px solid #333 !important;
    margin-bottom: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}
.tocnumber {
    color: #a862ea !important;
    margin-right: 5px !important;
}
.toctext {
    color: #e6e6e6 !important;
}
#toc li a:hover .toctext {
    color: #a862ea !important;
    text-decoration: none !important;
}
.toctogglelabel {
    color: #a862ea !important;
    font-size: 0.8em !important;
}
.page-Main_Page #firstHeading { display: none !important; }
#p-logo {
    position: absolute;
    top: -160px;
    left: 0;
    width: 160px;
    height: 160px;
}
.mw-wiki-logo {
    background-size: contain !important;
    width: 140px !important;
    height: 140px !important;
    margin: 10px auto !important;
}
textarea, input {
    background-color: #2d2d2d !important;
    color: #fff !important;
    border: 1px solid #444 !important;
}
}


.wikitable, .loot-table {
.wikitable, .loot-table { background-color: #1e1f22 !important; color: #e6e6e6 !important; border: 1px solid #333 !important; }
    background-color: #1e1f22 !important;
.wikitable th, .loot-table th { background-color: #111111 !important; color: #ffffff !important; }
    color: #e6e6e6 !important;
    border: 1px solid #333 !important;
}


.wikitable th, .loot-table th {
.catlinks { background: #1e1f22; border: 1px solid #2b2d31; border-radius: 8px; }
    background-color: #111111 !important;
#footer { display: none !important; }
    color: #ffffff !important;
    border: 1px solid #333 !important;
}
 
.wikitable td, .loot-table td {
    border: 1px solid #2b2d31 !important;
}
 
#footer {
    display: none !important;
}
 
.catlinks {
    background: #1e1f22;
    border: 1px solid #2b2d31;
    border-radius: 8px;
}

Revision as of 01:11, 26 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://wiki.jcraft-eoe.com/images/6/65/Wiki_Background.png') !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-panel {
    display: none !important;
}

#content {
    background-color: rgba(30, 31, 34, 0.96) !important;
    max-width: 1100px !important;
    margin: 160px auto 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;
    position: relative !important;
}

#mw-head {
    background: rgba(18, 18, 18, 0.8) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #333 !important;
    left: 0 !important;
}

#left-navigation {
    margin-left: 20px !important;
}

#mw-page-base, #mw-head-base {
    background: transparent !important;
}

.mc-crafting-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    background: #c6c6c6 !important;
    padding: 20px !important;
    border: 2px solid #373737 !important;
    width: min-content !important;
    margin: 1em auto !important;
}

.mc-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 50px) !important;
    grid-template-rows: repeat(3, 50px) !important;
    gap: 2px !important;
    background: #8b8b8b !important;
    border: 2px solid #8b8b8b !important;
    width: 154px !important; 
    height: 154px !important;
}

.mc-cell {
    width: 50px !important;
    height: 50px !important;
    background: #8b8b8b !important;
    border: 2px solid !important;
    border-color: #373737 #ffffff #ffffff #373737 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.mc-cell img, .mc-result img {
    max-width: 32px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}

.mc-arrow {
    font-size: 32px !important;
    color: #373737 !important;
    font-family: sans-serif !important;
}

.mc-result {
    width: 64px !important;
    height: 64px !important;
    background: #8b8b8b !important;
    border: 2px solid !important;
    border-color: #373737 #ffffff #ffffff #373737 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}

.mw-mmv-image-wrapper { background-color: rgba(0, 0, 0, 0.9) !important; }
.mw-mmv-post-image { background-color: #1e1f22 !important; color: #e6e6e6 !important; }

figure[typeof~='mw:File/Thumb'], figure[typeof~='mw:File/Frame'], .thumb, .thumbinner {
    background-color: transparent !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
}

.thumbcaption, figure figcaption {
    color: #ffffff !important;
    font-size: 12.6px !important;
    text-align: center !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
}

.magnify, .magnifier { display: none !important; }

.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-views li, #p-cactions li, #p-namespaces li {
    background: #1e1f22 !important;
    border: 1px solid #333 !important;
}

#p-views li.selected, #p-namespaces li.selected { border-bottom: 2px solid #a862ea !important; }

.portable-infobox {
    background-color: #1e1f22 !important;
    border: 1px solid #a862ea !important;
    color: #e6e6e6 !important;
    width: 270px !important;
    border-radius: 4px;
}

.portable-infobox .pi-title { background-color: #111 !important; color: #fff !important; font-size: 21px !important; }
.portable-infobox .pi-header { background-color: #111 !important; color: #fff !important; }

#toc, .toc {
    background-color: #1e1f22 !important;
    border: 1px solid #2b2d31 !important;
    border-top: 3px solid #a862ea !important;
    padding: 15px !important;
}

.wikitable, .loot-table { background-color: #1e1f22 !important; color: #e6e6e6 !important; border: 1px solid #333 !important; }
.wikitable th, .loot-table th { background-color: #111111 !important; color: #ffffff !important; }

.catlinks { background: #1e1f22; border: 1px solid #2b2d31; border-radius: 8px; }
#footer { display: none !important; }