MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 198: | Line 198: | ||
#footer { | #footer { | ||
display: none !important; | display: none !important; | ||
} | |||
/* Fandom-style Structure Infobox */ | |||
.fandom-infobox { | |||
background-color: #1e1f22; /* Matches your Dark Mode */ | |||
border: 1px solid #a862ea; | |||
width: 300px; | |||
float: right; | |||
margin: 0 0 1em 1em; | |||
font-family: 'Rubik', sans-serif; | |||
color: #e6e6e6; | |||
border-radius: 4px; | |||
overflow: hidden; | |||
box-shadow: 0 4px 10px rgba(0,0,0,0.3); | |||
} | |||
.pi-header { | |||
background-color: #a862ea; | |||
color: #fff; | |||
padding: 10px; | |||
text-align: center; | |||
font-weight: bold; | |||
font-size: 1.2em; | |||
text-transform: uppercase; | |||
} | |||
.pi-image { | |||
padding: 10px; | |||
text-align: center; | |||
background: #111; | |||
} | |||
.pi-image img { | |||
max-width: 100%; | |||
height: auto; | |||
} | |||
.pi-caption { | |||
font-size: 0.85em; | |||
padding-top: 5px; | |||
color: #bbb; | |||
} | |||
.pi-data { | |||
width: 100%; | |||
border-collapse: collapse; | |||
} | |||
.pi-data tr { | |||
border-top: 1px solid #2b2d31; | |||
} | |||
.pi-label { | |||
background-color: rgba(168, 98, 234, 0.1); | |||
color: #a862ea; | |||
font-weight: bold; | |||
padding: 8px; | |||
text-align: left; | |||
width: 35%; | |||
font-size: 0.9em; | |||
} | |||
.pi-value { | |||
padding: 8px; | |||
font-size: 0.9em; | |||
} | |||
/* Specific fix for "Generation" data to prevent overflow */ | |||
.pi-data tr:last-child .pi-value { | |||
font-size: 0.8em; | |||
} | } | ||
Revision as of 22:39, 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;
}
#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;
}
#footer {
display: none !important;
}
/* Fandom-style Structure Infobox */
.fandom-infobox {
background-color: #1e1f22; /* Matches your Dark Mode */
border: 1px solid #a862ea;
width: 300px;
float: right;
margin: 0 0 1em 1em;
font-family: 'Rubik', sans-serif;
color: #e6e6e6;
border-radius: 4px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.pi-header {
background-color: #a862ea;
color: #fff;
padding: 10px;
text-align: center;
font-weight: bold;
font-size: 1.2em;
text-transform: uppercase;
}
.pi-image {
padding: 10px;
text-align: center;
background: #111;
}
.pi-image img {
max-width: 100%;
height: auto;
}
.pi-caption {
font-size: 0.85em;
padding-top: 5px;
color: #bbb;
}
.pi-data {
width: 100%;
border-collapse: collapse;
}
.pi-data tr {
border-top: 1px solid #2b2d31;
}
.pi-label {
background-color: rgba(168, 98, 234, 0.1);
color: #a862ea;
font-weight: bold;
padding: 8px;
text-align: left;
width: 35%;
font-size: 0.9em;
}
.pi-value {
padding: 8px;
font-size: 0.9em;
}
/* Specific fix for "Generation" data to prevent overflow */
.pi-data tr:last-child .pi-value {
font-size: 0.8em;
}