Permalink
Browse files

style: interlaced colour line 隔行变色

Removes id and makes markdown post simple.
去掉id, 插入reference时更省事。
  • Loading branch information...
MOxFIVE committed Sep 8, 2015
1 parent 1f1eced commit 3e5f553018ac209f9eda4619024fe0523843b1c4
Showing with 3 additions and 2 deletions.
  1. +3 −2 themes/Yilia/source/css/_partial/article.styl
@@ -450,7 +450,8 @@ body {
top: 47%;
}
/*Set reference's (ol id="reference") in all [post].md*/
#reference li:nth-child(2n-1){
/*When reference list is the last order list of the article,
line color will be interlaced.*/
.article-entry > ol:last-child > li:nth-child(2n){
background: #F9FFF4;
}

0 comments on commit 3e5f553

Please sign in to comment.