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 */ | /* === GENERAL LAYOUT === */ | ||
body, | body, | ||
.skin-chameleon, | .skin-chameleon, | ||
Line 11: | Line 11: | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
} | } | ||
.mw-body, | .mw-body, | ||
.mw-body-content { | .mw-body-content { | ||
Line 27: | Line 26: | ||
} | } | ||
/* NAVBAR & | /* === NAVBAR, LOGO & SEARCH (ALL FIXED, NO CONFLICTS) === */ | ||
.chameleon-navbar .container, | .chameleon-navbar .container, | ||
.chameleon-header .container { | .chameleon-header .container { | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
height: 72px !important; | |||
min-height: 72px !important; | min-height: 72px !important; | ||
box-sizing: border-box !important; | box-sizing: border-box !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
.chameleon-navbar .logo, | .chameleon-navbar .logo, | ||
.skin-chameleon .logo, | .skin-chameleon .logo, | ||
.navbar-brand { | .navbar-brand, | ||
.chameleon-navbar .navbar-header { | |||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
height: 72px !important; | height: 72px !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
Line 52: | Line 50: | ||
.navbar-brand img, | .navbar-brand img, | ||
.navbar-header img { | .navbar-header img { | ||
height: 48px !important; | height: 48px !important; | ||
width: auto !important; | width: auto !important; | ||
margin: 0 | display: block !important; | ||
margin: 0 24px 0 10px !important; | |||
background: transparent !important; | |||
border-radius: 10px !important; | border-radius: 10px !important; | ||
object-fit: contain !important; | object-fit: contain !important; | ||
box-shadow: none !important; | |||
vertical-align: middle !important; | vertical-align: middle !important; | ||
position: relative !important; | position: relative !important; | ||
top: 0 !important; | top: 0 !important; | ||
padding: 0 !important; | |||
} | } | ||
.chameleon-navbar .navbar-nav, | .chameleon-navbar .navbar-nav, | ||
.chameleon-header .navbar-nav, | .chameleon-header .navbar-nav, | ||
Line 77: | Line 72: | ||
padding: 0 !important; | padding: 0 !important; | ||
} | } | ||
/* === SEARCH BAR === */ | |||
/* SEARCH BAR */ | |||
.chameleon-search { | .chameleon-search { | ||
display: flex !important; | display: flex !important; | ||
Line 85: | Line 79: | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
background: none !important; | |||
gap: 0 !important; | gap: 0 !important; | ||
} | } | ||
.chameleon-search input[type="search"], | .chameleon-search input[type="search"], | ||
Line 94: | Line 88: | ||
padding: 0 14px !important; | padding: 0 14px !important; | ||
border-radius: 8px 0 0 8px !important; | border-radius: 8px 0 0 8px !important; | ||
border: | border: 2px solid #42baff !important; | ||
border-right: none !important; | border-right: none !important; | ||
background: #16293c !important; | background: #16293c !important; | ||
color: #e5f9ff !important; | color: #e5f9ff !important; | ||
font-size: 1.08rem !important; | |||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | |||
box-shadow: none !important; | box-shadow: none !important; | ||
outline: none !important; | outline: none !important; | ||
margin: 0 !important; | margin: 0 !important; | ||
vertical-align: middle !important; | vertical-align: middle !important; | ||
position: relative !important; | position: relative !important; | ||
top: 0 !important; | top: 0 !important; | ||
} | |||
/* --- HIGH VISIBILITY PLACEHOLDER --- */ | |||
.chameleon-search input[type="search"]::placeholder, | |||
.chameleon-search .form-control::placeholder { | |||
color: #60ffff !important; | |||
opacity: 1 !important; | |||
} | } | ||
.chameleon-search button, | .chameleon-search button, | ||
Line 111: | Line 111: | ||
height: 40px !important; | height: 40px !important; | ||
line-height: 40px !important; | line-height: 40px !important; | ||
border-radius: 0 8px 8px 0 !important; | border-radius: 0 8px 8px 0 !important; | ||
border: | border: 2px solid #42baff !important; | ||
border-left: none !important; | border-left: none !important; | ||
background: #23a3ce !important; | background: #23a3ce !important; | ||
color: #fff !important; | color: #fff !important; | ||
font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | font-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; | ||
font-size: 1. | font-size: 1.2em !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
padding: 0 16px !important; | |||
margin: 0 !important; | margin: 0 !important; | ||
display: flex !important; | display: flex !important; | ||
align-items: center !important; | align-items: center !important; | ||
justify-content: center !important; | |||
vertical-align: middle !important; | vertical-align: middle !important; | ||
position: relative !important; | position: relative !important; | ||
top: 0 !important; | top: 0 !important; | ||
outline: none !important; | |||
} | } | ||
.chameleon-search button .fa-search, | .chameleon-search button .fa-search, | ||
Line 146: | Line 148: | ||
.chameleon-search button:focus { outline: none !important; } | .chameleon-search button:focus { outline: none !important; } | ||
.chameleon-search input[type="search"]:focus { z-index: 1; } | .chameleon-search input[type="search"]:focus { z-index: 1; } | ||
/* | /* === HIDE PAGE TITLE ON HOME PAGE === */ | ||
body.page-Home h1.firstHeading { display: none !important; } | |||
body.page-Home .mw-redirectedfrom { display: none !important; } | |||
/* === TYPOGRAPHY & GENERAL STYLES === */ | |||
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 165: | Line 166: | ||
color: #e5f9ff !important; | color: #e5f9ff !important; | ||
} | } | ||
a, a:visited, .navbar a, .footer a { | a, a:visited, .navbar a, .footer a { | ||
color: #45eaff !important; | color: #45eaff !important; |
Revision as of 04:23, 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 (ALL FIXED, NO CONFLICTS) === */ .chameleon-navbar .container, .chameleon-header .container { display: flex !important; align-items: center !important; height: 72px !important; min-height: 72px !important; box-sizing: border-box !important; padding: 0 !important; } .chameleon-navbar .logo, .skin-chameleon .logo, .navbar-brand, .chameleon-navbar .navbar-header { display: flex !important; align-items: center !important; height: 72px !important; padding: 0 !important; margin: 0 !important; } .chameleon-logo img, .skin-chameleon .logo img, .navbar-brand img, .navbar-header img { height: 48px !important; width: auto !important; display: block !important; margin: 0 24px 0 10px !important; background: transparent !important; border-radius: 10px !important; object-fit: contain !important; box-shadow: none !important; vertical-align: middle !important; position: relative !important; top: 0 !important; padding: 0 !important; } .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; background: none !important; gap: 0 !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: 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; vertical-align: middle !important; position: relative !important; top: 0 !important; } /* --- HIGH VISIBILITY PLACEHOLDER --- */ .chameleon-search input[type="search"]::placeholder, .chameleon-search .form-control::placeholder { color: #60ffff !important; opacity: 1 !important; } .chameleon-search button, .chameleon-search .input-group-btn > button { height: 40px !important; line-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-family: 'Inter', 'Roboto', 'Segoe UI', Arial, sans-serif !important; font-size: 1.2em !important; box-shadow: none !important; padding: 0 16px !important; margin: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; vertical-align: middle !important; position: relative !important; top: 0 !important; outline: none !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; } /* === HIDE PAGE TITLE ON HOME PAGE === */ body.page-Home h1.firstHeading { display: none !important; } body.page-Home .mw-redirectedfrom { display: none !important; } /* === TYPOGRAPHY & GENERAL STYLES === */ 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: #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; }