MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 264: | Line 264: | ||
} | } | ||
/* | /* WhatsApp Support – MediaWiki style link */ | ||
.mw-parser-output a[href^="https://wa.me/"] { | .mw-parser-output a[href^="https://wa.me/"] { | ||
position: relative; | |||
padding-left: 20px; | |||
font-weight: normal; | |||
color: #0645ad; | |||
text-decoration: none; | |||
padding | |||
font- | |||
text-decoration: none | |||
} | } | ||
/* WhatsApp | /* WhatsApp icon like MediaWiki action icons */ | ||
.mw-parser-output a[href^="https://wa.me/"]::before { | .mw-parser-output a[href^="https://wa.me/"]::before { | ||
content: ""; | content: ""; | ||
width: | position: absolute; | ||
height: | left: 0; | ||
top: 50%; | |||
width: 14px; | |||
height: 14px; | |||
transform: translateY(-50%); | |||
background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg"); | background-image: url("https://upload.wikimedia.org/wikipedia/commons/6/6b/WhatsApp.svg"); | ||
background-size: contain; | background-size: contain; | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
} | } | ||