CSS/gifu/tab

From 2014.igem.org

(Difference between revisions)
Line 11: Line 11:
#tab{
#tab{
clear:both;
clear:both;
-
margin-right:auto;
+
margin-left:auto;  
-
margin-left:auto;
+
    margin-right:auto;  
-
text-align:left;
+
    text-align:left;    
-
width:70%;
+
    width:70%;
font-size:14px;
font-size:14px;
font-family:Century Gothic;
font-family:Century Gothic;
Line 27: Line 27:
text-align: center;
text-align: center;
vertical-align:100%;
vertical-align:100%;
-
_vertical-align:120%;
 
text-decoration:none;
text-decoration:none;
-
width:130px;
+
width:120px;
height:50px;
height:50px;
-
 
+
_height:55px;
padding-top: 15px;
padding-top: 15px;
-
_padding-top:10px;
 
padding-bottom: 15px;
padding-bottom: 15px;
-
_padding-bottom:10px;
 
padding-right:20px;
padding-right:20px;
padding-left:20px;
padding-left:20px;
Line 41: Line 38:
.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:50% 0%;
background-position:50% 0%;
Line 47: Line 44:
text-align: center;
text-align: center;
vertical-align:100%;
vertical-align:100%;
-
_vertical-align:120%;
 
text-decoration:none;
text-decoration:none;
-
width:130px;
+
width:120px;
height:50px;
height:50px;
-
 
+
_height:55px;
padding-top: 15px;
padding-top: 15px;
-
_padding-top:10px;
 
padding-bottom: 15px;
padding-bottom: 15px;
-
_paddong-bottom:10px;
 
padding-right:20px;
padding-right:20px;
padding-left:20px;
padding-left:20px;
Line 61: Line 55:
.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:50% 100%;
background-position:50% 100%;
color: #000000;
color: #000000;
text-decoration:none;
text-decoration:none;
-
width:130px;
+
width:120px;
height:50px;
height:50px;

Revision as of 02:08, 4 September 2014