MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 376: | Line 376: | ||
} | } | ||
/* Shields */ | |||
/* 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 { | .shield { | ||
display:inline-block; | display:inline-block; | ||
width:109px; | width:109px; | ||
height:20px; | height:20px; | ||
vertical-align:middle; | |||
} | |||
#shield-python310 { | |||
background-image:url("https://img.shields.io/badge/Python-3.10%2B-3776AB?logo=python&logoColor=white"); | |||
} | } | ||