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= | @import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Press+Start+2P&display=swap'); | ||
body, | body, | ||
Line 6: | Line 6: | ||
.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: ' | font-family: 'Nunito Sans', Arial, sans-serif !important; | ||
} | } | ||
/* | |||
/* Headings: blocky Club Penguin style */ | |||
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; | |||
} | } | ||
. | /* Navbar - icy gradient, light blur */ | ||
.navbar- | .navbar, .footer, .chameleon-navbar, .chameleon-footer, .chameleon-header { | ||
. | background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; | ||
color: #e5f9ff !important; | |||
border: none !important; | |||
backdrop-filter: blur(6px) !important; | |||
box-shadow: 0 6px 24px #00203f33; | |||
} | } | ||
#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; | |||
background: | |||
border-radius: | |||
box-shadow: 0 | |||
} | } | ||
.mw- | .mw-body, .mw-body-content { | ||
background: | background: transparent !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: #a8ff0b !important; | ||
text-shadow: 0 0 10px #5dfaff77; | |||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
/* Penguin style buttons */ | |||
.mw-parser-output .twisted-btn, | |||
font-family: ' | 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; | 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, | |||
background: # | button:hover, input[type="button"]:hover, input[type="submit"]:hover, .chameleon-search button:hover { | ||
color: # | background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); | ||
color: #17486b !important; | |||
box-shadow: 0 0 28px #00eaff88, 0 1px 0 #fff; | |||
} | } | ||
/* Logo bigger and with icey shadow */ | |||
.chameleon-logo img, | |||
.skin-chameleon .logo img, | |||
border- | .navbar-brand img, | ||
.navbar-header img { | |||
max-height: 72px !important; | |||
height: 72px !important; | |||
width: auto !important; | |||
margin: 0 24px 0 0 !important; | |||
box-shadow: 0 0 32px #5dfaff77, 0 2px 8px #00203f88; | |||
border-radius: 14px !important; | |||
background: #07213011 !important; | |||
padding: 0 !important; | |||
} | } | ||
body.page-Home h1.firstHeading { display: none !important; } | |||
body.page-Home .mw-redirectedfrom { display: none !important; } | |||
} | |||
. | /* Cards/Hero - Glassy ice effect */ | ||
.mw-parser-output .twisted-hero, | |||
color: # | .mw-parser-output .twisted-card { | ||
background: rgba(22, 49, 78, 0.78); | |||
border-radius: 18px; | |||
box-shadow: 0 4px 28px #00eaff33, 0 1.5px 0 #fff6; | |||
border: 2.5px solid #5dfaff55; | |||
padding: 24px 24px 12px 24px; | |||
margin: 0 auto 24px auto; | |||
color: #f1fdff !important; | |||
max-width: 900px; | |||
font-family: 'Nunito Sans', Arial, sans-serif !important; | |||
backdrop-filter: blur(6px); | |||
} | } | ||
/* Add "snow" effect to card edges */ | |||
.mw-parser-output .twisted-card:before, | |||
.mw-parser-output .twisted-hero:before { | |||
content: ""; | |||
display: block; | |||
position: absolute; | |||
left: -6px; right: -6px; top: -6px; bottom: -6px; | |||
border-radius: 22px; | |||
pointer-events: none; | |||
box-shadow: 0 0 44px 16px #fff2, 0 0 0 6px #99ebff11; | |||
z-index: 0; | |||
} | } | ||
.mw- | .mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } | ||
.mw-parser-output .twisted-hero-main { flex: 1 1 auto; } | |||
} | |||
/* Inputs/Search/Forms: ice block style */ | |||
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; | |||
/* | |||
input[type="search"], | |||
background: # | |||
color: # | |||
border: | |||
border-radius: | |||
padding: | |||
font-size: 1.05rem !important; | font-size: 1.05rem !important; | ||
font-family: ' | font-family: 'Nunito Sans', Arial, sans-serif !important; | ||
transition: border-color 0.18s, box-shadow 0.18s; | transition: border-color 0.18s, box-shadow 0.18s; | ||
} | } | ||
input[type="search"]:focus, . | input[type="search"]:focus, .form-control:focus, textarea:focus { | ||
outline: none !important; | outline: none !important; | ||
border-color: # | border-color: #00eaff !important; | ||
box-shadow: 0 0 0 | box-shadow: 0 0 0 4px #0befff33 !important; | ||
background: # | background: #163757 !important; | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
input[type="search"]::placeholder, .form-control::placeholder, textarea::placeholder { | |||
input[type="search"]::placeholder, .form-control::placeholder { | color: #88deff !important; | ||
color: # | |||
opacity: 1 !important; | opacity: 1 !important; | ||
} | } | ||
. | 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; | |||
} | |||
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: icy */ | |||
::-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; | |||
} | } | ||
.chameleon-search input[type="search"], | /* --- SEARCH BAR GLOW-UP, CPPS STYLE --- */ | ||
.chameleon-search .form-control { | .chameleon-search, .chameleon-search input[type="search"], .chameleon-search .form-control { | ||
border-radius: | background: #152539 !important; | ||
color: #e7f9ff !important; | |||
border-radius: 11px 0 0 11px !important; | |||
border-right: none !important; | border-right: none !important; | ||
box-shadow: 0 1px 10px #00eaff22 !important; | |||
font-size: 1.08rem !important; | |||
font-size: 1. | font-family: 'Nunito Sans', Arial, sans-serif !important; | ||
} | } | ||
.chameleon-search button, | .chameleon-search button, | ||
.chameleon-search .input-group-btn > button { | .chameleon-search .input-group-btn > button { | ||
border-radius: 0 | border-radius: 0 11px 11px 0 !important; | ||
border: | border: 2.5px solid #5dfaff !important; | ||
border-left: none !important; | border-left: none !important; | ||
background: # | background: linear-gradient(135deg, #00eaff 0%, #063d52 100%) !important; | ||
height: | height: 44px !important; | ||
padding: 0 | 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; | transition: background 0.18s, border-color 0.18s; | ||
} | } | ||
Line 201: | Line 208: | ||
.chameleon-search button:hover, | .chameleon-search button:hover, | ||
.chameleon-search .input-group-btn > button:hover { | .chameleon-search .input-group-btn > button:hover { | ||
background: # | background: linear-gradient(90deg, #2fd2fd 0%, #00eaff 100%) !important; | ||
border-color: # | border-color: #a8ff0b !important; | ||
color: #1c262e !important; | |||
} | } | ||
.chameleon-search button .fa-search, | .chameleon-search button .fa-search, | ||
.chameleon-search button [class*="icon-"] { | .chameleon-search button [class*="icon-"] { | ||
Line 219: | Line 226: | ||
} | } | ||
.chameleon-search input[type="search"]:focus { | .chameleon-search input[type="search"]:focus { | ||
z-index: 1; | z-index: 1; | ||
} | } | ||
/* | /* Penguin style cards with snow effect (override) */ | ||
.mw-parser-output .twisted-card, | |||
.mw-parser-output .twisted-hero { | |||
position: relative; | |||
border: | 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; | |||
box-shadow: | |||
} | } | ||
/* | /* Penguin secondary highlights for special boxes */ | ||
.mw-parser-output .twisted-btn.discord { | |||
background: # | background: linear-gradient(90deg, #1a272e 0%, #00eaff 100%); | ||
color: #00eaff !important; | |||
border: 2.5px solid #00eaff !important; | |||
border | |||
} | } | ||
.mw-parser-output .twisted-btn.discord:hover { | |||
background: linear-gradient(90deg, #00eaff 0%, #1a272e 100%); | |||
color: #1c262e !important; | |||
border: 2.5px solid #a8ff0b !important; | |||
box-shadow: 0 4px 18px #a8ff0b33; | |||
color: # | |||
} | } | ||
body { | |||
background-image: | |||
linear-gradient(135deg, #151e2c 0%, #16364d 100%), | |||
url('https://static.wikia.nocookie.net/clubpenguin/images/4/45/Snow_background.png'); | |||
background-repeat: repeat, repeat; | |||
background-size: cover, 420px auto; | |||
background-blend-mode: normal, lighten; | |||
/ | |||
} | } |
Revision as of 03:58, 31 August 2025
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&family=Press+Start+2P&display=swap'); 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; } /* Headings: blocky Club Penguin style */ 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; } /* Navbar - icy gradient, light blur */ .navbar, .footer, .chameleon-navbar, .chameleon-footer, .chameleon-header { background: linear-gradient(90deg, #0c2336cc 0%, #187fcfcc 100%) !important; color: #e5f9ff !important; border: none !important; backdrop-filter: blur(6px) !important; box-shadow: 0 6px 24px #00203f33; } #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; } .mw-body, .mw-body-content { background: transparent !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: #a8ff0b !important; text-shadow: 0 0 10px #5dfaff77; text-decoration: underline !important; } /* Penguin style 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; } /* Logo bigger and with icey shadow */ .chameleon-logo img, .skin-chameleon .logo img, .navbar-brand img, .navbar-header img { max-height: 72px !important; height: 72px !important; width: auto !important; margin: 0 24px 0 0 !important; box-shadow: 0 0 32px #5dfaff77, 0 2px 8px #00203f88; border-radius: 14px !important; background: #07213011 !important; padding: 0 !important; } body.page-Home h1.firstHeading { display: none !important; } body.page-Home .mw-redirectedfrom { display: none !important; } /* Cards/Hero - Glassy ice effect */ .mw-parser-output .twisted-hero, .mw-parser-output .twisted-card { background: rgba(22, 49, 78, 0.78); border-radius: 18px; box-shadow: 0 4px 28px #00eaff33, 0 1.5px 0 #fff6; border: 2.5px solid #5dfaff55; padding: 24px 24px 12px 24px; margin: 0 auto 24px auto; color: #f1fdff !important; max-width: 900px; font-family: 'Nunito Sans', Arial, sans-serif !important; backdrop-filter: blur(6px); } /* Add "snow" effect to card edges */ .mw-parser-output .twisted-card:before, .mw-parser-output .twisted-hero:before { content: ""; display: block; position: absolute; left: -6px; right: -6px; top: -6px; bottom: -6px; border-radius: 22px; pointer-events: none; box-shadow: 0 0 44px 16px #fff2, 0 0 0 6px #99ebff11; z-index: 0; } .mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } .mw-parser-output .twisted-hero-main { flex: 1 1 auto; } /* Inputs/Search/Forms: ice block style */ 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; } 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; } 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: icy */ ::-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; } /* --- SEARCH BAR GLOW-UP, CPPS STYLE --- */ .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; } /* 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; } /* Penguin secondary highlights for special boxes */ .mw-parser-output .twisted-btn.discord { background: linear-gradient(90deg, #1a272e 0%, #00eaff 100%); color: #00eaff !important; border: 2.5px solid #00eaff !important; } .mw-parser-output .twisted-btn.discord:hover { background: linear-gradient(90deg, #00eaff 0%, #1a272e 100%); color: #1c262e !important; border: 2.5px solid #a8ff0b !important; box-shadow: 0 4px 18px #a8ff0b33; } body { background-image: linear-gradient(135deg, #151e2c 0%, #16364d 100%), url('https://static.wikia.nocookie.net/clubpenguin/images/4/45/Snow_background.png'); background-repeat: repeat, repeat; background-size: cover, 420px auto; background-blend-mode: normal, lighten; }