Skip to content

Commit a99299c

Browse files
fix(styles): add icon sizes and allow invert on all images (#227)
1 parent 0bb54cd commit a99299c

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

_sass/styles.scss

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,21 @@ code {
7373
transform: scale(1.1);
7474
}
7575

76-
.icon img {
76+
.icon img, img.icon {
7777
/* remove max-width from beautiful-jekyll */
7878
max-width: none;
79-
height: 40px;
79+
height: 2.25em;
80+
}
81+
.icon-sm img, img.icon-sm {
82+
max-width: none;
83+
height: 1.25em;
84+
}
85+
.icon-lg img, img.icon-lg {
86+
max-width: none;
87+
height: 3.25em;
8088
}
8189

82-
.icon img.invert {
90+
img.invert {
8391
filter: invert(1);
8492
}
8593

0 commit comments

Comments
 (0)