Difference between revisions of "Team:NTNU Trondheim/Style"

Line 202: Line 202:
 
     opacity: 1;
 
     opacity: 1;
 
}
 
}
 +
 +
.mobile-home-img {
 +
  display: none;
 +
}
 +
 +
 +
 +
.footer {
 +
  padding: 20px;
 +
}
 +
 +
.home-img {
 +
  position: relative;
 +
  top: -10px;
 +
  left: 0;
 +
 +
  /* Preserve aspet ratio */
 +
  min-width: 100%;
 +
  min-height: 100%;
 +
 +
  object-fit: scale-down;
 +
 +
  z-index: 99 !important;
 +
}
 +
 +
 +
body, html {
 +
    height: 100%;
 +
    margin: 0;
 +
}
 +
 +
 +
/****** WRITE ALL NON-MEDIA CODE ABOVE THIS LINE *****/
  
 
@media only screen and (max-width: 793px) {
 
@media only screen and (max-width: 793px) {
Line 255: Line 288:
 
}
 
}
  
.footer {
 
  padding: 20px;
 
}
 
 
.home-img {
 
  position: relative;
 
  top: -10px;
 
  left: 0;
 
 
  /* Preserve aspet ratio */
 
  min-width: 100%;
 
  min-height: 100%;
 
 
  object-fit: scale-down;
 
 
  z-index: 99 !important;
 
}
 
 
.mobile-home-img {
 
  display: none;
 
}
 
 
body, html {
 
    height: 100%;
 
    margin: 0;
 
}
 
  
  
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 13:07, 1 August 2018