MediaWiki:Common.css: Difference between revisions
mNo edit summary |
m warning/notice styling global |
||
| Line 442: | Line 442: | ||
.ooo-section-title::after { | .ooo-section-title::after { | ||
display: none; | display: none; | ||
} | |||
} | |||
/* ========================================================= | |||
OOO NOTICE SYSTEM (Industrial Warning) | |||
========================================================= */ | |||
.ooo-notice { | |||
position: relative; | |||
padding: 24px 28px; | |||
margin: 60px 0; | |||
border-radius: 12px; | |||
border-left: 5px solid var(--ooo-accent); | |||
background: linear-gradient( | |||
to right, | |||
rgba(255,122,0,0.08), | |||
transparent 60% | |||
); | |||
transition: 0.2s ease; | |||
} | |||
.ooo-notice__title { | |||
font-size: 1.1rem; | |||
font-weight: 700; | |||
margin-bottom: 10px; | |||
color: var(--ooo-accent); | |||
letter-spacing: 0.3px; | |||
} | |||
.ooo-notice__content { | |||
line-height: 1.6; | |||
opacity: 0.9; | |||
} | |||
/* Subtle hover energy */ | |||
.ooo-notice:hover { | |||
background: linear-gradient( | |||
to right, | |||
rgba(255,122,0,0.12), | |||
transparent 70% | |||
); | |||
} | |||
/* Dark theme glow accent */ | |||
.skin-theme-clientpref-night .ooo-notice { | |||
box-shadow: 0 0 14px rgba(255,122,0,0.08); | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
.skin-theme-clientpref-os .ooo-notice { | |||
box-shadow: 0 0 14px rgba(255,122,0,0.08); | |||
} | } | ||
} | } | ||