sass-site/source/assets/css/components/_icons.scss

25 lines
471 B
SCSS
Raw Normal View History

2013-10-14 21:52:40 +02:00
$os-icons: "icons/os-icons.png";
2013-10-14 21:52:40 +02:00
// TODO: Make these use a 16-base instead of 15.
%os-icons {
2013-10-14 21:52:40 +02:00
@include square(15px);
background: image-url($os-icons) 0 0 no-repeat;
2018-10-24 00:06:39 +02:00
background-size: auto 15px;
display: inline-block;
}
.mac-icon {
@extend %os-icons;
background-position: -35px 0;
}
.windows-icon {
@extend %os-icons;
}
.linux-icon {
@extend %os-icons;
background-position: -65px 0;
}
.paid-icon {
@extend %os-icons;
background-position: -100px 0;
}