view/resources/wikibase/wikibase.badgedisplay.less
/**
* Badge styles for desktop and mobile:
* used in wikibase-sitelinkview, but also Special:AvailableBadges.
*
* Note that jquery.wikibase.sitelinkview.less has another style for the empty badge,
* which is only shown when editing and not needed on Special:AvailableBadges.
*
* @license GNU GPL v2+
*/
.wb-badge {
/* @embed */
background-image: url( ../jquery/wikibase/themes/default/images/wb-badges-default.svg );
background-repeat: no-repeat;
background-position: 0 center;
display: inline-block;
height: 1.1875rem;
vertical-align: middle;
width: 0.75rem;
}
.wb-badge:first-child {
margin-left: 0.4em;
}
.wb-badge:not( :last-child ) {
margin-right: 0.25rem;
}