MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(300 intermediate revisions by 2 users not shown)
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 {
:root {
     --color-bg-page: #000000;
     --color-bg-page: #000000;
     --color-bg-content: #1e1f22;
     --color-bg-content: #1e1f22;  
     --color-text-base: #e6e6e6;
     --color-text-base: #e6e6e6;
     --color-primary: #a862ea;
     --color-primary: #a862ea;
}
}
 
.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,
.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: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 0.5em;
    width: auto !important;
    max-width: none !important;
}
 
html body .thumbinner,
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;
    opacity: 1 !important;
    font-size: 12.6px !important;
    padding: 5px 0 !important;
    text-align: center !important;
    background: transparent !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8) !important;
    width: auto !important;
}
 
.magnify, .magnifier {
    display: none !important;
}
 
body {
body {
     background-color: #000000 !important;
     background-color: #000000 !important;
Line 88: Line 19:
}
}


#mw-page-base, #mw-head-base {
.page-Main_Page .firstHeading {
     background: transparent !important;
    display: none !important;
}
 
#mw-panel {
     display: none !important;
}
}


Line 95: Line 30:
     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;
     margin: 40px auto 40px 180px !important;
     margin: 40px auto 40px auto !important;
     border-radius: 8px !important;
     border-radius: 8px !important;
     padding: 40px !important;
     padding: 40px !important;
Line 101: Line 36:
     border: 1px solid #2b2d31 !important;
     border: 1px solid #2b2d31 !important;
     color: #e6e6e6 !important;
     color: #e6e6e6 !important;
    position: relative !important;
}
}


#mw-head {
#mw-head {
     background: rgba(18, 18, 18, 0.8) !important;
     background: rgba(30, 31, 34, 0.8) !important;  
    backdrop-filter: blur(10px);
     border-bottom: 1px solid #333 !important;
     border-bottom: 1px solid #333 !important;
    left: 0 !important;
    overflow: visible !important;
    height: 75px !important;
}
#left-navigation {
    position: absolute !important;
    left: 20px !important;
    bottom: 62px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
}
#right-navigation {
    position: absolute !important;
    right: 20px !important;
    top: -5px !important;
    height: 75px !important;
    display: block !important;
}
#p-namespaces,
#p-views,
#p-search,
#p-cactions {
    margin: 0 !important;
}
#mw-page-base,
#mw-head-base {
    background: transparent !important;
}
}


#p-views li, #p-cactions li, #p-namespaces li {
#mw-head::before,
     background: #1e1f22 !important;
#p-logo {
     border: 1px solid #333 !important;
     display: none !important;
     border-bottom: none !important;
}
 
#p-namespaces ul {
     display: flex !important;
     align-items: center !important;
}
}


#p-views li.selected, #p-namespaces li.selected {
#ca-talk {
     border-bottom: 2px solid #a862ea !important;
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
     z-index: 9999 !important;
    position: relative !important;
    height: auto !important;
    order: -1 !important;
}
}


#p-views li a, #p-namespaces li a {
#ca-talk,
    color: #e6e6e6 !important;
#ca-talk a,
#ca-talk:hover,
#ca-talk a:hover,
#ca-talk.selected {
     background: transparent !important;
     background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}
#ca-talk a {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    width: 48px !important;
    height: 48px !important;
    position: relative !important;
    margin: 8px !important;
    padding: 0 !important;
}
#ca-talk a span {
    display: none !important;
}
#ca-talk a::before {
    content: "" !important;
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    background-image: url(https://wiki.jcraft-eoe.com/images/e/e6/JcraftIcon.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    visibility: visible !important;
}
#ca-talk a:hover::before {
    filter: drop-shadow(0 0 5px var(--color-primary)) !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: 40px !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto !important;
}
}


#mw-panel {
.mc-arrow {
     background-color: rgba(10, 10, 10, 0.9) !important;
     font-size: 32px !important;
     border-right: 1px solid #333 !important;
    color: #373737 !important;
     width: 160px !important;
    font-family: sans-serif !important;
     padding-top: 180px !important;
}
     height: 100vh;
 
.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;
}
}


#mw-panel .portal h3 {
figure[typeof~='mw:File/Thumb'],
     color: #a862ea !important;
figure[typeof~='mw:File/Frame'],
     text-transform: uppercase;
.thumb,
    font-size: 0.75em;
.thumbinner {
    padding: 5px 0 5px 10px;
     background-color: transparent !important;
     background: none !important;
     border: none !important;
     border: none !important;
     background: transparent !important;
     box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
}
}


#mw-panel .portal .body ul li a {
.thumbcaption,
     color: #bbb !important;
figure figcaption {
     transition: 0.2s;
     color: #ffffff !important;
     font-size: 12.6px !important;
    text-align: center !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}
}


#mw-panel .portal .body ul li a:hover {
.magnify,
     color: #fff !important;
.magnifier {
    text-decoration: none !important;
     display: none !important;
}
}


Line 165: Line 248:
}
}


h3, h4, h5, h6 {
h3,
     font-weight: 600 !important;
h4,
     color: #fff !important;
h5,
h6 {
     color: #ffffff !important;
    border-bottom: none !important;
    text-decoration: none !important;
}
 
a {
    color: #a862ea !important;
}
 
a:visited {
     color: #8c4dbf !important;
}
 
#p-views li,
#p-cactions li,
#p-namespaces li,
#p-views li a,
#p-cactions li a,
#p-namespaces li a,
#p-views li.selected a,
#p-namespaces li.selected a,
#p-views li a:hover,
#p-cactions li a:hover,
#p-namespaces li a:hover {
    background-color: #1e1f22 !important;
    background-image: none !important;
    color: #e6e6e6 !important;
    border: 1px solid #333 !important;
     border-bottom: none !important;
     border-bottom: none !important;
}
}


h3 { font-size: 20px !important; }
#p-views li.selected,
h4 { font-size: 18px !important; }
#p-namespaces li.selected {
    border-bottom: 2px solid #a862ea !important;
}


a { color: #a862ea !important; }
#content .portable-infobox .pi-panel {
a:visited { color: #8c4dbf !important; }
    display: flex !important;
    flex-direction: column-reverse !important;  
}


.mp-box {
#content ul.pi-section-navigation {
     background: #1e1f22;
     background-color: #0a0a0a !important;
     border: 1px solid #2b2d31;
    display: flex !important;
     border-radius: 8px;
    width: 100% !important;
     padding: 15px;  
    margin: 0 !important;
     overflow: hidden;
    padding: 0 !important;
     margin-bottom: 20px;
    list-style: none !important;
    border-top: 1px solid #333 !important;
     border-bottom: 1px solid #333 !important;
     box-sizing: border-box !important;
}
 
#content ul.pi-section-navigation li.pi-section-tab {
    flex: 1 !important;
    text-align: center !important;
     padding: 10px 5px !important;
    color: #bbb !important;
     cursor: pointer !important;
    list-style-type: none !important;  
     margin: 0 !important;
}
}


Line 191: Line 320:
     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 {
.portable-infobox .pi-title {
    font-size: 21px !important;
    font-weight: bold !important;
    padding: 10px !important;
    text-align: center;
     background-color: #111 !important;
     background-color: #111 !important;
     color: #fff !important;
     color: #fff !important;
    font-size: 26px !important;
    font-weight: bold !important;
    text-align: center !important;
}
}


.portable-infobox .pi-header {
.portable-infobox .pi-header {
     background-color: #111 !important;
     background-color: #111 !important;
    background-image: none !important;
     color: #fff !important;
     color: #fff !important;
     padding: 6px 10px !important;
     border-bottom: none !important;
    font-size: 18px !important;
     font-weight: bold !important;
     font-weight: bold !important;
     font-size: 15.4px !important;
     text-align: center !important;
     text-transform: none;
}
 
#toc,
.toc {
    background-color: #1e1f22 !important;
    border: 1px solid #2b2d31 !important;
    border-top: 3px solid #a862ea !important;
    padding: 15px !important;
   
    max-height: 33vh !important;  
     overflow-y: auto !important;
 
    display: inline-block !important;
    width: fit-content !important; 
    max-width: 400px !important;     
    min-width: 150px !important;     
    margin-bottom: 20px !important;
}
}


.portable-infobox .pi-data-label {
#content #toc ul,
#content .toc ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style-type: none !important;
}
 
#content #toc ul li,
#content .toc ul li {
    list-style-type: none !important;
    margin-bottom: 6px !important;
    display: block !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}
 
#content #toc ul li::marker {
    content: "" !important;
    display: none !important;
}
 
.tocnumber {
    color: #888 !important;
    margin-right: 5px !important;
    font-size: 0.9em !important;
}
 
#toc > ul > li > a > .toctext {
     font-weight: bold !important;
     font-weight: bold !important;
    font-size: 12.6px !important;
     color: #ffffff !important;
     color: #bbb !important;
    padding: 6px 10px !important;
    flex-basis: 110px !important;
}
}


.portable-infobox .pi-data-value {
#toc ul ul .toctext {
     font-size: 12.6px !important;
     font-weight: normal !important;
     color: #e6e6e6 !important;
     color: #e6e6e6 !important;
     padding: 6px 10px !important;
     font-size: 14px !important;
}
 
#toc a:hover .toctext {
    color: #a862ea !important;
    text-decoration: underline !important;
}
 
#content .pi-section-navigation .pi-section-tab.pi-section-active,
#content .pi-section-navigation .pi-section-tab.current,
#content .pi-media-collection .pi-tab-link.current {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-bottom: 2px solid #a862ea !important;
}
}


.portable-infobox .pi-image img,
#content .pi-section-navigation .pi-section-tab.current,
.portable-infobox .pi-media img {
#content .pi-section-navigation .pi-section-tab.current b,
     max-width: 100% !important;
#content .pi-media-collection .pi-tab-link.current {
     height: auto !important;
     color: #a862ea !important;
    display: block !important;
     font-weight: bold !important;
    margin: 0 auto !important;
}
}


.pi-section-navigation {
#content .pi-section-navigation {
     background-color: #0a0a0a !important;
     background-color: #0a0a0a !important;
     display: flex !important;
     display: flex !important;
Line 249: Line 424:
}
}


.pi-section-tab {
#content .pi-section-tab {
     flex: 1;
     flex: 1 !important;
     text-align: center;
     text-align: center !important;
     padding: 10px 5px !important;
     padding: 10px 5px !important;
     color: #bbb !important;
     color: #bbb !important;
     cursor: pointer;
     cursor: pointer !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
}
}


.pi-section-navigation .pi-section-tab.pi-section-active,
.mw-collapsible-content img[src$=".gif"] {
.pi-section-navigation .pi-section-tab.current,
     display: block !important;
.pi-media-collection .pi-tab-link.current,
     visibility: visible !important;
.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,
.wikitable,
.pi-section-navigation .pi-section-tab.current b,
.loot-table {
.pi-section-navigation .pi-section-tab.current strong,
     background-color: #1e1f22 !important;
.pi-media-collection .pi-tab-link.current,
     color: #e6e6e6 !important;
.portable-infobox .pi-panel-navigation li.current,
     border: 1px solid #333 !important;
.portable-infobox .pi-panel-navigation li.current * {
     color: #a862ea !important;
     font-weight: bold !important;
     text-decoration: none !important;
}
}


.pi-section-tab:hover,
.wikitable th,
.portable-infobox .pi-panel-navigation li:hover {
.loot-table th {
     background-color: rgba(255, 255, 255, 0.1) !important;
     background-color: #111111 !important;
     color: #fff !important;
     color: #ffffff !important;
}
}


.pi-panel-content {
.catlinks {
     background: rgba(0, 0, 0, 0.2) !important;
     background: #1e1f22;
     padding: 15px !important;
     border: 1px solid #2b2d31;
     border-radius: 0 0 4px 4px;
     border-radius: 8px;
}
}


#toc, .toc {
#footer {
    background-color: #1e1f22 !important;
     display: none !important;
    border: 1px solid #2b2d31 !important;
    border-top: 3px solid #a862ea !important;
    border-radius: 4px !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 {
#content ul,  
    font-size: 18px !important;
#content ol {
    font-family: 'Rubik', sans-serif !important;
     margin-left: 2em !important;
    color: #fff !important;
     padding-left: 0.5em !important;
    border-bottom: 1px solid #333 !important;
     margin-bottom: 10px !important;
    text-transform: uppercase !important;
     letter-spacing: 1px !important;
}
}


.tocnumber {
#content ul li {
     color: #a862ea !important;
    list-style-type: disc !important;
     margin-right: 5px !important;
     color: #e6e6e6 !important;
     margin-bottom: 0.4em;
}
}


.toctext {
#content ol li {
    list-style-type: decimal !important;
     color: #e6e6e6 !important;
     color: #e6e6e6 !important;
    margin-bottom: 0.4em;
}
}


#toc li a:hover .toctext {
#content ul li::marker,
     color: #a862ea !important;
#content ol li::marker {
     text-decoration: none !important;
     color: #ffffff !important;
    font-weight: bold;
}
 
.stand-chart4-wrapper {
    position: relative;
    width: 450px !important; 
    height: 450px !important;  
     max-width: none !important;
    margin: 20px auto;
    background-image: url('https://wiki.jcraft-eoe.com/images/b/bd/StandChart_Background.png') !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transform-origin: center center;
}
}


.toctogglelabel {
.stand-chart4-inner {
     color: #a862ea !important;
     position: absolute;
     font-size: 0.8em !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: none !important;  
     transform: scale(0.54);
   
    --cx: 49.5%;
    --cy: 51%;  
}
}


.page-Main_Page #firstHeading { display: none !important; }
.stand-chart4-polygon {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(180, 30, 30, 0.4);
    z-index: 1;
    clip-path: polygon(
        var(--cx) calc(var(--cy) - (var(--pow) * 1%)),
        calc(var(--cx) + (var(--spd) * 0.866%)) calc(var(--cy) - (var(--spd) * 0.5%)),
        calc(var(--cx) + (var(--rng) * 0.866%)) calc(var(--cy) + (var(--rng) * 0.5%)),
        var(--cx) calc(var(--cy) + (var(--dur) * 1%)),
        calc(var(--cx) - (var(--pre) * 0.866%)) calc(var(--cy) + (var(--pre) * 0.5%)),
        calc(var(--cx) - (var(--pot) * 0.866%)) calc(var(--cy) - (var(--pot) * 0.5%))
    );
}


#p-logo {
.stand-chart4-label {
     position: absolute;
     position: absolute;
     top: -160px;
     font-size: 30px;
     left: 0;
     font-weight: 900;
     width: 160px;
     transform: translate(-50%, -50%);
     height: 160px;
     z-index: 2;  
}
}


.mw-wiki-logo {
.label4-pow { top: 18%; left: 50%; }
     background-size: contain !important;
.label4-spd { top: 31%; left: 79%; } 
     width: 140px !important;
.label4-rng { top: 69%; left: 79%; } 
     height: 140px !important;
.label4-dur { top: 82%; left: 50%; } 
     margin: 10px auto !important;
.label4-pre { top: 69%; left: 21%; } 
.label4-pot { top: 31%; left: 21%; } 
 
.portable-infobox .pi-data,
.portable-infobox .pi-item,
.portable-infobox .pi-group,
.portable-infobox .pi-data-value {
    overflow: visible !important;
}
 
.portable-infobox .stand-chart4-wrapper {
     transform: scale(0.49) !important;
    transform-origin: center center !important;
     margin-left: -90px !important;  
     margin-top: -110px !important;
     margin-bottom: -120px !important;
    pointer-events: none;
}
 
.portable-infobox .stand-chart4-wrapper:hover {
    transform: scale(1.0) !important;
    pointer-events: auto;
    z-index: 100;
    background-color: rgba(30, 31, 34, 0.98);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-in-out;
}
 
.portable-infobox {
    overflow: visible !important;
}
}


textarea, input {
.wikitable code {
     background-color: #2d2d2d !important;
     background-color: #000000 !important;
     color: #fff !important;
     color: #ffffff !important;
     border: 1px solid #444 !important;
     border: 1px solid #444 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-family: 'Courier New', Courier, monospace !important;
}
}


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


.wikitable th, .loot-table th {
code {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}
 
.oo-ui-window-frame,
.oo-ui-processDialog-content,
.oo-ui-processDialog-navigation,
.oo-ui-window-foot,
.ve-ui-mwTemplateDialog-content {
    background-color: #1e1f22 !important;
    color: #e6e6e6 !important;
}
 
.oo-ui-inputWidget-input {
     background-color: #111111 !important;
     background-color: #111111 !important;
     color: #ffffff !important;
     color: #ffffff !important;
     border: 1px solid #333 !important;
     border: 1px solid #a862ea !important;
}
}


.wikitable td, .loot-table td {
.oo-ui-menuOptionWidget-selected {
     border: 1px solid #2b2d31 !important;
     background-color: #a862ea !important;
}
}


#footer {
#content ul.pi-section-navigation:has(li.pi-section-tab:only-child) {
     display: none !important;
     display: none !important;
}
#content .portable-infobox .pi-panel:has(ul.pi-section-navigation:only-child) {
    border: none !important;
}
.infobox-wrapper {
    float: right !important;     
    clear: right !important;     
    margin: 0 0 15px 15px !important;
    width: 275px !important;     
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.infobox-wrapper .tabber,
.infobox-wrapper .tabber-live,
.infobox-wrapper .wds-tabber,
.infobox-wrapper .wds-tabs__wrapper {
    overflow: visible !important;
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}
.infobox-wrapper .wds-tabs,
.infobox-wrapper .tabbernav {
    display: flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
    border-bottom: 1px solid #333 !important;
    width: 100% !important;
}
.infobox-wrapper .wds-tabs__tab,
.infobox-wrapper .tabbernav li {
    white-space: normal !important;
    word-wrap: break-word !important;
    flex-grow: 1 !important;
    text-align: center !important;
}
.infobox-wrapper .portable-infobox {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}
}

Latest revision as of 15:01, 29 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;
}

.page-Main_Page .firstHeading {
    display: none !important;
}

#mw-panel {
    display: none !important;
}

#content {
    background-color: rgba(30, 31, 34, 0.96) !important;
    max-width: 1100px !important;
    margin: 40px 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(30, 31, 34, 0.8) !important; 
    border-bottom: 1px solid #333 !important;
    left: 0 !important;
    overflow: visible !important;
    height: 75px !important;
}

#left-navigation {
    position: absolute !important;
    left: 20px !important;
    bottom: 62px !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
}

#right-navigation {
    position: absolute !important;
    right: 20px !important;
    top: -5px !important;
    height: 75px !important;
    display: block !important;
}

#p-namespaces, 
#p-views, 
#p-search, 
#p-cactions {
    margin: 0 !important; 
}

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

#mw-head::before,
#p-logo {
    display: none !important;
}

#p-namespaces ul {
    display: flex !important;
    align-items: center !important;
}

#ca-talk {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    z-index: 9999 !important;
    position: relative !important;
    height: auto !important;
    order: -1 !important;
}

#ca-talk,
#ca-talk a,
#ca-talk:hover,
#ca-talk a:hover,
#ca-talk.selected {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
}

#ca-talk a {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    width: 48px !important;
    height: 48px !important;
    position: relative !important;
    margin: 8px !important;
    padding: 0 !important;
}

#ca-talk a span {
    display: none !important;
}

#ca-talk a::before {
    content: "" !important;
    display: block !important;
    width: 48px !important;
    height: 48px !important;
    background-image: url(https://wiki.jcraft-eoe.com/images/e/e6/JcraftIcon.png) !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    visibility: visible !important;
}

#ca-talk a:hover::before {
    filter: drop-shadow(0 0 5px var(--color-primary)) !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: 40px !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;
}

h3,
h4,
h5,
h6 {
    color: #ffffff !important;
    border-bottom: none !important;
    text-decoration: none !important;
}

a {
    color: #a862ea !important;
}

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

#p-views li,
#p-cactions li,
#p-namespaces li,
#p-views li a,
#p-cactions li a,
#p-namespaces li a,
#p-views li.selected a,
#p-namespaces li.selected a,
#p-views li a:hover,
#p-cactions li a:hover,
#p-namespaces li a:hover {
    background-color: #1e1f22 !important;
    background-image: none !important;
    color: #e6e6e6 !important;
    border: 1px solid #333 !important;
    border-bottom: none !important;
}

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

#content .portable-infobox .pi-panel {
    display: flex !important;
    flex-direction: column-reverse !important; 
}

#content ul.pi-section-navigation {
    background-color: #0a0a0a !important;
    display: flex !important;
    width: 100% !important;
    margin: 0 !important; 
    padding: 0 !important;
    list-style: none !important;
    border-top: 1px solid #333 !important;
    border-bottom: 1px solid #333 !important;
    box-sizing: border-box !important;
}

#content ul.pi-section-navigation li.pi-section-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 5px !important;
    color: #bbb !important;
    cursor: pointer !important;
    list-style-type: none !important; 
    margin: 0 !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: 26px !important;
    font-weight: bold !important;
    text-align: center !important;
}

.portable-infobox .pi-header {
    background-color: #111 !important;
    color: #fff !important;
    border-bottom: none !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
}

#toc,
.toc {
    background-color: #1e1f22 !important;
    border: 1px solid #2b2d31 !important;
    border-top: 3px solid #a862ea !important;
    padding: 15px !important;
    
    max-height: 33vh !important; 
    overflow-y: auto !important; 

    display: inline-block !important; 
    width: fit-content !important;   
    max-width: 400px !important;      
    min-width: 150px !important;      
    margin-bottom: 20px !important;
}

#content #toc ul, 
#content .toc ul {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style-type: none !important;
}

#content #toc ul li, 
#content .toc ul li {
    list-style-type: none !important; 
    margin-bottom: 6px !important;
    display: block !important;
    white-space: normal !important; 
    word-wrap: break-word !important;
}

#content #toc ul li::marker {
    content: "" !important; 
    display: none !important;
}

.tocnumber {
    color: #888 !important;
    margin-right: 5px !important;
    font-size: 0.9em !important;
}

#toc > ul > li > a > .toctext {
    font-weight: bold !important;
    color: #ffffff !important;
}

#toc ul ul .toctext {
    font-weight: normal !important;
    color: #e6e6e6 !important;
    font-size: 14px !important;
}

#toc a:hover .toctext {
    color: #a862ea !important;
    text-decoration: underline !important;
}

#content .pi-section-navigation .pi-section-tab.pi-section-active,
#content .pi-section-navigation .pi-section-tab.current,
#content .pi-media-collection .pi-tab-link.current {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-bottom: 2px solid #a862ea !important;
}

#content .pi-section-navigation .pi-section-tab.current,
#content .pi-section-navigation .pi-section-tab.current b,
#content .pi-media-collection .pi-tab-link.current {
    color: #a862ea !important;
    font-weight: bold !important;
}

#content .pi-section-navigation {
    background-color: #0a0a0a !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid #333 !important;
}

#content .pi-section-tab {
    flex: 1 !important;
    text-align: center !important;
    padding: 10px 5px !important;
    color: #bbb !important;
    cursor: pointer !important;
}

.mw-collapsible-content img[src$=".gif"] {
    display: block !important;
    visibility: visible !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;
}

#content ul, 
#content ol {
    margin-left: 2em !important;
    padding-left: 0.5em !important;
}

#content ul li {
    list-style-type: disc !important; 
    color: #e6e6e6 !important;
    margin-bottom: 0.4em;
}

#content ol li {
    list-style-type: decimal !important; 
    color: #e6e6e6 !important;
    margin-bottom: 0.4em;
}

#content ul li::marker,
#content ol li::marker {
    color: #ffffff !important; 
    font-weight: bold;
}

.stand-chart4-wrapper {
    position: relative;
    width: 450px !important;  
    height: 450px !important; 
    max-width: none !important; 
    margin: 20px auto;
    background-image: url('https://wiki.jcraft-eoe.com/images/b/bd/StandChart_Background.png') !important;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8); 
    transform-origin: center center;
}

.stand-chart4-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: none !important; 
    transform: scale(0.54); 
    
    --cx: 49.5%; 
    --cy: 51%; 
}

.stand-chart4-polygon {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(180, 30, 30, 0.4); 
    z-index: 1; 
    clip-path: polygon(
        var(--cx) calc(var(--cy) - (var(--pow) * 1%)),
        calc(var(--cx) + (var(--spd) * 0.866%)) calc(var(--cy) - (var(--spd) * 0.5%)),
        calc(var(--cx) + (var(--rng) * 0.866%)) calc(var(--cy) + (var(--rng) * 0.5%)),
        var(--cx) calc(var(--cy) + (var(--dur) * 1%)),
        calc(var(--cx) - (var(--pre) * 0.866%)) calc(var(--cy) + (var(--pre) * 0.5%)),
        calc(var(--cx) - (var(--pot) * 0.866%)) calc(var(--cy) - (var(--pot) * 0.5%))
    );
}

.stand-chart4-label {
    position: absolute;
    font-size: 30px;
    font-weight: 900;
    transform: translate(-50%, -50%);
    z-index: 2; 
}

.label4-pow { top: 18%; left: 50%; } 
.label4-spd { top: 31%; left: 79%; }  
.label4-rng { top: 69%; left: 79%; }  
.label4-dur { top: 82%; left: 50%; }  
.label4-pre { top: 69%; left: 21%; }  
.label4-pot { top: 31%; left: 21%; }  

.portable-infobox .pi-data,
.portable-infobox .pi-item,
.portable-infobox .pi-group,
.portable-infobox .pi-data-value {
    overflow: visible !important;
}

.portable-infobox .stand-chart4-wrapper {
    transform: scale(0.49) !important;
    transform-origin: center center !important;
    margin-left: -90px !important; 
    margin-top: -110px !important;
    margin-bottom: -120px !important;
    pointer-events: none; 
}

.portable-infobox .stand-chart4-wrapper:hover {
    transform: scale(1.0) !important;
    pointer-events: auto;
    z-index: 100;
    background-color: rgba(30, 31, 34, 0.98);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    transition: transform 0.2s ease-in-out;
}

.portable-infobox {
    overflow: visible !important;
}

.wikitable code {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
    font-family: 'Courier New', Courier, monospace !important;
}

.wikitable td {
    background-color: #1e1f22 !important;
    color: #e6e6e6 !important;
}

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

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

.wikitable td {
    border: 1px solid #333 !important;
}

code {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #444 !important;
    padding: 2px 4px !important;
    border-radius: 3px !important;
}

.oo-ui-window-frame,
.oo-ui-processDialog-content,
.oo-ui-processDialog-navigation,
.oo-ui-window-foot,
.ve-ui-mwTemplateDialog-content {
    background-color: #1e1f22 !important;
    color: #e6e6e6 !important;
}

.oo-ui-inputWidget-input {
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #a862ea !important;
}

.oo-ui-menuOptionWidget-selected {
    background-color: #a862ea !important;
}

#content ul.pi-section-navigation:has(li.pi-section-tab:only-child) {
    display: none !important;
}

#content .portable-infobox .pi-panel:has(ul.pi-section-navigation:only-child) {
    border: none !important;
}

.infobox-wrapper {
    float: right !important;       
    clear: right !important;       
    margin: 0 0 15px 15px !important; 
    width: 275px !important;      
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.infobox-wrapper .tabber,
.infobox-wrapper .tabber-live,
.infobox-wrapper .wds-tabber,
.infobox-wrapper .wds-tabs__wrapper {
    overflow: visible !important; 
    overflow-x: visible !important;
    width: 100% !important;
    max-width: 100% !important;
}

.infobox-wrapper .wds-tabs,
.infobox-wrapper .tabbernav {
    display: flex !important;
    flex-wrap: wrap !important; 
    white-space: normal !important;
    border-bottom: 1px solid #333 !important; 
    width: 100% !important;
}

.infobox-wrapper .wds-tabs__tab,
.infobox-wrapper .tabbernav li {
    white-space: normal !important;
    word-wrap: break-word !important;
    flex-grow: 1 !important;
    text-align: center !important;
}

.infobox-wrapper .portable-infobox {
    width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}