Difference between revisions of "Template:Aalto-Helsinki"

Line 1,176: Line 1,176:
 
@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
 
@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
 
    
 
    
 +
  header, body {
 +
    height: 100%;
 +
    min-height: 300px; /* So that the bottom bar does not go over the picture on a small screen */
 +
    margin: 0 0 0px;
 +
    padding: 0;
 +
  }
 +
 
   #dropdown {
 
   #dropdown {
 
     width: auto;
 
     width: auto;
Line 1,303: Line 1,310:
 
   }
 
   }
  
 +
  .container {
 +
    width: auto !important;
 +
  }
 
   #mainlogo {
 
   #mainlogo {
 
     background-image: url("https://static.igem.org/mediawiki/2017/9/92/T--Aalto-Helsinki--mainlogo-mobile.png");
 
     background-image: url("https://static.igem.org/mediawiki/2017/9/92/T--Aalto-Helsinki--mainlogo-mobile.png");

Revision as of 19:15, 22 October 2017

Aalto-Helsinki