MediaWiki:Common.css: Difference between revisions
From The CPPS Lore Wiki
No edit summary |
No edit summary |
||
(35 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); | ||
/* === GENERAL LAYOUT === */ | |||
body, | body, | ||
.skin-chameleon, | .skin-chameleon, | ||
Line 6: | Line 7: | ||
.skin-chameleon .row, | .skin-chameleon .row, | ||
.skin-chameleon .col { | .skin-chameleon .col { | ||
background: # | background: linear-gradient(135deg, #151e2c 0%, #16364d 100%) !important; | ||
color: # | color: #e5f9ff !important; | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
} | |||
.mw-body, | |||
.mw-body-content { | |||
background: rgba(22,49,78,0.96) !important; | |||
border-radius: 18px !important; | |||
margin: 38px auto 24px auto !important; | |||
padding: 42px 48px !important; | |||
max-width: 1080px !important; | |||
min-height: 520px; | |||
box-shadow: 0 8px 40px #3dfaff15, 0 1px 0 #fff2 !important; | |||
position: relative; | |||
} | |||
@media (max-width: 900px) { | |||
.mw-body, .mw-body-content { padding: 18px !important; } | |||
} | |||
/* === NAVBAR, LOGO & SEARCH BAR === */ | |||
.p-navbar, | |||
.p-navbar .navbar-brand, | |||
.p-navbar .navbar-nav, | |||
.p-navbar .navbar-tools, | |||
.p-navbar .navbar-form, | |||
.p-navbar .input-group, | |||
.p-navbar .navbar-nav.right { | |||
display: flex !important; | |||
align-items: center !important; | |||
} | |||
.p-navbar { | |||
min-height: 72px !important; | |||
background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; | |||
color: #e5f9ff !important; | |||
border: none !important; | |||
box-shadow: 0 6px 24px #00203f33; | |||
padding: 0 16px !important; | |||
} | |||
#p-logo.navbar-brand img { | |||
height: 62px !important; | |||
width: auto !important; | |||
max-height: 62px !important; | |||
margin: 0 24px 0 4px !important; | |||
padding: 0 !important; | |||
border-radius: 10px !important; | |||
background: transparent !important; | |||
object-fit: contain !important; | |||
display: block !important; | |||
} | |||
/* === SEARCH BAR === */ | |||
#p-search.navbar-form, | |||
#p-search .input-group { | |||
display: flex !important; | |||
align-items: center !important; | |||
margin: 0 0 0 18px !important; | |||
padding: 0 !important; | |||
} | |||
#searchInput.form-control { | |||
height: 40px !important; | |||
padding: 0 16px !important; | |||
border-radius: 8px 0 0 8px !important; | |||
border: 2px solid #42baff !important; | |||
border-right: none !important; | |||
background: #16293c !important; | |||
color: #e5f9ff !important; | |||
font-size: 1.08rem !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
margin: 0 !important; | |||
position: relative !important; | |||
} | |||
#searchInput.form-control::placeholder { | |||
color: #60ffff !important; | |||
opacity: 1 !important; | |||
} | |||
.search-btn, .searchGoButton { | |||
height: 40px !important; | |||
border-radius: 0 8px 8px 0 !important; | |||
border: 2px solid #42baff !important; | |||
border-left: none !important; | |||
background: #23a3ce !important; | |||
color: #fff !important; | |||
font-size: 1.15em !important; | |||
box-shadow: none !important; | |||
padding: 0 18px !important; | |||
margin: 0 !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
justify-content: center !important; | |||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
.search-btn:focus, .searchGoButton:focus { outline: none !important; } | |||
.search-btn .fa-search, .searchGoButton .fa-search { | |||
color: #fff !important; | |||
font-size: 1.1em !important; | |||
line-height: 1 !important; | |||
margin: 0; | |||
padding: 0; | |||
} | |||
/* === NAV TOOLS/CUSTOM BUTTONS: Vertically centered === */ | |||
.p-navbar .navbar-tools, | |||
.p-navbar .navbar-nav.right { | |||
display: flex !important; | |||
align-items: center !important; | |||
gap: 18px !important; /* <-- Increase gap for more space */ | |||
} | |||
.p-navbar .navbar-tools > .navbar-tool, | |||
.p-navbar .navbar-nav.right > .navbar-tool { | |||
margin-left: 10px !important; /* If still not enough space, increase */ | |||
} | } | ||
/* ====== Space between search and user icon ====== */ | |||
#p-search + .navbar-tools, | |||
#p-search + .navbar-nav.right, | |||
#p-search + .navbar-userloggedin, | |||
.navbar-userloggedin { | |||
margin-left: 20px !important; | |||
} | |||
.navbar-userloggedin { | |||
padding-left: 8px !important; | |||
padding-right: 8px !important; | |||
font-size: 1.3em !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
} | |||
/* === HIDE PAGE TITLE ON HOME PAGE === */ | |||
body.page-Home h1.firstHeading { display: none !important; } | |||
body.page-Home .mw-redirectedfrom { display: none !important; } | |||
/* === REST OF YOUR SITE STYLES (unchanged) === */ | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
color: #fffbe0 !important; | |||
font-weight: 700 !important; | |||
letter-spacing: 0.01em; | |||
text-shadow: 0 2px 8px #00415d33, 0 1px 0 #26e8ff22; | |||
} | |||
.mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
font-size: 1.07em; | |||
color: #e5f9ff !important; | |||
} | |||
a, a:visited, .navbar a, .footer a { | a, a:visited, .navbar a, .footer a { | ||
color: # | color: #45eaff !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
font-weight: 700 !important; | |||
transition: color 0.2s; | transition: color 0.2s; | ||
} | } | ||
a:hover, .navbar a:hover, .footer a:hover { | a:hover, .navbar a:hover, .footer a:hover { | ||
color: # | color: #45eaff !important; | ||
text-shadow: 0 0 10px #45eaff; | |||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
.mw-parser-output .twisted-btn, | |||
button, input[type="button"], input[type="submit"] { | |||
display: inline-block; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
font-weight: 700 !important; | font-weight: 700 !important; | ||
background: linear-gradient(90deg, #2fd2fd 0%, #38f9d7 100%); | |||
color: #123c5d !important; | |||
border: 2px solid #67edff !important; | |||
border-radius: 18px !important; | |||
box-shadow: none !important; | |||
padding: 11px 26px !important; | |||
margin: 8px 12px 8px 0; | |||
font-size: 1.02em !important; | |||
text-shadow: 0 2px 4px #fff2, 0 1px 0 #dffeffcc; | |||
transition: background 0.17s, color 0.17s, box-shadow 0.18s; | |||
} | |||
.mw-parser-output .twisted-btn:hover, | |||
button:hover, input[type="button"]:hover, input[type="submit"]:hover { | |||
background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); | |||
color: #17486b !important; | |||
box-shadow: none !important; | |||
} | } | ||
.mw-parser-output .twisted-hero, | |||
.mw-parser-output .twisted-card { | |||
background: # | background: rgba(22, 49, 78, 0.85); | ||
color: # | border-radius: 18px; | ||
font-family: ' | box-shadow: 0 4px 28px #00eaff11, 0 1.5px 0 #fff1; | ||
border: 2px solid #5dfaff33; | |||
padding: 28px 32px 16px 32px; | |||
margin: 0 auto 28px auto; | |||
color: #f1fdff !important; | |||
max-width: 1100px; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
position: relative; | |||
backdrop-filter: blur(6px); | |||
} | } | ||
.mw-parser-output .twisted-card:before, | |||
.mw-parser-output .twisted-hero:before { | |||
content: ""; | |||
display: block; | |||
border- | position: absolute; | ||
left: -7px; right: -7px; top: -7px; bottom: -7px; | |||
border-radius: 22px; | |||
pointer-events: none; | |||
box-shadow: 0 0 44px 16px #fff1, 0 0 0 8px #99ebff07; | |||
z-index: 0; | |||
} | } | ||
.mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } | |||
.mw-parser-output .twisted-hero-main { flex: 1 1 auto; } | |||
background: # | input[type="text"], .form-control, textarea { | ||
color: # | background: #18293d !important; | ||
border: | color: #e5f9ff !important; | ||
border: 2px solid #5dfaff !important; | |||
border-radius: 11px !important; | |||
box-shadow: none !important; | |||
padding: 8px 16px !important; | |||
font-size: 1.05rem !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
transition: border-color 0.18s, box-shadow 0.18s; | |||
} | } | ||
input[type="text"]:focus, .form-control:focus, textarea:focus { | |||
outline: none !important; | |||
border-color: #00eaff !important; | |||
background: #163757 !important; | |||
color: #fff !important; | |||
} | } | ||
table, th, td { | |||
# | background: #122339 !important; | ||
color: #e7f9ff !important; | |||
border-color: #193047 !important; | |||
border-radius: 7px !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
padding: 4px 10px !important; | |||
} | } | ||
pre, code, .mw-code, .mw-highlight pre { | |||
.mw- | background: #21272e !important; | ||
background: | color: #5dfaff !important; | ||
font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', 'monospace' !important; | |||
border-radius: 8px; | |||
padding: 0.6em; | |||
font-size: 0.95em !important; | |||
} | } | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
background: # | background: #162139; | ||
width: 12px; | width: 12px; | ||
} | } | ||
::-webkit-scrollbar-thumb { | ::-webkit-scrollbar-thumb { | ||
background: # | background: linear-gradient(135deg, #3fdfff 0%, #123c5d 100%); | ||
border-radius: 8px; | border-radius: 8px; | ||
box-shadow: 0 2px 8px #00313f44; | |||
} | } | ||
.skin-chameleon .chameleon-footer, .footer, #footer { | |||
background: linear-gradient(90deg, #102c43 0%, #153952 100%) !important; | |||
background: # | color: #75eaff !important; | ||
color: # | border-top: 2px solid #18bcf9 !important; | ||
border: | font-size: 0.97em !important; | ||
border-radius: 18px 18px 0 0 !important; | |||
margin: 20px auto 0 auto !important; | |||
padding: 16px 24px !important; | |||
box-shadow: 0 -4px 30px #00eaff22 !important; | |||
box-shadow: | max-width: 1080px !important; | ||
} | } | ||
button:focus, | |||
input[type=" | input[type="button"]:focus, | ||
input[type="submit"]:focus, | |||
.search-btn:focus, | |||
.searchGoButton:focus { | |||
outline: none !important; | outline: none !important; | ||
box-shadow: none !important; | |||
box-shadow: | |||
} | } | ||
/* This targets the actual logo container and image */ | |||
/* | .p-navbar { | ||
display: flex !important; | |||
align-items: center !important; | |||
min-height: 72px !important; | |||
/* (keep your other navbar styles here) */ | |||
} | } | ||
#p-logo.navbar-brand { | |||
. | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
height: 72px !important; /* Match navbar height */ | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||
#p-logo.navbar-brand img { | |||
height: 48px !important; | |||
width: auto !important; | |||
max-height: 48px !important; | |||
border- | margin: 0 24px 0 4px !important; /* right and left spacing only */ | ||
background: | padding: 0 !important; | ||
border-radius: 10px !important; | |||
background: transparent !important; | |||
object-fit: contain !important; | |||
display: block !important; | |||
align-self: center !important; /* THE FIX: Vertically center */ | |||
vertical-align: middle !important; | |||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
/* ===== Fix VisualEditor Dialogs for Dark Mode ===== */ | |||
.ve-ui-mwPageSettingsDialog, | |||
.ve-ui-mwPageSettingsDialog .oo-ui-window-head, | |||
.ve-ui-mwPageSettingsDialog .oo-ui-window-body, | |||
.oo-ui-dialog, | |||
.oo-ui-window-head, | |||
.oo-ui-window-body, | |||
.oo-ui-window-content, | |||
.oo-ui-window-foot { | |||
background: #18293d !important; | |||
color: #e5f9ff !important; | |||
} | } | ||
. | .oo-ui-window-content input, | ||
. | .oo-ui-window-content textarea, | ||
.oo-ui-window-content select { | |||
background: #1b2d46 !important; | |||
color: #e5f9ff !important; | |||
border: 1.5px solid #42baff !important; | border: 1.5px solid #42baff !important; | ||
} | } | ||
. | .oo-ui-window-content label, | ||
. | .oo-ui-window-content .oo-ui-labelElement-label { | ||
color: #e5f9ff !important; | |||
} | } | ||
.oo-ui-window-content .oo-ui-checkboxInputWidget, | |||
. | .oo-ui-window-content .oo-ui-checkboxInputWidget input[type="checkbox"] { | ||
. | accent-color: #42baff !important; | ||
color: # | background: #222 !important; | ||
border-color: #42baff !important; | |||
} | } | ||
/* | /* Make the Apply/Cancel buttons readable */ | ||
. | .oo-ui-window-foot .oo-ui-buttonElement { | ||
background: #23a3ce !important; | |||
color: #fff !important; | |||
border-radius: 7px !important; | |||
border: 1.5px solid #42baff !important; | |||
font-weight: bold !important; | |||
} | |||
.oo-ui-window-foot .oo-ui-buttonElement:hover { | |||
background: #19cfff !important; | |||
color: #fff !important; | |||
} | } | ||
/* Fix | /* Fix selected toggle buttons */ | ||
. | .oo-ui-buttonSelectWidget .oo-ui-buttonElement.oo-ui-flaggedElement-constructive { | ||
background: #16364d !important; | |||
color: #a8ff0b !important; | |||
} | |||
/* ----- NAV BAR HOVER & ACTIVE COLOR FIX ----- */ | |||
a:hover, .navbar a:hover, .footer a:hover, | |||
.nav-link.active, .nav-link:active, .nav-link:focus, .nav-link:hover, | |||
.n-mainpage-description:hover, .n-mainpage-description:active, .n-mainpage-description:focus { | |||
color: #45eaff !important; /* Your normal accent blue */ | |||
text-shadow: none !important; /* No weird glows */ | |||
background: none !important; | |||
text-decoration: underline !important; | |||
filter: none !important; | |||
} | } | ||
/* | /* ==================== TOOLS BAR & FOOTER FIX ==================== */ | ||
/* Kill the blue bar/gutter for Tools nav above footer */ | |||
nav.p-navbar.not-collapsible, | |||
nav.p-navbar.not-collapsible.small.mb-2, | |||
nav#mw-navigation-i4wxy3evkg { | |||
background: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | |||
min-height: unset !important; | |||
padding: 0 !important; | |||
margin: 0 0 8px 0 !important; /* Small space before footer */ | |||
border-radius: 0 !important; | |||
} | } | ||
nav.p-navbar .navbar-nav, | |||
nav.p-navbar .navbar-nav .nav-item { | |||
background: none !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
border: none !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
height: 32px !important; /* Make the Tools bar tight */ | |||
min-height: 0 !important; | |||
align-items: center !important; | |||
} | |||
nav.p-navbar .nav-link, | |||
nav.p-navbar .dropdown-toggle { | |||
color: #45eaff !important; | |||
font-weight: 600 !important; | |||
padding: 4px 12px !important; | |||
background: none !important; | |||
border-radius: 7px !important; | |||
font-size: 1em !important; | |||
transition: background 0.13s, color 0.13s; | |||
} | } | ||
nav.p-navbar .nav-link:hover, | |||
nav.p-navbar .dropdown-toggle:hover { | |||
background: #172d40 !important; | |||
color: #aef9ff !important; | |||
} | } | ||
nav.p-navbar .dropdown-menu { | |||
background: #101f2f !important; | |||
background: # | border-radius: 10px !important; | ||
border- | box-shadow: 0 8px 32px #000b; | ||
border: 1.5px solid #23a3ce44 !important; | |||
min-width: 140px !important; | |||
padding: 7px 0 !important; | |||
} | } | ||
nav.p-navbar .dropdown-menu .nav-link { | |||
padding: 7px 18px !important; | |||
color: #75eaff !important; | |||
background | background: none !important; | ||
} | } | ||
nav.p-navbar .dropdown-menu .nav-link:hover { | |||
background: #16293c !important; | |||
background: # | color: #45eaff !important; | ||
} | } | ||
nav.p-navbar .dropdown-toggle:after { display: none !important; } | |||
/* | /* Remove any extra bar above footer */ | ||
.chameleon-footer, | .chameleon-footer, | ||
.footer, | .footer, | ||
#footer, | #footer { | ||
# | border-radius: 0 0 18px 18px !important; | ||
# | margin-top: 0 !important; | ||
# | box-shadow: none !important; | ||
} | |||
/* --- Twisted-style Hero Banner --- */ | |||
.twisted-hero { | |||
display: flex; | |||
align-items: center; | |||
gap: 30px; | |||
background: rgba(24,40,60,0.95); | |||
border-radius: 22px; | |||
padding: 40px 42px 34px 42px; | |||
box-shadow: 0 8px 48px #0cf4ff19, 0 2px 0 #00334022; | |||
margin: 32px auto 40px auto; | |||
max-width: 880px; | |||
border: 1.5px solid #27e3ff22; | |||
} | |||
.twisted-hero-logo img { | |||
height: 88px; | |||
border-radius: 18px; | |||
box-shadow: 0 0 14px #00d9ff11; | |||
background: transparent; | |||
} | |||
.twisted-hero-main { | |||
flex: 1 1 auto; | |||
} | |||
.twisted-hero h1 { | |||
color: #fffbe0; | |||
font-size: 2.5em; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif; | |||
margin: 0 0 18px 0; | |||
letter-spacing: 0.01em; | |||
font-weight: 800; | |||
text-shadow: 0 1px 12px #0096d740; | |||
} | |||
.twisted-hero-main > p { | |||
color: #d7f9ff; | |||
font-size: 1.2em; | |||
margin: 0 0 20px 0; | |||
} | |||
.twisted-hero-buttons { | |||
display: flex; | |||
gap: 18px; | |||
} | |||
.twisted-btn { | |||
display: inline-block; | |||
background: linear-gradient(90deg, #23cfff 0%, #3dfaff 100%); | |||
color: #0e3753; | |||
border: none; | |||
font-size: 1.15em; | |||
font-weight: 700; | |||
border-radius: 12px; | |||
padding: 14px 32px; | |||
margin-right: 10px; | |||
text-decoration: none !important; | |||
box-shadow: 0 1px 4px #0aefff24; | |||
transition: background 0.17s, color 0.17s, box-shadow 0.18s; | |||
} | |||
.twisted-btn.outline { | |||
background: none; | |||
color: #23cfff; | |||
border: 2px solid #23cfff; | |||
box-shadow: none; | |||
} | |||
.twisted-btn:hover, | |||
.twisted-btn.outline:hover { | |||
background: linear-gradient(90deg, #1bdcff 0%, #5fffd7 100%); | |||
color: #0e3753; | |||
border: none; | |||
box-shadow: 0 3px 12px #0aefff33; | |||
} | |||
.twisted-btn.outline:hover { | |||
background: #13354d; | |||
color: #54e5ff; | |||
border: 2px solid #38fcff; | |||
} | |||
.twisted-btn.mini { | |||
font-size: 1em; | |||
padding: 9px 18px; | |||
margin-top: 10px; | |||
} | } | ||
. | /* --- Card Row (Three Cards) --- */ | ||
. | .twisted-cards-row { | ||
# | display: flex; | ||
justify-content: center; | |||
gap: 34px; | |||
margin: 0 auto 38px auto; | |||
max-width: 1050px; | |||
} | |||
.twisted-card { | |||
flex: 1 1 0; | |||
background: rgba(22,38,60,0.91); | |||
border-radius: 18px; | |||
border: 1.5px solid #27e3ff19; | |||
box-shadow: 0 2px 22px #00eaff17, 0 1.5px 0 #fff1; | |||
padding: 30px 30px 22px 30px; | |||
text-align: left; | |||
color: #e9f9fe; | |||
min-width: 220px; | |||
max-width: 320px; | |||
transition: box-shadow 0.15s; | |||
} | |||
.twisted-card h2 { | |||
font-size: 1.34em; | |||
margin: 0 0 12px 0; | |||
color: #23cfff; | |||
font-weight: 700; | |||
letter-spacing: 0.01em; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif; | |||
text-shadow: 0 1px 6px #0096d726; | |||
} | |||
.twisted-card p { | |||
margin: 0 0 12px 0; | |||
color: #c8eaff; | |||
} | |||
.twisted-card:hover { | |||
box-shadow: 0 8px 44px #0cf4ff25, 0 2px 0 #00334022; | |||
border-color: #23cfff66; | |||
} | } | ||
/* | /* --- Responsive for mobile --- */ | ||
@media (max-width: 1000px) { | |||
.twisted-cards-row { | |||
flex-direction: column; | |||
align-items: stretch; | |||
gap: 24px; | |||
} | |||
.twisted-card { | |||
max-width: 100%; | |||
} | |||
.twisted-hero { | |||
flex-direction: column; | |||
gap: 16px; | |||
padding: 28px 8px 24px 8px; | |||
text-align: center; | |||
} | |||
} | } |
Latest revision as of 05:20, 31 August 2025
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap'); /* === GENERAL LAYOUT === */ body, .skin-chameleon, .skin-chameleon .container, .skin-chameleon .row, .skin-chameleon .col { background: linear-gradient(135deg, #151e2c 0%, #16364d 100%) !important; color: #e5f9ff !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; } .mw-body, .mw-body-content { background: rgba(22,49,78,0.96) !important; border-radius: 18px !important; margin: 38px auto 24px auto !important; padding: 42px 48px !important; max-width: 1080px !important; min-height: 520px; box-shadow: 0 8px 40px #3dfaff15, 0 1px 0 #fff2 !important; position: relative; } @media (max-width: 900px) { .mw-body, .mw-body-content { padding: 18px !important; } } /* === NAVBAR, LOGO & SEARCH BAR === */ .p-navbar, .p-navbar .navbar-brand, .p-navbar .navbar-nav, .p-navbar .navbar-tools, .p-navbar .navbar-form, .p-navbar .input-group, .p-navbar .navbar-nav.right { display: flex !important; align-items: center !important; } .p-navbar { min-height: 72px !important; background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; color: #e5f9ff !important; border: none !important; box-shadow: 0 6px 24px #00203f33; padding: 0 16px !important; } #p-logo.navbar-brand img { height: 62px !important; width: auto !important; max-height: 62px !important; margin: 0 24px 0 4px !important; padding: 0 !important; border-radius: 10px !important; background: transparent !important; object-fit: contain !important; display: block !important; } /* === SEARCH BAR === */ #p-search.navbar-form, #p-search .input-group { display: flex !important; align-items: center !important; margin: 0 0 0 18px !important; padding: 0 !important; } #searchInput.form-control { height: 40px !important; padding: 0 16px !important; border-radius: 8px 0 0 8px !important; border: 2px solid #42baff !important; border-right: none !important; background: #16293c !important; color: #e5f9ff !important; font-size: 1.08rem !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; box-shadow: none !important; outline: none !important; margin: 0 !important; position: relative !important; } #searchInput.form-control::placeholder { color: #60ffff !important; opacity: 1 !important; } .search-btn, .searchGoButton { height: 40px !important; border-radius: 0 8px 8px 0 !important; border: 2px solid #42baff !important; border-left: none !important; background: #23a3ce !important; color: #fff !important; font-size: 1.15em !important; box-shadow: none !important; padding: 0 18px !important; margin: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; position: relative !important; top: 0 !important; } .search-btn:focus, .searchGoButton:focus { outline: none !important; } .search-btn .fa-search, .searchGoButton .fa-search { color: #fff !important; font-size: 1.1em !important; line-height: 1 !important; margin: 0; padding: 0; } /* === NAV TOOLS/CUSTOM BUTTONS: Vertically centered === */ .p-navbar .navbar-tools, .p-navbar .navbar-nav.right { display: flex !important; align-items: center !important; gap: 18px !important; /* <-- Increase gap for more space */ } .p-navbar .navbar-tools > .navbar-tool, .p-navbar .navbar-nav.right > .navbar-tool { margin-left: 10px !important; /* If still not enough space, increase */ } /* ====== Space between search and user icon ====== */ #p-search + .navbar-tools, #p-search + .navbar-nav.right, #p-search + .navbar-userloggedin, .navbar-userloggedin { margin-left: 20px !important; } .navbar-userloggedin { padding-left: 8px !important; padding-right: 8px !important; font-size: 1.3em !important; display: flex !important; align-items: center !important; } /* === HIDE PAGE TITLE ON HOME PAGE === */ body.page-Home h1.firstHeading { display: none !important; } body.page-Home .mw-redirectedfrom { display: none !important; } /* === REST OF YOUR SITE STYLES (unchanged) === */ h1, h2, h3, h4, h5, h6 { font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; color: #fffbe0 !important; font-weight: 700 !important; letter-spacing: 0.01em; text-shadow: 0 2px 8px #00415d33, 0 1px 0 #26e8ff22; } .mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; font-size: 1.07em; color: #e5f9ff !important; } a, a:visited, .navbar a, .footer a { color: #45eaff !important; text-decoration: none !important; font-weight: 700 !important; transition: color 0.2s; } a:hover, .navbar a:hover, .footer a:hover { color: #45eaff !important; text-shadow: 0 0 10px #45eaff; text-decoration: underline !important; } .mw-parser-output .twisted-btn, button, input[type="button"], input[type="submit"] { display: inline-block; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; font-weight: 700 !important; background: linear-gradient(90deg, #2fd2fd 0%, #38f9d7 100%); color: #123c5d !important; border: 2px solid #67edff !important; border-radius: 18px !important; box-shadow: none !important; padding: 11px 26px !important; margin: 8px 12px 8px 0; font-size: 1.02em !important; text-shadow: 0 2px 4px #fff2, 0 1px 0 #dffeffcc; transition: background 0.17s, color 0.17s, box-shadow 0.18s; } .mw-parser-output .twisted-btn:hover, button:hover, input[type="button"]:hover, input[type="submit"]:hover { background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); color: #17486b !important; box-shadow: none !important; } .mw-parser-output .twisted-hero, .mw-parser-output .twisted-card { background: rgba(22, 49, 78, 0.85); border-radius: 18px; box-shadow: 0 4px 28px #00eaff11, 0 1.5px 0 #fff1; border: 2px solid #5dfaff33; padding: 28px 32px 16px 32px; margin: 0 auto 28px auto; color: #f1fdff !important; max-width: 1100px; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; position: relative; backdrop-filter: blur(6px); } .mw-parser-output .twisted-card:before, .mw-parser-output .twisted-hero:before { content: ""; display: block; position: absolute; left: -7px; right: -7px; top: -7px; bottom: -7px; border-radius: 22px; pointer-events: none; box-shadow: 0 0 44px 16px #fff1, 0 0 0 8px #99ebff07; z-index: 0; } .mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } .mw-parser-output .twisted-hero-main { flex: 1 1 auto; } input[type="text"], .form-control, textarea { background: #18293d !important; color: #e5f9ff !important; border: 2px solid #5dfaff !important; border-radius: 11px !important; box-shadow: none !important; padding: 8px 16px !important; font-size: 1.05rem !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; transition: border-color 0.18s, box-shadow 0.18s; } input[type="text"]:focus, .form-control:focus, textarea:focus { outline: none !important; border-color: #00eaff !important; background: #163757 !important; color: #fff !important; } table, th, td { background: #122339 !important; color: #e7f9ff !important; border-color: #193047 !important; border-radius: 7px !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; padding: 4px 10px !important; } pre, code, .mw-code, .mw-highlight pre { background: #21272e !important; color: #5dfaff !important; font-family: 'JetBrains Mono', 'Fira Mono', 'Consolas', 'monospace' !important; border-radius: 8px; padding: 0.6em; font-size: 0.95em !important; } ::-webkit-scrollbar { background: #162139; width: 12px; } ::-webkit-scrollbar-thumb { background: linear-gradient(135deg, #3fdfff 0%, #123c5d 100%); border-radius: 8px; box-shadow: 0 2px 8px #00313f44; } .skin-chameleon .chameleon-footer, .footer, #footer { background: linear-gradient(90deg, #102c43 0%, #153952 100%) !important; color: #75eaff !important; border-top: 2px solid #18bcf9 !important; font-size: 0.97em !important; border-radius: 18px 18px 0 0 !important; margin: 20px auto 0 auto !important; padding: 16px 24px !important; box-shadow: 0 -4px 30px #00eaff22 !important; max-width: 1080px !important; } button:focus, input[type="button"]:focus, input[type="submit"]:focus, .search-btn:focus, .searchGoButton:focus { outline: none !important; box-shadow: none !important; } /* This targets the actual logo container and image */ .p-navbar { display: flex !important; align-items: center !important; min-height: 72px !important; /* (keep your other navbar styles here) */ } #p-logo.navbar-brand { display: flex !important; align-items: center !important; height: 72px !important; /* Match navbar height */ margin: 0 !important; padding: 0 !important; } #p-logo.navbar-brand img { height: 48px !important; width: auto !important; max-height: 48px !important; margin: 0 24px 0 4px !important; /* right and left spacing only */ padding: 0 !important; border-radius: 10px !important; background: transparent !important; object-fit: contain !important; display: block !important; align-self: center !important; /* THE FIX: Vertically center */ vertical-align: middle !important; position: relative !important; top: 0 !important; } /* ===== Fix VisualEditor Dialogs for Dark Mode ===== */ .ve-ui-mwPageSettingsDialog, .ve-ui-mwPageSettingsDialog .oo-ui-window-head, .ve-ui-mwPageSettingsDialog .oo-ui-window-body, .oo-ui-dialog, .oo-ui-window-head, .oo-ui-window-body, .oo-ui-window-content, .oo-ui-window-foot { background: #18293d !important; color: #e5f9ff !important; } .oo-ui-window-content input, .oo-ui-window-content textarea, .oo-ui-window-content select { background: #1b2d46 !important; color: #e5f9ff !important; border: 1.5px solid #42baff !important; } .oo-ui-window-content label, .oo-ui-window-content .oo-ui-labelElement-label { color: #e5f9ff !important; } .oo-ui-window-content .oo-ui-checkboxInputWidget, .oo-ui-window-content .oo-ui-checkboxInputWidget input[type="checkbox"] { accent-color: #42baff !important; background: #222 !important; border-color: #42baff !important; } /* Make the Apply/Cancel buttons readable */ .oo-ui-window-foot .oo-ui-buttonElement { background: #23a3ce !important; color: #fff !important; border-radius: 7px !important; border: 1.5px solid #42baff !important; font-weight: bold !important; } .oo-ui-window-foot .oo-ui-buttonElement:hover { background: #19cfff !important; color: #fff !important; } /* Fix selected toggle buttons */ .oo-ui-buttonSelectWidget .oo-ui-buttonElement.oo-ui-flaggedElement-constructive { background: #16364d !important; color: #a8ff0b !important; } /* ----- NAV BAR HOVER & ACTIVE COLOR FIX ----- */ a:hover, .navbar a:hover, .footer a:hover, .nav-link.active, .nav-link:active, .nav-link:focus, .nav-link:hover, .n-mainpage-description:hover, .n-mainpage-description:active, .n-mainpage-description:focus { color: #45eaff !important; /* Your normal accent blue */ text-shadow: none !important; /* No weird glows */ background: none !important; text-decoration: underline !important; filter: none !important; } /* ==================== TOOLS BAR & FOOTER FIX ==================== */ /* Kill the blue bar/gutter for Tools nav above footer */ nav.p-navbar.not-collapsible, nav.p-navbar.not-collapsible.small.mb-2, nav#mw-navigation-i4wxy3evkg { background: none !important; box-shadow: none !important; border: none !important; min-height: unset !important; padding: 0 !important; margin: 0 0 8px 0 !important; /* Small space before footer */ border-radius: 0 !important; } nav.p-navbar .navbar-nav, nav.p-navbar .navbar-nav .nav-item { background: none !important; box-shadow: none !important; border: none !important; margin: 0 !important; padding: 0 !important; height: 32px !important; /* Make the Tools bar tight */ min-height: 0 !important; align-items: center !important; } nav.p-navbar .nav-link, nav.p-navbar .dropdown-toggle { color: #45eaff !important; font-weight: 600 !important; padding: 4px 12px !important; background: none !important; border-radius: 7px !important; font-size: 1em !important; transition: background 0.13s, color 0.13s; } nav.p-navbar .nav-link:hover, nav.p-navbar .dropdown-toggle:hover { background: #172d40 !important; color: #aef9ff !important; } nav.p-navbar .dropdown-menu { background: #101f2f !important; border-radius: 10px !important; box-shadow: 0 8px 32px #000b; border: 1.5px solid #23a3ce44 !important; min-width: 140px !important; padding: 7px 0 !important; } nav.p-navbar .dropdown-menu .nav-link { padding: 7px 18px !important; color: #75eaff !important; background: none !important; } nav.p-navbar .dropdown-menu .nav-link:hover { background: #16293c !important; color: #45eaff !important; } nav.p-navbar .dropdown-toggle:after { display: none !important; } /* Remove any extra bar above footer */ .chameleon-footer, .footer, #footer { border-radius: 0 0 18px 18px !important; margin-top: 0 !important; box-shadow: none !important; } /* --- Twisted-style Hero Banner --- */ .twisted-hero { display: flex; align-items: center; gap: 30px; background: rgba(24,40,60,0.95); border-radius: 22px; padding: 40px 42px 34px 42px; box-shadow: 0 8px 48px #0cf4ff19, 0 2px 0 #00334022; margin: 32px auto 40px auto; max-width: 880px; border: 1.5px solid #27e3ff22; } .twisted-hero-logo img { height: 88px; border-radius: 18px; box-shadow: 0 0 14px #00d9ff11; background: transparent; } .twisted-hero-main { flex: 1 1 auto; } .twisted-hero h1 { color: #fffbe0; font-size: 2.5em; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif; margin: 0 0 18px 0; letter-spacing: 0.01em; font-weight: 800; text-shadow: 0 1px 12px #0096d740; } .twisted-hero-main > p { color: #d7f9ff; font-size: 1.2em; margin: 0 0 20px 0; } .twisted-hero-buttons { display: flex; gap: 18px; } .twisted-btn { display: inline-block; background: linear-gradient(90deg, #23cfff 0%, #3dfaff 100%); color: #0e3753; border: none; font-size: 1.15em; font-weight: 700; border-radius: 12px; padding: 14px 32px; margin-right: 10px; text-decoration: none !important; box-shadow: 0 1px 4px #0aefff24; transition: background 0.17s, color 0.17s, box-shadow 0.18s; } .twisted-btn.outline { background: none; color: #23cfff; border: 2px solid #23cfff; box-shadow: none; } .twisted-btn:hover, .twisted-btn.outline:hover { background: linear-gradient(90deg, #1bdcff 0%, #5fffd7 100%); color: #0e3753; border: none; box-shadow: 0 3px 12px #0aefff33; } .twisted-btn.outline:hover { background: #13354d; color: #54e5ff; border: 2px solid #38fcff; } .twisted-btn.mini { font-size: 1em; padding: 9px 18px; margin-top: 10px; } /* --- Card Row (Three Cards) --- */ .twisted-cards-row { display: flex; justify-content: center; gap: 34px; margin: 0 auto 38px auto; max-width: 1050px; } .twisted-card { flex: 1 1 0; background: rgba(22,38,60,0.91); border-radius: 18px; border: 1.5px solid #27e3ff19; box-shadow: 0 2px 22px #00eaff17, 0 1.5px 0 #fff1; padding: 30px 30px 22px 30px; text-align: left; color: #e9f9fe; min-width: 220px; max-width: 320px; transition: box-shadow 0.15s; } .twisted-card h2 { font-size: 1.34em; margin: 0 0 12px 0; color: #23cfff; font-weight: 700; letter-spacing: 0.01em; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif; text-shadow: 0 1px 6px #0096d726; } .twisted-card p { margin: 0 0 12px 0; color: #c8eaff; } .twisted-card:hover { box-shadow: 0 8px 44px #0cf4ff25, 0 2px 0 #00334022; border-color: #23cfff66; } /* --- Responsive for mobile --- */ @media (max-width: 1000px) { .twisted-cards-row { flex-direction: column; align-items: stretch; gap: 24px; } .twisted-card { max-width: 100%; } .twisted-hero { flex-direction: column; gap: 16px; padding: 28px 8px 24px 8px; text-align: center; } }