Skip to content

Instantly share code, notes, and snippets.

@robskidmore
Created May 16, 2014 14:30
Show Gist options
  • Save robskidmore/eee4aafb620f98fbc7d1 to your computer and use it in GitHub Desktop.
Save robskidmore/eee4aafb620f98fbc7d1 to your computer and use it in GitHub Desktop.
List Styles
.entry ul {
list-style-type: square;
}
.entry li {
padding:6px 0;
color: #01518f;
}
.entry ol {
counter-reset:li;
margin-left:0;
padding-left:0;
}
.entry ol > li {
position:relative;
margin-left:29px;
list-style:none;
}
.entry ol > li:before {
content:counter(li) ".";
counter-increment:li;
position:absolute;
top:-5px;
left:-32px;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
padding:4px;
color:#bccdd7;
font-size: 24px;
text-align:center;
font-family:'Linden Hill';
}
#sidebar ul {
padding: 20px !important;
}
#sidebar ul ul{
padding: 0px !important;
}
#sidebar ul,
.entry ul {
margin-left:0;
padding-left:0;
}
#sidebar ul > li,
.entry ul > li {
position:relative;
margin-left:29px;
list-style:none;
}
#sidebar ul > li {
margin-left: 25px;
}
#sidebar ul > li:before,
.entry ul > li:before {
content:'';
position:absolute;
top: 17px;
left: -27px;
-moz-box-sizing:border-box;
-webkit-box-sizing:border-box;
box-sizing:border-box;
padding:4px;
background-color:#bccdd7;
width:8px;
height:8px;
}
.entry li ol,
.entry li ul {margin-top:6px;}
.entry ol ol li:last-child {margin-bottom:0;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment