Difference between revisions of "Template:Infoicon/styles.css"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
 
(glow tweak... less fuzzy)
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
.infoicon img {
.infoicon img {
   margin-top: -3px;
   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;
}
}

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;
}