Created
September 17, 2015 14:25
-
-
Save maximkoretskiy/14527d0d90ab603fc77c to your computer and use it in GitHub Desktop.
Lists styles
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
ul{ | |
list-style-position: inside; | |
} | |
ol { | |
counter-reset: section; | |
list-style-type: none; | |
} | |
li{ | |
padding-left: 20px; | |
position: relative; | |
margin-bottom: 6px; | |
} | |
ul li::before{ | |
content: ""; | |
@extend .icon-list-check; | |
@include size(12px, 10px); | |
position: absolute; | |
left: 2px; | |
top: 6px; | |
} | |
ol li::before { | |
font-weight: bold; | |
color: $c-blue-text; | |
counter-increment: section; | |
content: counters(section,".") "."; | |
padding-right: 12px; | |
position: absolute; | |
left: 2px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment