Template:Infoicon/styles.css: Difference between revisions
From Captain of Industry Wiki
Thadius856 (talk | contribs) m typo |
Thadius856 (talk | contribs) glow tweak... less fuzzy |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
} | } | ||
/* Add a tiny glow around icons so that that they stick out from the background */ | |||
.iconglow img { | .iconglow img { | ||
filter: drop-shadow(0 0 | 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; | |||
} | } |
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; }