Template:Team:DukeMenu/CSS

From 2014.igem.org

(Difference between revisions)
Line 35: Line 35:
     -o-transition: all 0.5s ease;
     -o-transition: all 0.5s ease;
/*margins must be half of the change in size*/     
/*margins must be half of the change in size*/     
-
     margin: 5px 5px;
+
     margin: 0px;
     line-height:200%;
     line-height:200%;
}
}
Line 42: Line 42:
     background-color: #0000ff;
     background-color: #0000ff;
     opacity: 1;
     opacity: 1;
-
    width: 110px;
 
-
    height: 110px;
 
-
/*margins must be negative half of the change in size*/
 
-
    margin: -5px -5px;
 
/* Glow effect */
/* Glow effect */
   -webkit-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);  
   -webkit-box-shadow: 0px 0px 20px rgba(7, 54, 164, 0);  
Line 58: Line 54:
<body>
<body>
-
<table id="bodyContent" width="80%" align="center">
+
<table id="bodyContent" width="500px" align="center">
-
<tr height="110px">
+
<tr height="100px">
-
<td width="110px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
+
<td width="100px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
-
<td width="110px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
+
<td width="100px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
-
<td width="110px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
+
<td width="100px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
-
<td width="110px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
+
<td width="100px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
-
<td width="110px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
+
<td width="100px"><a class="sq-menu" href="https://2014.igem.org/Team:Duke">Home</a></td>
</tr>
</tr>
</table>
</table>

Revision as of 20:06, 24 July 2014

Home Home Home Home Home