wp-rdnyc/assets/css/_svg-icons.scss

28 lines
377 B
SCSS
Raw Normal View History

/*
SVG ICON SYSTEM
per https://blog.prototypr.io/align-svg-icons-to-text-and-say-goodbye-to-font-icons-d44b3d7b26b4
*/
.icon {
display: inline-flex;
align-self: center;
}
.icon svg,
.icon img {
height: 1em;
width: 1em;
fill: currentColor;
}
.icon.baseline svg,
.icon img {
top: 0.15em;
position: relative;
}
2021-07-25 09:44:34 -04:00
svg {
&.img {
fill: currentColor;
}
2021-07-26 13:07:57 -04:00
}