MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 374: | Line 374: | ||
-moz-user-select: none; | -moz-user-select: none; | ||
-webkit-user-select: none; | -webkit-user-select: none; | ||
} | |||
/* Shields | |||
* We can't embed shields/badges from https://shields.io/ directly, so this is a workaround :) | |||
* Add <span class="shield" id="insertyouridhere"></span> where you want to place the shield | |||
* Add background image for a new id here in the CSS. | |||
*/ | |||
.shield { | |||
display:inline-block; | |||
width:109px; | |||
height:20px; | |||
vertical-align:middle; | |||
} | |||
#shield-python310 { | |||
background-image:url("https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white"); | |||
} | } | ||