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

Line 26: Line 26:
 
}
 
}
  
section.sponsor {
+
section.sponsor > img {
 
     padding-right: 50px;
 
     padding-right: 50px;
 
}
 
}

Revision as of 14:22, 29 October 2017

.sponsor {

   align-items: center;
   display: flex;
   flex-flow: column wrap;

}

.sponsor > a {

   display: block;
   flex: 1 1 0;
   margin: 10px auto 5px auto;
   max-width: 250px;

}

.sponsor > p {

   flex: 1 1 0;

}

@media screen and (min-width: 620px) {

   .sponsor {
       flex-flow: row nowrap;
   }

   .sponsor > a {
       margin: 0 auto;
   }

}

section.sponsor > img {

    padding-right: 50px;

}