MediaWiki:Common.css: Difference between revisions
Modernize homepage layout |
Fix discord widget click target |
||
| Line 1: | Line 1: | ||
/* ========================================================================== | /* ========================================================================== | ||
OSRS EXACT REPLICA DESIGN SYSTEM | OSRS EXACT REPLICA DESIGN SYSTEM | ||
========================================================================== */ | ========================================================================== */ | ||
| Line 1,090: | Line 1,090: | ||
svg.mwe-popups-settings-icon path { | svg.mwe-popups-settings-icon path { | ||
fill: #2b2b2b !important; | fill: #2b2b2b !important; | ||
} | |||
/* Discord Widget Clickable Overlay */ | |||
.discord-widget { | |||
position: relative; | |||
transition: transform 0.2s ease, box-shadow 0.2s ease; | |||
} | |||
.discord-widget:hover { | |||
transform: translateY(-2px); | |||
box-shadow: 0 8px 20px rgba(28, 42, 61, 0.6); | |||
} | |||
.discord-widget .external { | |||
position: absolute; | |||
top: 0; left: 0; right: 0; bottom: 0; | |||
z-index: 10; | |||
} | |||
.discord-click-target { | |||
display: block; | |||
width: 100%; | |||
height: 100%; | |||
} | } | ||