Template:Wikipedia/styles.css: Difference between revisions
Template page
More actions
Create Wikipedia link template |
m Empirically align the Wikipedia icon with the link text |
||
| Line 3: | Line 3: | ||
} | } | ||
/* | /* Empirically measured against the live rendered text/icon (same method | ||
as the YouTube/Twitch/Loka/Challonge-bracket icons) -- vertical-align: | |||
middle left it 1.4px high; this is the exact value that lines up the | |||
icon's centre with the text's centre. */ | |||
.loka-wikipedia-icon img { | .loka-wikipedia-icon img { | ||
vertical-align: | vertical-align: -1.5px; | ||
} | } | ||
Revision as of 21:02, 19 August 2026
.loka-wikipedia-link {
display: inline;
}
/* Empirically measured against the live rendered text/icon (same method
as the YouTube/Twitch/Loka/Challonge-bracket icons) -- vertical-align:
middle left it 1.4px high; this is the exact value that lines up the
icon's centre with the text's centre. */
.loka-wikipedia-icon img {
vertical-align: -1.5px;
}