Created
September 30, 2010 16:01
-
-
Save Inviz/604817 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//media as attribute | |
%script{:src => "/Theme/HUD/screen.css", :media => "screen and (lsd-theme: HUD)"} | |
//media to deliver combined stylesheet | |
button | |
+inline-block | |
@media (lsd-theme: HUD) | |
button | |
&:icon | |
:width 14px | |
:height 14px | |
@media (lsd-theme: Aristo) | |
button | |
&:icon | |
:width 16px | |
:height 16px | |
//compiled to | |
button { | |
display: inline-block | |
} | |
@media (lsd-theme: HUD) { | |
button .pseudo-icon { | |
width: 14px; | |
height: 14px; | |
} | |
} | |
@media (lsd-theme: Aristo) { | |
button .pseudo-icon { | |
width: 16px; | |
height: 16px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment