MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
add cool CSS stuff borrowed from Star Citizen Wiki (https://starcitizen.tools/MediaWiki:Citizen.css for attribution) Tag: Recreated |
m fix again |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
--woa-accent: #00B8E6; | --woa-accent: #00B8E6; | ||
--woa-dark: #053E73; | --woa-dark: #053E73; | ||
/* Override Codex default blues with WikiOasis brand */ | |||
--color-primary: var(--woa-primary); | |||
--color-progressive: var(--woa-secondary); | |||
--color-destructive: #d32424; | |||
} | } | ||
| Line 27: | Line 32: | ||
h1 { | h1 { | ||
padding-bottom: 0.5em; | padding-bottom: 0.5em; | ||
} | } | ||
| Line 58: | Line 62: | ||
/* Align icon opacity with skin default */ | /* Align icon opacity with skin default */ | ||
.mw-logo-icon { | .mw-logo-icon { | ||
opacity: | opacity: 1; | ||
filter: | filter: none !important; | ||
} | } | ||
| Line 72: | Line 76: | ||
} | } | ||
/* External portlet hidden */ | |||
.mw-portlet-External { | .mw-portlet-External { | ||
display: none; | display: none; | ||
} | } | ||
| Line 245: | Line 223: | ||
gap: var(--space-sm); | gap: var(--space-sm); | ||
font-weight: var(--font-weight-bold); | font-weight: var(--font-weight-bold); | ||
} | |||
.mw-logo-icon { | |||
filter: none; | |||
} | } | ||
| Line 299: | Line 277: | ||
button { | button { | ||
transition: all 200ms ease; | transition: all 200ms ease; | ||
border-color: var(--woa-primary); | border-color: var(--woa-primary) !important; | ||
color: white; | color: white !important; | ||
background-color: var(--woa-primary); | background-color: var(--woa-primary) !important; | ||
position: relative; | |||
overflow: visible; | |||
} | } | ||
| Line 307: | Line 287: | ||
.mw-ui-progressive:hover, | .mw-ui-progressive:hover, | ||
button:hover { | button:hover { | ||
background-color: var(--woa-secondary); | background-color: var(--woa-primary) !important; | ||
border-color: var(--woa- | border-color: var(--woa-secondary) !important; | ||
box-shadow: 0 | color: white !important; | ||
box-shadow: 0 0 16px rgba(0, 147, 212, 0.6), 0 0 24px rgba(0, 147, 212, 0.3) !important; | |||
animation: none !important; | |||
} | |||
.mw-ui-button:active, | |||
.mw-ui-progressive:active, | |||
button:active { | |||
background-color: var(--woa-dark) !important; | |||
border-color: var(--woa-dark) !important; | |||
box-shadow: 0 0 8px rgba(0, 147, 212, 0.4) !important; | |||
} | } | ||
| Line 364: | Line 354: | ||
--gradient-angle: 360deg; | --gradient-angle: 360deg; | ||
} | } | ||
} | |||
@keyframes woa-gradient-pulse { | |||
0%, 100% { | |||
transform: scale(1); | |||
} | |||
50% { | |||
transform: scale(1.02); | |||
} | |||
} | |||
.woa-gradient-glow { | |||
animation: woa-gradient-pulse var(--gradient-time) ease-in-out infinite; | |||
} | } | ||