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

From Captain of Industry Wiki
Jump to: navigation, search
m (typo)
(glow tweak... less fuzzy)
 
(One intermediate revision 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 1px rgba(255,255,255,.75));
   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;
}