MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 153: | Line 153: | ||
.vector-menu-tabs .selected { border-bottom: 2px solid #a862ea !important; } | .vector-menu-tabs .selected { border-bottom: 2px solid #a862ea !important; } | ||
/* Custom UI Blocks */ | |||
.movebox-container { | .movebox-container { | ||
background-color: #1a1a1a; border: 2px solid #333; border-radius: 4px; | background-color: #1a1a1a; border: 2px solid #333; border-radius: 4px; | ||
Revision as of 22:44, 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;
}
/* Global Styles & Background */
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;
}
/* Layout & Transparency */
#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);
}
/* Typography */
.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; }
/* Portable Infobox - Fandom Aesthetics */
.portable-infobox {
background-color: #1e1f22 !important;
border: 1px solid #a862ea !important;
color: #e6e6e6 !important;
width: 300px;
float: right;
margin: 0 0 1em 1em;
border-radius: 4px;
overflow: hidden; /* Keeps image corners from overlapping borders */
}
.pi-title {
font-size: 1.4em !important;
text-align: center;
padding: 10px !important;
background: rgba(168, 98, 234, 0.1) !important;
color: #fff !important;
font-weight: 700;
}
.pi-header {
background-color: #a862ea !important;
color: #fff !important;
font-weight: bold;
text-transform: uppercase;
text-align: center;
padding: 8px !important;
}
/* IMAGE VISIBILITY FIXES */
.pi-image {
background-color: #111 !important;
border-bottom: 1px solid #2b2d31;
padding: 5px !important;
display: block !important;
text-align: center !important;
}
.pi-image img {
max-width: 100% !important;
height: auto !important;
display: inline-block !important;
}
.pi-caption {
font-size: 0.8em;
color: #bbb;
padding: 5px;
}
.pi-data-label {
background-color: rgba(168, 98, 234, 0.1) !important;
color: #a862ea !important;
font-weight: bold !important;
padding: 8px !important;
}
.pi-data-value {
background-color: transparent !important;
color: #e6e6e6 !important;
padding: 8px !important;
}
.pi-item {
border-bottom: 1px solid #2b2d31 !important;
}
.pi-collapse-button {
color: #a862ea !important;
}
/* Wiki Elements (Logo, Footer, Tabs) */
#p-logo, .mw-wiki-logo {
width: 165px !important;
height: 165px !important;
margin: 10px auto !important;
display: block !important;
background-size: 140px auto !important;
background-position: center !important;
background-repeat: no-repeat !important;
}
#mw-panel { padding-top: 180px !important; }
#footer { display: none !important; }
.vector-menu-tabs li { background-color: #1e1f22 !important; }
.vector-menu-tabs .selected { border-bottom: 2px solid #a862ea !important; }
/* Custom UI Blocks */
.movebox-container {
background-color: #1a1a1a; border: 2px solid #333; border-radius: 4px;
width: 100%; max-width: 450px; margin: 10px 0; color: #fff; overflow: hidden;
}
.movebox-header { background-color: #111; padding: 10px; font-weight: bold; text-align: center; text-transform: uppercase; }
.char-slider-container {
background: #1e1e1e !important; border: 2px solid #3c3c3c !important;
display: flex; overflow-x: auto; padding: 20px; gap: 15px;
}
textarea, input { background-color: #2d2d2d !important; color: #fff !important; border: 1px solid #444 !important; }
.mw-ui-icon { filter: invert(1) !important; }