Created
November 2, 2014 14:53
-
-
Save adamwathan/36f29132a62ec2284a88 to your computer and use it in GitHub Desktop.
BEM-ish nesting in Less
This file contains 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
.episode { | |
margin-bottom: 5em; | |
&-header { | |
&-title { | |
margin-top: 0; | |
margin-bottom: (@line-height-computed / 4); | |
font-size: @font-size-h4; | |
} | |
&-meta { | |
margin-top: 0; | |
font-size: @font-size-base; | |
font-weight: 500; | |
color: @gray-lighter; | |
} | |
} | |
&-audio { | |
&-player { | |
width: 100%; | |
} | |
} | |
&-links { | |
&-heading { | |
font-size: @font-size-large; | |
margin-top: 0; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment