Difference between revisions of "Template:ETH Zurich/members css"

(Simplify CSS; reflow space.)
(Simplify; apply padding via main CSS.)
Line 8: Line 8:
 
}
 
}
  
.rooster > li > figure {
+
.rooster figure {
 
     margin: 10px auto;
 
     margin: 10px auto;
    padding: 0 5px;
+
     max-width: 250px;
     max-width: 300px;
+
 
     min-width: 150px;
 
     min-width: 150px;
 
}
 
}

Revision as of 02:18, 29 October 2017

.rooster {

   color: var(--dark-text-color);
   display: flex;
   flex-flow: row wrap;
   justify-content: space-around;
   list-style-type: none; 
   padding: 0;

}

.rooster figure {

   margin: 10px auto;
   max-width: 250px;
   min-width: 150px;

}