Template:Infoicon/styles.css: Difference between revisions
From Captain of Industry Wiki
Thadius856 (talk | contribs) +nowrap |
Thadius856 (talk | contribs) glow tweak... less fuzzy |
||
| Line 6: | Line 6: | ||
/* Add a tiny glow around icons so that that they stick out from the background */ | /* Add a tiny glow around icons so that that they stick out from the background */ | ||
.iconglow img { | .iconglow img { | ||
filter: drop-shadow(0 0 1px rgba(255,255,255, | filter: drop-shadow(0 0 1px rgba(255,255,255,1)); | ||
} | } | ||
Latest revision as of 12:12, 25 January 2022
/* Undo mw-parser's addition of a 3px margin to the top of linked images */
.infoicon img {
margin-top: -3px;
}
/* Add a tiny glow around icons so that that they stick out from the background */
.iconglow img {
filter: drop-shadow(0 0 1px rgba(255,255,255,1));
}
/* Prevent line breaks in silly places where desired (nowrap)
and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}