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

(Add address styling.)
 
(Port CSS from old team page.)
Line 1: Line 1:
 +
ul.rooster {
 +
    clear: both;
 +
    display: block;
 +
    height: auto;
 +
    list-style: none;
 +
    overflow: auto;
 +
}
 +
 +
ul.rooster li {
 +
    float: left;
 +
    width: 25%;
 +
}
 +
 +
ul.rooster li div {
 +
    align-items: center;
 +
    display: flex;
 +
    justify-content: center;
 +
    height: 200px;
 +
}
 +
 
#address {
 
#address {
 
     flex: 0 1 auto;
 
     flex: 0 1 auto;

Revision as of 17:15, 17 October 2017

ul.rooster {

   clear: both;
   display: block;
   height: auto;
   list-style: none;
   overflow: auto;

}

ul.rooster li {

   float: left;
   width: 25%;

}

ul.rooster li div {

   align-items: center;
   display: flex;
   justify-content: center;
   height: 200px;

}

  1. address {
   flex: 0 1 auto;
   font-size: small;
   font-style: normal;

}