Created
January 30, 2015 06:41
-
-
Save Grawl/2e3c26abc4e04e2e92a0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
// ---- | |
// Sass (v3.4.9) | |
// Compass (v1.0.1) | |
// ---- | |
.datalist | |
&-float | |
%float-item | |
display: inline-block | |
&:not(:last-of-type) | |
margin: | |
right: 1em | |
padding: | |
right: 1em | |
border: | |
right: 1px solid | |
&-item | |
@extend %float-item | |
display: block | |
&-term | |
font: | |
weight: normal | |
&-description | |
font: | |
weight: bold |
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
.datalist-float .datalist-item { | |
display: inline-block; | |
} | |
.datalist-float .datalist-item:not(:last-of-type) { | |
margin-right: 1em; | |
padding-right: 1em; | |
border-right: 1px solid; | |
} | |
.datalist-item { | |
display: block; | |
} | |
.datalist-item-term { | |
font-weight: normal; | |
} | |
.datalist-item-description { | |
font-weight: bold; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment