MediaWiki:Common.css: Difference between revisions
From The CPPS Lore Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Press+Start+2P&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Press+Start+2P&display=swap'); | ||
/* --- GENERAL LAYOUT --- */ | |||
body, | body, | ||
.skin-chameleon, | .skin-chameleon, | ||
Line 11: | Line 12: | ||
} | } | ||
.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; } | |||
} | |||
/* Remove ugly border/padding from Chameleon header/footer wrappers */ | |||
.skin-chameleon .chameleon-header, .skin-chameleon .chameleon-footer { | |||
border: none !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
} | } | ||
/* | /* --- NAVBAR --- */ | ||
.navbar | .navbar, .chameleon-navbar, .chameleon-header { | ||
background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; | background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; | ||
color: #e5f9ff !important; | color: #e5f9ff !important; | ||
border: none !important; | border: none !important; | ||
box-shadow: 0 6px 24px #00203f33; | box-shadow: 0 6px 24px #00203f33; | ||
padding: 0 16px 0 16px !important; | |||
min-height: 72px; | |||
} | } | ||
Line 35: | Line 51: | ||
} | } | ||
. | /* --- LOGO --- */ | ||
background: | .chameleon-logo img, | ||
.skin-chameleon .logo img, | |||
.navbar-brand img, | |||
.navbar-header img { | |||
max-height: 64px !important; | |||
height: 64px !important; | |||
width: auto !important; | |||
margin: 4px 30px 4px 0 !important; | |||
box-shadow: 0 0 32px #5dfaff44, 0 2px 8px #00203f55; | |||
border-radius: 12px !important; | |||
background: #07213011 !important; | |||
padding: 0 !important; | |||
} | } | ||
/* --- HEADINGS --- */ | |||
h1, h2, h3, h4, h5, h6 { | |||
font-family: 'Press Start 2P', 'Nunito Sans', Arial, sans-serif !important; | |||
color: #fffbe0 !important; | |||
font-weight: 700 !important; | |||
letter-spacing: 0.01em; | |||
text-shadow: 0 2px 8px #00415d77, 0 1px 0 #26e8ffbb; | |||
} | |||
/* Use Nunito for body (for better readability) */ | |||
.mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { | |||
font-family: 'Nunito Sans', Arial, sans-serif !important; | |||
font-size: 1.07em; | |||
color: #e5f9ff !important; | |||
} | |||
/* Hide the page title on the Home page */ | |||
body.page-Home h1.firstHeading { display: none !important; } | |||
body.page-Home .mw-redirectedfrom { display: none !important; } | |||
/* --- LINK COLORS --- */ | |||
a, a:visited, .navbar a, .footer a { | a, a:visited, .navbar a, .footer a { | ||
color: #45eaff !important; | color: #45eaff !important; | ||
Line 52: | Line 100: | ||
} | } | ||
/* | /* --- BUTTONS --- */ | ||
.mw-parser-output .twisted-btn, | .mw-parser-output .twisted-btn, | ||
button, input[type="button"], input[type="submit"], .chameleon-search button { | button, input[type="button"], input[type="submit"], .chameleon-search button { | ||
Line 77: | Line 125: | ||
} | } | ||
/* | /* --- CARDS/HERO --- */ | ||
.mw-parser-output .twisted-hero, | .mw-parser-output .twisted-hero, | ||
.mw-parser-output .twisted-card { | .mw-parser-output .twisted-card { | ||
background: rgba(22, 49, 78, 0. | background: rgba(22, 49, 78, 0.85); | ||
border-radius: 18px; | border-radius: 18px; | ||
box-shadow: 0 4px 28px #00eaff33, 0 1.5px 0 #fff6; | box-shadow: 0 4px 28px #00eaff33, 0 1.5px 0 #fff6; | ||
border: 2.5px solid #5dfaff55; | border: 2.5px solid #5dfaff55; | ||
padding: | padding: 28px 32px 16px 32px; | ||
margin: 0 auto | margin: 0 auto 28px auto; | ||
color: #f1fdff !important; | color: #f1fdff !important; | ||
max-width: | max-width: 1100px; | ||
font-family: 'Nunito Sans', Arial, sans-serif !important; | font-family: 'Nunito Sans', Arial, sans-serif !important; | ||
position: relative; | |||
backdrop-filter: blur(6px); | backdrop-filter: blur(6px); | ||
} | } | ||
.mw-parser-output .twisted-card:before, | .mw-parser-output .twisted-card:before, | ||
.mw-parser-output .twisted-hero:before { | .mw-parser-output .twisted-hero:before { | ||
Line 116: | Line 146: | ||
display: block; | display: block; | ||
position: absolute; | position: absolute; | ||
left: - | left: -7px; right: -7px; top: -7px; bottom: -7px; | ||
border-radius: 22px; | border-radius: 22px; | ||
pointer-events: none; | pointer-events: none; | ||
box-shadow: 0 0 44px 16px # | box-shadow: 0 0 44px 16px #fff1, 0 0 0 8px #99ebff11; | ||
z-index: 0; | z-index: 0; | ||
} | } | ||
.mw-parser-output .twisted- | /* Penguin style cards with snow effect (override) */ | ||
.mw-parser-output .twisted-hero | .mw-parser-output .twisted-card, | ||
.mw-parser-output .twisted-hero { | |||
position: relative; | |||
overflow: visible; | |||
border: 2.5px solid #5dfaff99; | |||
background: linear-gradient(135deg, #182f4c 60%, #1e4476 100%) !important; | |||
border: 2.5px solid # | box-shadow: 0 8px 40px #5dfaff22, 0 1px 0 #fff2 !important; | ||
box-shadow: 0 0 0 | |||
} | } | ||
/* --- SEARCH BAR --- */ | |||
/* --- SEARCH BAR | |||
.chameleon-search, .chameleon-search input[type="search"], .chameleon-search .form-control { | .chameleon-search, .chameleon-search input[type="search"], .chameleon-search .form-control { | ||
background: #152539 !important; | background: #152539 !important; | ||
Line 222: | Line 205: | ||
/* Remove outline on button click for clean look */ | /* Remove outline on button click for clean look */ | ||
.chameleon-search button:focus { | .chameleon-search button:focus { outline: none !important; } | ||
.chameleon-search input[type="search"]:focus { z-index: 1; } | |||
/* --- INPUTS / FORMS --- */ | |||
input[type="search"], input[type="text"], .form-control, textarea { | |||
background: #18293d !important; | |||
color: #e5f9ff !important; | |||
border: 2.5px solid #5dfaff !important; | |||
border-radius: 11px !important; | |||
box-shadow: 0 1px 10px #33f0ff22 !important; | |||
padding: 8px 16px !important; | |||
font-size: 1.05rem !important; | |||
font-family: 'Nunito Sans', Arial, sans-serif !important; | |||
transition: border-color 0.18s, box-shadow 0.18s; | |||
} | |||
input[type="search"]:focus, .form-control:focus, textarea:focus { | |||
outline: none !important; | outline: none !important; | ||
border-color: #00eaff !important; | |||
box-shadow: 0 0 0 4px #0befff33 !important; | |||
background: #163757 !important; | |||
color: #fff !important; | |||
} | } | ||
input[type="search"]::placeholder, .form-control::placeholder, textarea::placeholder { | |||
color: #88deff !important; | |||
opacity: 1 !important; | |||
} | } | ||
/* | /* --- TABLES --- */ | ||
table, th, td { | |||
background: #122339 !important; | |||
color: #e7f9ff !important; | |||
border-color: #193047 !important; | |||
border: | border-radius: 7px !important; | ||
font-family: 'Nunito Sans', Arial, sans-serif !important; | |||
padding: 4px 10px !important; | |||
} | } | ||
pre, code, .mw-code, .mw-highlight pre { | |||
.mw- | background: #21272e !important; | ||
background: | color: #5dfaff !important; | ||
color: # | font-family: 'Press Start 2P', 'JetBrains Mono', 'monospace' !important; | ||
border: | border-radius: 8px; | ||
padding: 0.6em; | |||
font-size: 0.95em !important; | |||
} | } | ||
/* --- SCROLLBAR: ICEY --- */ | |||
background: linear-gradient( | ::-webkit-scrollbar { | ||
background: #162139; | |||
border: | width: 12px; | ||
box-shadow: 0 | } | ||
::-webkit-scrollbar-thumb { | |||
background: linear-gradient(135deg, #3fdfff 0%, #123c5d 100%); | |||
border-radius: 8px; | |||
box-shadow: 0 2px 8px #00313f44; | |||
} | } | ||
/* --- FOOTER --- */ | |||
.skin-chameleon .chameleon-footer, .footer, #footer { | |||
background | 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; | |||
} | } |
Revision as of 04:03, 31 August 2025
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Press+Start+2P&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: 'Nunito Sans', 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; } } /* Remove ugly border/padding from Chameleon header/footer wrappers */ .skin-chameleon .chameleon-header, .skin-chameleon .chameleon-footer { border: none !important; padding: 0 !important; margin: 0 !important; } /* --- NAVBAR --- */ .navbar, .chameleon-navbar, .chameleon-header { background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; color: #e5f9ff !important; border: none !important; box-shadow: 0 6px 24px #00203f33; padding: 0 16px 0 16px !important; min-height: 72px; } #mw-head, #mw-panel, .navbar-header { background: rgba(20,34,52,0.98) !important; border-radius: 0 0 22px 22px !important; box-shadow: 0 6px 28px #00203f40; } /* --- LOGO --- */ .chameleon-logo img, .skin-chameleon .logo img, .navbar-brand img, .navbar-header img { max-height: 64px !important; height: 64px !important; width: auto !important; margin: 4px 30px 4px 0 !important; box-shadow: 0 0 32px #5dfaff44, 0 2px 8px #00203f55; border-radius: 12px !important; background: #07213011 !important; padding: 0 !important; } /* --- HEADINGS --- */ h1, h2, h3, h4, h5, h6 { font-family: 'Press Start 2P', 'Nunito Sans', Arial, sans-serif !important; color: #fffbe0 !important; font-weight: 700 !important; letter-spacing: 0.01em; text-shadow: 0 2px 8px #00415d77, 0 1px 0 #26e8ffbb; } /* Use Nunito for body (for better readability) */ .mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { font-family: 'Nunito Sans', Arial, sans-serif !important; font-size: 1.07em; color: #e5f9ff !important; } /* Hide the page title on the Home page */ body.page-Home h1.firstHeading { display: none !important; } body.page-Home .mw-redirectedfrom { display: none !important; } /* --- LINK COLORS --- */ 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: #a8ff0b !important; text-shadow: 0 0 10px #5dfaff77; text-decoration: underline !important; } /* --- BUTTONS --- */ .mw-parser-output .twisted-btn, button, input[type="button"], input[type="submit"], .chameleon-search button { display: inline-block; font-family: 'Press Start 2P', Arial, sans-serif !important; font-weight: 700 !important; background: linear-gradient(90deg, #2fd2fd 0%, #38f9d7 100%); color: #123c5d !important; border: 2.5px solid #67edff !important; border-radius: 18px !important; box-shadow: 0 6px 32px #00eaff22, 0 1px 0 #fff; padding: 11px 26px !important; margin: 8px 12px 8px 0; font-size: 1.02em !important; text-shadow: 0 2px 4px #fff6, 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, .chameleon-search button:hover { background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); color: #17486b !important; box-shadow: 0 0 28px #00eaff88, 0 1px 0 #fff; } /* --- CARDS/HERO --- */ .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 #00eaff33, 0 1.5px 0 #fff6; border: 2.5px solid #5dfaff55; padding: 28px 32px 16px 32px; margin: 0 auto 28px auto; color: #f1fdff !important; max-width: 1100px; font-family: 'Nunito Sans', 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 #99ebff11; z-index: 0; } /* Penguin style cards with snow effect (override) */ .mw-parser-output .twisted-card, .mw-parser-output .twisted-hero { position: relative; overflow: visible; border: 2.5px solid #5dfaff99; background: linear-gradient(135deg, #182f4c 60%, #1e4476 100%) !important; box-shadow: 0 8px 40px #5dfaff22, 0 1px 0 #fff2 !important; } /* --- SEARCH BAR --- */ .chameleon-search, .chameleon-search input[type="search"], .chameleon-search .form-control { background: #152539 !important; color: #e7f9ff !important; border-radius: 11px 0 0 11px !important; border-right: none !important; box-shadow: 0 1px 10px #00eaff22 !important; font-size: 1.08rem !important; font-family: 'Nunito Sans', Arial, sans-serif !important; } .chameleon-search button, .chameleon-search .input-group-btn > button { border-radius: 0 11px 11px 0 !important; border: 2.5px solid #5dfaff !important; border-left: none !important; background: linear-gradient(135deg, #00eaff 0%, #063d52 100%) !important; height: 44px !important; padding: 0 18px !important; color: #fff !important; font-family: 'Press Start 2P', Arial, sans-serif !important; font-size: 1.05rem !important; box-shadow: 0 0 18px #5dfaff55 !important; transition: background 0.18s, border-color 0.18s; } .chameleon-search button:hover, .chameleon-search .input-group-btn > button:hover { background: linear-gradient(90deg, #2fd2fd 0%, #00eaff 100%) !important; border-color: #a8ff0b !important; color: #1c262e !important; } .chameleon-search button .fa-search, .chameleon-search button [class*="icon-"] { color: #a8ff0b !important; font-size: 1.18em !important; margin: 0; padding: 0; } /* Remove outline on button click for clean look */ .chameleon-search button:focus { outline: none !important; } .chameleon-search input[type="search"]:focus { z-index: 1; } /* --- INPUTS / FORMS --- */ input[type="search"], input[type="text"], .form-control, textarea { background: #18293d !important; color: #e5f9ff !important; border: 2.5px solid #5dfaff !important; border-radius: 11px !important; box-shadow: 0 1px 10px #33f0ff22 !important; padding: 8px 16px !important; font-size: 1.05rem !important; font-family: 'Nunito Sans', Arial, sans-serif !important; transition: border-color 0.18s, box-shadow 0.18s; } input[type="search"]:focus, .form-control:focus, textarea:focus { outline: none !important; border-color: #00eaff !important; box-shadow: 0 0 0 4px #0befff33 !important; background: #163757 !important; color: #fff !important; } input[type="search"]::placeholder, .form-control::placeholder, textarea::placeholder { color: #88deff !important; opacity: 1 !important; } /* --- TABLES --- */ table, th, td { background: #122339 !important; color: #e7f9ff !important; border-color: #193047 !important; border-radius: 7px !important; font-family: 'Nunito Sans', Arial, sans-serif !important; padding: 4px 10px !important; } pre, code, .mw-code, .mw-highlight pre { background: #21272e !important; color: #5dfaff !important; font-family: 'Press Start 2P', 'JetBrains Mono', 'monospace' !important; border-radius: 8px; padding: 0.6em; font-size: 0.95em !important; } /* --- SCROLLBAR: ICEY --- */ ::-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; } /* --- FOOTER --- */ .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; }