Skip to content

Commit

Permalink
Update bst.css
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPadbury committed Oct 4, 2013
1 parent 86be288 commit 5305e5c
Showing 1 changed file with 43 additions and 1 deletion.
44 changes: 43 additions & 1 deletion css/bst.css
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,47 @@ Footer
/*
Commentlist
*/
.commentlist, .commentlist ul {
ol.commentlist {
counter-reset: li; /* Initiate a counter */
padding: 0;
}
ol.commentlist ul {
padding: 0;
}
ol.commentlist > li {
position: relative;
margin: 0 0 20px 0;
list-style: none; /* Disable the normal item numbering */
}
ol.commentlist > li:before {
content: "Thread " counter(li); /* Use the counter as content */
counter-increment: li; /* Increment the counter by 1 */
position:absolute;
top: 0;
right: 0;
border-bottom: 1px solid #ddd;
border-left: 1px solid #ddd;
border-bottom-left-radius: 4px;
padding: 5px 20px 5px 10px;
color: #999;
}
ol.commentlist li ol,
ol.commentlist li ul {
list-style-type: none;
margin: 0;
}

.commentlist li li {
background: #f8f8f8;
}
.commentlist li li li {
background: #fff;
}
.commentlist li li li li {
background: #f8f8f8;
}
.commentlist li li li li li li {
background: #fff;
}
.commentlist li {
padding: 20px;
Expand All @@ -126,6 +165,9 @@ Commentlist
margin-top: 20px;
margin-bottom: 0;
}
.reply p {
margin: 0;
}

/*
Off-canvas Sidebar
Expand Down

0 comments on commit 5305e5c

Please sign in to comment.