Add .icon-size mixin to octicons

Esse commit está contido em:
Ben Ogle
2013-09-05 12:07:05 -07:00
commit 0e7cae9a91
+7 -3
Ver Arquivo
@@ -1,3 +1,9 @@
.icon-size(@size) {
font-size: @size;
width: @size;
height: @size;
}
.icon(@size, @display: inline-block) {
font-family: 'Octicons Regular';
font-weight: normal;
@@ -7,9 +13,7 @@
-webkit-font-smoothing: antialiased;
text-decoration: none;
font-size: @size;
width: @size;
height: @size;
.icon-size(@size);
}
.octicon(@name, @size: 16px) {