wp-73k/assets/css/_svg-icons.scss

22 lines
366 B
SCSS
Raw Normal View History

2021-07-04 09:26:44 -04:00
/*
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 {
2021-07-07 15:47:48 -04:00
top: 0.15em;
2021-07-04 09:26:44 -04:00
position: relative;
}