mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-28 17:40:12 +00:00
443955249b
Overrides the `wikibase.client.init` module to better style the interlanguage link button in Vector 2022. Also adds the `.mw-list-item` class to that link so that it maintains consistency with the other menu list items. Bug: T328069 Change-Id: I5c84b7f036afb4b8dc11e92a59dff8000f068e67
13 lines
328 B
CSS
13 lines
328 B
CSS
.wb-langlinks-link > a:before {
|
|
content: '';
|
|
background-image: url( images/edit.svg );
|
|
background-position: 2px center;
|
|
background-repeat: no-repeat;
|
|
background-size: 10px 10px;
|
|
display: inline-block;
|
|
width: 14px; /* extra 2px of white space around the icon */
|
|
height: 10px;
|
|
margin-left: -14px;
|
|
vertical-align: top;
|
|
}
|