Team:Wageningen UR/Templates/NavigationTop

From 2011.igem.org

(Difference between revisions)
Line 5: Line 5:
   @import url(http://fonts.googleapis.com/css?family=Ubuntu);
   @import url(http://fonts.googleapis.com/css?family=Ubuntu);
      
      
-
 
-
 
   #navTop
   #navTop
Line 15: Line 13:
   width: 100%;
   width: 100%;
   height: 40px;
   height: 40px;
-
  padding: 1em;
 
-
  margin: 0 1em 1em 0;
 
   }
   }
-
 
   
   
-
  #navOscillation1 {  
+
  #Oscillation1 {  
-
   background-image: url('https://static.igem.org/mediawiki/2011/5/5f/Oscillation0.png');
+
  background: transparent;
-
   width: 100px;
+
   background-image: url('https://static.igem.org/mediawiki/2011/1/11/Oscillation0.png');
-
   height: 40px;
+
  background-repeat: no-repeat;
 +
  background-position: left center;
 +
  margin: 0 0 0 8.4em;
 +
  position: center;
 +
   width: 23px;
 +
   height: 36px;
   }
   }
    
    
-
  #navOscillation1.hovered, #navOscillation1:hover {
+
  #Oscillation1.hovered, Oscillation1:hover {
-
    background-image: url('https://static.igem.org/mediawiki/2011/1/11/Oscillation1.png');
+
  background-image: url('https://static.igem.org/mediawiki/2011/1/11/Oscillation1.png');
-
}
+
  background-repeat: no-repeat;
 +
  background-position: left center;
 +
  margin: 0 0 0 8.4em;
 +
  position: center;
 +
  width: 23px;
 +
  height: 36px;
 +
  }
   
   

Revision as of 13:19, 10 April 2011