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

Line 258: Line 258:
  
 
.home-img {
 
.home-img {
    /* The image used */
+
  position: relative;
    background-image: url(https://static.igem.org/mediawiki/2018/d/d6/T--NTNU_Trondheim--logoforhome.png) !important;
+
  top: 14px;
 +
  left: 0;
 +
 +
  /* Preserve aspet ratio */
 +
  min-width: 100%;
 +
  min-height: 100%;
  
    /* Full height */
+
  z-index: 99 !important;
    height: 100% !important;
+
    position: relative;
+
 
+
    /* Center and scale the image nicely */
+
    background-position: center !important;
+
    background-repeat: no-repeat !important;
+
    background-size: cover !important;
+
    width: 100%;
+
 
+
    z-index: 99 !important;
+
 
}
 
}
  

Revision as of 12:08, 1 August 2018