Permalink
Browse files

feat: style even row 单双行变色

Set even row to a colour different with odds via “nth-child” for a
better reading experience in reference.
使用选择器“nth-child”设置单双行为不同底色,提升参考列表阅读效果。
  • Loading branch information...
MOxFIVE committed Aug 24, 2015
1 parent c1a3786 commit 0bfb2f5aa47349e5537875c4405f0f78de930557
Showing with 5 additions and 0 deletions.
  1. +5 −0 themes/Yilia/source/css/_partial/article.styl
@@ -415,4 +415,9 @@
top: 40%;
right: 1px;
opacity:0.6;
}
/*Set reference's (ol id="reference") in all [post].md*/
#reference li:nth-child(2n-1){
background: #F9FFF4;
}

0 comments on commit 0bfb2f5

Please sign in to comment.