MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 360: | Line 360: | ||
#mw-panel a[href*="discord.gg"], | #mw-panel a[href*="discord.gg"], | ||
#mw-panel a[href*="discord.com/invite"]{ | #mw-panel a[href*="discord.com/invite"]{ | ||
display: | display: flex; | ||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | padding: 10px 12px; | ||
border-radius: 6px; | border-radius: 6px; | ||
| Line 369: | Line 371: | ||
} | } | ||
#mw-panel a[href*="discord.gg"]::before, | |||
#mw-panel a[href*="discord.com/invite"]::before{ | |||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Discord-white-icon.png") center / contain no-repeat; | |||
} | |||
#mw-panel a[href*="discord.gg"]:hover, | #mw-panel a[href*="discord.gg"]:hover, | ||
#mw-panel a[href*="discord.com/invite"]:hover{ | #mw-panel a[href*="discord.com/invite"]:hover{ | ||
filter: brightness(0.95); | filter: brightness(0.95); | ||
} | } | ||