mirror of
https://github.com/danog/sass-site.git
synced 2024-12-15 19:07:29 +01:00
25 lines
480 B
SCSS
25 lines
480 B
SCSS
$os-icons: "icons/os-icons.png";
|
|
|
|
// TODO: Make these use a 16-base instead of 15.
|
|
%os-icons {
|
|
@include square(15px);
|
|
background: image-url($os-icons) 0 0 no-repeat;
|
|
@include 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;
|
|
}
|