浏览代码

Update CSS to dynamically color alternate home sections

George Cushen 9 年之前
父节点
当前提交
a7e7c07d50
共有 1 个文件被更改,包括 1 次插入4 次删除
  1. 1 4
      static/css/hugo-academic.css

+ 1 - 4
static/css/hugo-academic.css

@@ -129,13 +129,10 @@ footer p.powered-by {
     margin-bottom: 0px;
     width: 1905px;
     margin-left: -382.5px;
-}
-
-.home-section-wrapper.full_width.home:nth-child(even) {
     background-color: rgb(255, 255, 255);
 }
 
-.home-section-wrapper.full_width.home:nth-child(odd) {
+.home-section-wrapper.full_width.home:nth-of-type(even) {
     background-color: rgb(247, 247, 247);
 }