CSS/gifu/tab

From 2014.igem.org

(Difference between revisions)
Line 21: Line 21:
.tab-white
.tab-white
-
{
+
{background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_white.png);
-
background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_white.png);
+
background-repeat:no-repeat ;
background-repeat:no-repeat ;
background-position:center;
background-position:center;
-
_background-position:center bottom;
 
color: #000000;
color: #000000;
text-align: center;
text-align: center;
Line 31: Line 29:
text-decoration:none;
text-decoration:none;
width:130px;
width:130px;
-
_width:130px;
 
height:50px;
height:50px;
-
_height:50px;
+
 
-
padding-top: 15px;
+
padding:15px;
-
padding-bottom: 15px;
+
-
padding-right:20px;
+
-
padding-left:20px;
+
display:inline;
display:inline;
overflow:auto;
overflow:auto;
Line 43: Line 37:
.tab-gray
.tab-gray
-
{
+
{background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_gray.png) ;
-
background-image:url(https://static.igem.org/mediawiki/2014/a/ab/Tab_gray.png) ;
+
background-repeat:no-repeat;
background-repeat:no-repeat;
background-position:top;
background-position:top;
Line 52: Line 45:
text-decoration:none;
text-decoration:none;
width:130px;
width:130px;
-
_width:130px;
 
height:50px;
height:50px;
-
_height:50px;
+
 
-
padding-top: 15px;
+
padding:15px;
-
padding-bottom: 15px;
+
-
padding-right:20px;
+
-
padding-left:20px;
+
display:inline;
display:inline;
overflow:auto;
overflow:auto;
Line 64: Line 53:
.tab-gray:hover
.tab-gray:hover
-
{
+
{background-image: url(https://static.igem.org/mediawiki/2014/a/ab/Tab_gray.png);  
-
background-image: url(https://static.igem.org/mediawiki/2014/a/ab/Tab_gray.png);  
+
background-repeat:no-repeat;
background-repeat:no-repeat;
background-position:bottom;
background-position:bottom;
Line 71: Line 59:
text-decoration:none;
text-decoration:none;
width:130px;
width:130px;
-
_width:130px;
 
height:50px;
height:50px;
-
_height:50px;
+
 
}
}

Revision as of 03:15, 4 September 2014