MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 393: | Line 393: | ||
rgba(255,122,0,0.3) | rgba(255,122,0,0.3) | ||
); | ); | ||
} | |||
/* ========================================================= | |||
OOO SECTION TITLE (Industrial – Dark Glow Accent) | |||
========================================================= */ | |||
.ooo-section-title { | |||
position: relative; | |||
text-align: center; | |||
font-size: 1.8rem; | |||
font-weight: 700; | |||
margin: 5rem 0 2.5rem 0; | |||
letter-spacing: 0.5px; | |||
} | |||
.ooo-section-title::before, | |||
.ooo-section-title::after { | |||
content: ""; | |||
position: absolute; | |||
top: 50%; | |||
width: 35%; | |||
height: 2px; | |||
background: linear-gradient( | |||
to right, | |||
transparent, | |||
var(--ooo-accent), | |||
transparent | |||
); | |||
} | |||
.ooo-section-title::before { | |||
left: 0; | |||
} | |||
.ooo-section-title::after { | |||
right: 0; | |||
} | |||
/* ===== Dark Mode Glow ===== */ | |||
.skin-theme-clientpref-night .ooo-section-title::before, | |||
.skin-theme-clientpref-night .ooo-section-title::after { | |||
box-shadow: 0 0 8px rgba(255,122,0,0.6); | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
.skin-theme-clientpref-os .ooo-section-title::before, | |||
.skin-theme-clientpref-os .ooo-section-title::after { | |||
box-shadow: 0 0 8px rgba(255,122,0,0.6); | |||
} | |||
} | } | ||