Template:Seealso/styles.css
Template page
More actions
.loka-seealso {
margin: 0 0 .5em;
padding-left: 1.8em;
font-style: italic;
font-size: .85em;
}
/* Italic comes from the parent rule above (inherited by everything,
links included, since the wikitext itself no longer wraps the line in
''...'') -- this un-italicises specifically the plain/internal wiki
links (domestic d1-d6 items, and the trailing [[Loka Forums]] link in
the forum group's suffix), while leaving the external, quoted-title
platform links (Forums threads, Wikipedia, MCwiki) italic. Internal
links get no special class from MediaWiki, external ones always get
class="external" -- :not(.external) is what tells them apart. */
.loka-seealso a:not(.external) {
font-style: normal;
}
.loka-seealso-forum-icon img,
.loka-seealso-wiki-icon img,
.loka-seealso-mc-icon img {
vertical-align: -1.5px;
}
/* Same reasoning as Template:Wikipedia's own icon -- solid black glyph,
inverted to white by default since the wiki defaults to dark mode. */
.loka-seealso-wiki-icon img {
filter: invert(1);
}
@media (prefers-color-scheme: light) {
.loka-seealso-wiki-icon img {
filter: none;
}
}