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=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 23: | Line 23: | ||
position: relative; | position: relative; | ||
} | } | ||
@media (max-width: 900px) { | @media (max-width: 900px) { | ||
.mw-body, .mw-body-content { padding: 18px !important; } | .mw-body, .mw-body-content { padding: 18px !important; } | ||
} | } | ||
. | /* NAVBAR & LOGO FIX */ | ||
.chameleon-navbar .container, | |||
.chameleon-header .container { | |||
display: flex !important; | |||
align-items: center !important; | |||
min-height: 72px !important; | |||
height: 72px !important; | |||
box-sizing: border-box !important; | |||
padding: 0 !important; | |||
} | |||
.chameleon-navbar .navbar-header, | |||
.chameleon-navbar .logo, | |||
.skin-chameleon .logo, | |||
.navbar-brand { | |||
display: flex !important; | |||
align-items: center !important; | |||
height: 72px !important; | |||
min-width: 60px !important; | |||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
} | } | ||
.chameleon-logo img, | .chameleon-logo img, | ||
.skin-chameleon .logo img, | .skin-chameleon .logo img, | ||
.navbar-brand img, | .navbar-brand img, | ||
.navbar-header img { | .navbar-header img { | ||
display: block; | display: block !important; | ||
height: 48px !important; | |||
height: | max-height: 48px !important; | ||
width: auto !important; | width: auto !important; | ||
margin: | margin: 0 28px 0 12px !important; | ||
padding: | padding: 0 !important; | ||
border-radius: | border-radius: 10px !important; | ||
background: transparent !important; | background: transparent !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
/* NAV LINKS FLEX FIX */ | |||
.chameleon-navbar .navbar-nav, | |||
.chameleon-header .navbar-nav, | |||
.navbar .navbar-nav { | |||
display: flex !important; | |||
align-items: center !important; | |||
height: 72px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* SEARCH BAR */ | |||
.chameleon-search { | |||
display: flex !important; | |||
align-items: center !important; | |||
height: 48px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
gap: 0 !important; | |||
background: none !important; | |||
} | |||
.chameleon-search input[type="search"], | |||
.chameleon-search .form-control { | |||
height: 40px !important; | |||
line-height: 40px !important; | |||
padding: 0 14px !important; | |||
border-radius: 8px 0 0 8px !important; | |||
border: 1.5px solid #42baff !important; | |||
border-right: none !important; | |||
font-size: 1.08rem !important; | |||
background: #16293c !important; | |||
color: #e5f9ff !important; | |||
box-shadow: none !important; | |||
outline: none !important; | |||
margin: 0 !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
vertical-align: middle !important; | |||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
.chameleon-search button, | |||
.chameleon-search .input-group-btn > button { | |||
height: 40px !important; | |||
line-height: 40px !important; | |||
padding: 0 16px !important; | |||
border-radius: 0 8px 8px 0 !important; | |||
border: 1.5px solid #42baff !important; | |||
border-left: none !important; | |||
background: #23a3ce !important; | |||
color: #fff !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
font-size: 1.18em !important; | |||
box-shadow: none !important; | |||
margin: 0 !important; | |||
display: flex !important; | |||
align-items: center !important; | |||
vertical-align: middle !important; | |||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
.chameleon-search button .fa-search, | |||
.chameleon-search button [class*="icon-"] { | |||
color: #fff !important; | |||
font-size: 1.1em !important; | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1 !important; | |||
position: relative !important; | |||
top: 0 !important; | |||
} | |||
.chameleon-search input[type="search"]:focus, | |||
.chameleon-search .form-control:focus { | |||
border-color: #1ebaff !important; | |||
background: #17334d !important; | |||
color: #fff !important; | |||
outline: none !important; | |||
} | |||
.chameleon-search button:focus { outline: none !important; } | |||
.chameleon-search input[type="search"]:focus { z-index: 1; } | |||
.chameleon-search input[type="search"]::placeholder, | |||
.chameleon-search .form-control::placeholder { | |||
color: #7feaff !important; | |||
opacity: 1 !important; | |||
} | } | ||
/* | /* REST OF YOUR STYLES BELOW THIS (no more search/nav/logo stuff) */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
Line 76: | Line 160: | ||
text-shadow: 0 2px 8px #00415d33, 0 1px 0 #26e8ff22; | text-shadow: 0 2px 8px #00415d33, 0 1px 0 #26e8ff22; | ||
} | } | ||
.mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { | .mw-body, .mw-body-content, p, li, td, th, .mw-parser-output { | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
Line 83: | Line 165: | ||
color: #e5f9ff !important; | color: #e5f9ff !important; | ||
} | } | ||
body.page-Home h1.firstHeading { display: none !important; } | body.page-Home h1.firstHeading { display: none !important; } | ||
body.page-Home .mw-redirectedfrom { display: none !important; } | body.page-Home .mw-redirectedfrom { display: none !important; } | ||
a, a:visited, .navbar a, .footer a { | a, a:visited, .navbar a, .footer a { | ||
color: #45eaff !important; | color: #45eaff !important; | ||
Line 100: | Line 178: | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
.mw-parser-output .twisted-btn, | .mw-parser-output .twisted-btn, | ||
button, input[type="button"], input[type="submit"] | button, input[type="button"], input[type="submit"] { | ||
display: inline-block; | display: inline-block; | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
Line 119: | Line 195: | ||
} | } | ||
.mw-parser-output .twisted-btn:hover, | .mw-parser-output .twisted-btn:hover, | ||
button:hover, input[type="button"]:hover, input[type="submit"] | button:hover, input[type="button"]:hover, input[type="submit"]:hover { | ||
background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); | background: linear-gradient(90deg, #7efcff 0%, #b6ffe7 100%); | ||
color: #17486b !important; | color: #17486b !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
} | } | ||
.mw-parser-output .twisted-hero, | .mw-parser-output .twisted-hero, | ||
.mw-parser-output .twisted-card { | .mw-parser-output .twisted-card { | ||
Line 140: | Line 214: | ||
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 152: | Line 225: | ||
z-index: 0; | z-index: 0; | ||
} | } | ||
.mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } | .mw-parser-output .twisted-hero-logo { flex: 0 0 auto; } | ||
.mw-parser-output .twisted-hero-main { flex: 1 1 auto; } | .mw-parser-output .twisted-hero-main { flex: 1 1 auto; } | ||
input[type="text"], .form-control, textarea { | input[type="text"], .form-control, textarea { | ||
background: #18293d !important; | background: #18293d !important; | ||
Line 245: | Line 244: | ||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
table, th, td { | table, th, td { | ||
background: #122339 !important; | background: #122339 !important; | ||
Line 255: | Line 252: | ||
padding: 4px 10px !important; | padding: 4px 10px !important; | ||
} | } | ||
pre, code, .mw-code, .mw-highlight pre { | pre, code, .mw-code, .mw-highlight pre { | ||
background: #21272e !important; | background: #21272e !important; | ||
Line 264: | Line 260: | ||
font-size: 0.95em !important; | font-size: 0.95em !important; | ||
} | } | ||
::-webkit-scrollbar { | ::-webkit-scrollbar { | ||
background: #162139; | background: #162139; | ||
Line 275: | Line 269: | ||
box-shadow: 0 2px 8px #00313f44; | box-shadow: 0 2px 8px #00313f44; | ||
} | } | ||
.skin-chameleon .chameleon-footer, .footer, #footer { | .skin-chameleon .chameleon-footer, .footer, #footer { | ||
background: linear-gradient(90deg, #102c43 0%, #153952 100%) !important; | background: linear-gradient(90deg, #102c43 0%, #153952 100%) !important; | ||
Line 287: | Line 279: | ||
box-shadow: 0 -4px 30px #00eaff22 !important; | box-shadow: 0 -4px 30px #00eaff22 !important; | ||
max-width: 1080px !important; | max-width: 1080px !important; | ||
} | } |
Revision as of 04: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 FIX */ .chameleon-navbar .container, .chameleon-header .container { display: flex !important; align-items: center !important; min-height: 72px !important; height: 72px !important; box-sizing: border-box !important; padding: 0 !important; } .chameleon-navbar .navbar-header, .chameleon-navbar .logo, .skin-chameleon .logo, .navbar-brand { display: flex !important; align-items: center !important; height: 72px !important; min-width: 60px !important; padding: 0 !important; margin: 0 !important; } .chameleon-logo img, .skin-chameleon .logo img, .navbar-brand img, .navbar-header img { display: block !important; height: 48px !important; max-height: 48px !important; width: auto !important; margin: 0 28px 0 12px !important; padding: 0 !important; border-radius: 10px !important; background: transparent !important; object-fit: contain !important; vertical-align: middle !important; box-shadow: none !important; position: relative !important; top: 0 !important; } /* NAV LINKS FLEX FIX */ .chameleon-navbar .navbar-nav, .chameleon-header .navbar-nav, .navbar .navbar-nav { display: flex !important; align-items: center !important; height: 72px !important; margin: 0 !important; padding: 0 !important; } /* SEARCH BAR */ .chameleon-search { display: flex !important; align-items: center !important; height: 48px !important; margin: 0 !important; padding: 0 !important; gap: 0 !important; background: none !important; } .chameleon-search input[type="search"], .chameleon-search .form-control { height: 40px !important; line-height: 40px !important; padding: 0 14px !important; border-radius: 8px 0 0 8px !important; border: 1.5px solid #42baff !important; border-right: none !important; font-size: 1.08rem !important; background: #16293c !important; color: #e5f9ff !important; box-shadow: none !important; outline: none !important; margin: 0 !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; vertical-align: middle !important; position: relative !important; top: 0 !important; } .chameleon-search button, .chameleon-search .input-group-btn > button { height: 40px !important; line-height: 40px !important; padding: 0 16px !important; border-radius: 0 8px 8px 0 !important; border: 1.5px solid #42baff !important; border-left: none !important; background: #23a3ce !important; color: #fff !important; font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; font-size: 1.18em !important; box-shadow: none !important; margin: 0 !important; display: flex !important; align-items: center !important; vertical-align: middle !important; position: relative !important; top: 0 !important; } .chameleon-search button .fa-search, .chameleon-search button [class*="icon-"] { color: #fff !important; font-size: 1.1em !important; margin: 0; padding: 0; line-height: 1 !important; position: relative !important; top: 0 !important; } .chameleon-search input[type="search"]:focus, .chameleon-search .form-control:focus { border-color: #1ebaff !important; background: #17334d !important; color: #fff !important; outline: none !important; } .chameleon-search button:focus { outline: none !important; } .chameleon-search input[type="search"]:focus { z-index: 1; } .chameleon-search input[type="search"]::placeholder, .chameleon-search .form-control::placeholder { color: #7feaff !important; opacity: 1 !important; } /* REST OF YOUR STYLES BELOW THIS (no more search/nav/logo stuff) */ 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; } body.page-Home h1.firstHeading { display: none !important; } body.page-Home .mw-redirectedfrom { display: none !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 #5dfaff22; 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; }