Procházet zdrojové kódy

Update CSS to dynamically color alternate home sections

George Cushen před 9 roky
rodič
revize
a7e7c07d50
1 změnil soubory, kde provedl 1 přidání a 4 odebrání
  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);
 }