MediaWiki:Common.css: Difference between revisions

From JCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:
body {
body {
     background-color: #000000 !important;
     background-color: #000000 !important;
     background-image: url('https://sake.mom/jcraft/index.php?title=File:JoJo_background.webp') !important;
     background-image: url('/jcraft/images/f/f0/JoJo_background.webp') !important;
     background-attachment: fixed !important;
     background-attachment: fixed !important;
     background-size: 300px auto !important;
     background-size: 300px auto !important;
Line 19: Line 19:
}
}


#mw-page-base, #mw-head-base {
#mw-page-base, #mw-head-base, .vector-menu-tabs, .vector-menu-tabs a {
     background: transparent !important;
     background: transparent !important;
}
}

Revision as of 22:22, 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/f/f0/JoJo_background.webp') !important;
    background-attachment: fixed !important;
    background-size: 300px auto !important;
    background-repeat: 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;
}

#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 {
    background-color: #1a1a1b !important;
    border: 1px solid #a862ea !important;
    float: right;
    margin: 0 0 1em 1em;
}

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

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

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