Template:Macquarie

From 2011.igem.org

(Difference between revisions)
Line 184: Line 184:
background:#a2b3a1;
background:#a2b3a1;
color:#000
color:#000
 +
}
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
}
 +
#menu { 
 +
float: left;
 +
padding: 0;
 +
margin: 0;
 +
 +
/* Box Shadow */
 +
box-shadow: 0 1px 0 #000;
 +
-moz-box-shadow: 0 1px 0 #000;
 +
-webkit-box-shadow: 0 1px 0 #000;
 +
 +
/* Rounded Corners */
 +
-moz-border-radius-topleft: 10px;
 +
    -moz-border-radius-bottomleft: 10px;
 +
-webkit-border-top-left-radius: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
 +
/* Rounded Corners */
 +
    -moz-border-radius-topright: 10px;
 +
    -moz-border-radius-bottomright: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
}
 +
#menu ul {
 +
border-top: #f3f3f3 1px solid;
 +
padding: 0;
 +
margin: 0;
 +
float: left;
 +
 +
/* Background Gradient */
 +
    background-image: -moz-linear-gradient(top, #b4b4b4, #A11F37);
 +
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#b4b4b4), to(#707070));
 +
}
 +
#menu li {
 +
float: left;
 +
list-style: none;
 +
background: none;
 +
margin-right: 1px;
 +
}
 +
#menu a { outline: none; }
 +
#menu li a:link, #menu li a:visited {
 +
font-family: Arial, Helvetica, sans-serif;
 +
font-size: 14px;
 +
font-weight: ;
 +
display: block;
 +
color: #FFFFFF;
 +
text-decoration: none;
 +
text-transform: capitalize;
 +
text-shadow: 0px 0px 0px #fff;
 +
padding: 12px 28px;
 +
 +
/* Background Gradient */
 +
    background-image: -moz-linear-gradient(top, #A11F37, #731E15);
 +
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A11F37), to(#A11F37));
 +
}
 +
#menu li a:hover {
 +
cursor: pointer;
 +
color: #fff;
 +
text-shadow: 0px -1px 1px #000;
 +
 +
/* Background Gradient */
 +
    background-image: -moz-linear-gradient(top, #929292, #545454);
 +
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#929292), to(#545454));
 +
}
 +
#menu li:first-child a, #menu ul {
 +
/* Rounded Corners */
 +
-moz-border-radius-topleft: 10px;
 +
    -moz-border-radius-bottomleft: 10px;
 +
-webkit-border-top-left-radius: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
 +
}
 +
#menu li:last-child a, #menu ul {
 +
/* Rounded Corners */
 +
    -moz-border-radius-topright: 10px;
 +
    -moz-border-radius-bottomright: 10px;
 +
-webkit-border-top-right-radius: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
}
 +
a.active:link, a.active:active, a.active:visited {
 +
color: #fff !important;
 +
text-shadow: 0px -1px 1px #000!important;
 +
    background-image: -moz-linear-gradient(top, #444, #666)!important;
 +
    background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#444), to(#666))!important;
 +
 +
/* Box Shadow */
 +
box-shadow: inset 0 0 10px #000;
 +
-moz-box-shadow: inset 0 0 10px #000;
 +
-webkit-box-shadow: inset 0 0 10px #000;
}
}
Line 217: Line 325:
 +
 +
 +
<div id="menu">
 +
<ul>
 +
<li><a href="/Team:Macquarie_Australia">home</a></li>
 +
 +
<li><a href="/Team:Macquarie_Australia/Team">team</a></li>
 +
<li><a href="/Team:Macquarie_Australia/Project">project</a></li>
 +
<li><a href="/Team:Macquarie_Australia/parts">parts submitted</a></li>
 +
<li><a href="/Team:Macquarie_Australia/Modeling">modelling</a></li>
 +
<li><a href="/Team:Macquarie_Australia/Notebook">notebook</a></li>
 +
<li><a href="/Team:Macquarie_Australia/Safety">safety</a></li>
 +
<li><a href="/Team:Macquarie_Australia/Attributions">attributions</a></li>
 +
</ul>
 +
</div>

Revision as of 09:54, 17 August 2011