Biomod/2012/Tianjin/Template/header: Difference between revisions
No edit summary |
Runmin Wang (talk | contribs) No edit summary |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<html> | <html> | ||
<style> | <style> | ||
/* changed default background */ | |||
.container{background-color: #ffffff; margin-top:0px} | .container{background-color: #ffffff; margin-top:0px} | ||
#column-content {width: 0px; float: left; margin: 0 0 0 0;padding: 0;} | #column-content {width: 0px; float: left; margin: 0 0 0 0;padding: 0;} | ||
Line 14: | Line 17: | ||
#bodyContent{ width: 920px; align: center; background-color: #fffffff;} | #bodyContent{ width: 920px; align: center; background-color: #fffffff;} | ||
#column-content{width: 970px;background-color: #ffffff;} | #column-content{width: 970px;background-color: #ffffff;} | ||
body { background: url(http://openwetware.org/images/1/13/TJU2012-Bg.gif) repeat-x #F9F9F7; | body { background: url(http://openwetware.org/images/1/13/TJU2012-Bg.gif) repeat-x #F9F9F7; } | ||
/* basic link rules */ | |||
a:link { | a:link { | ||
color: #4F6DDC; | color: #4F6DDC; | ||
Line 39: | Line 34: | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
. | |||
font-size: | |||
color: # | |||
/* -- navigator css -- */ | |||
#navDiv ul { margin: 0; padding: 0;} | |||
#navDiv li { margin: 0; padding: 0;} | |||
#navDiv a { margin: 0; padding: 0;} | |||
#navDiv ul {list-style: none; z-index:999;} | |||
#navDiv a {text-decoration: none;} | |||
#navDiv | |||
{ | |||
position: relative; | |||
height: 40px; | |||
width:975px; | |||
left: -15px; | |||
top: 0px; | |||
background-color: #111; | |||
background-repeat: repeat-x; | |||
box-shadow: 0px 5px 8px rgba(0,0,0,0.4); | |||
margin-bottom:20px; | |||
} | |||
#navDiv > ul > li { | |||
float: left; | |||
margin-left: 55px; | |||
position: relative; | |||
} | |||
#navDiv > ul > li > a { | |||
color: #777777; | |||
font-family: Verdana, 'Lucida Grande'; | |||
font-size: 15px; | |||
line-height: 40px; | |||
padding: 11px 20px; | |||
-webkit-transition: color .15s; | |||
-moz-transition: color .15s; | |||
-o-transition: color .15s; | |||
transition: color .15s; | |||
} | |||
#navDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;} | |||
#navDiv > ul > li > ul | |||
{ | |||
opacity: 0; | |||
visibility: hidden; | |||
padding: 16px 0 20px 0; | |||
background-color: rgb(250,250,250); | |||
text-align: left; | |||
position: absolute; | |||
top: 55px; | |||
left: 50%; | |||
margin-left: -90px; | |||
width: 180px; | |||
-webkit-transition: all .3s .1s; | |||
-moz-transition: all .3s .1s; | |||
-o-transition: all .3s .1s; | |||
transition: all .3s .1s; | |||
-webkit-border-radius: 5px; | |||
-moz-border-radius: 5px; | |||
border-radius: 5px; | |||
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
} | |||
#navDiv > ul > li:hover > ul | |||
{ | |||
opacity: 1; | |||
top: 65px; | |||
visibility: visible; | |||
} | |||
#navDiv > ul > li > ul:before | |||
{ | |||
content: ''; | |||
display: block; | |||
border-color: transparent transparent rgb(250,250,250) transparent; | |||
border-style: solid; | |||
border-width: 10px; | |||
position: absolute; | |||
top: -20px; | |||
left: 50%; | |||
margin-left: -10px; | |||
} | } | ||
#navDiv > ul ul > li { position: relative;} | |||
#navDiv ul ul a | |||
{ | |||
color: rgb(50,50,50); | |||
font-family: Verdana, 'Lucida Grande'; | |||
font-size: 13px; | |||
background-color: rgb(250,250,250); | |||
padding: 5px 8px 7px 16px; | |||
display: block; | |||
-webkit-transition: background-color .1s; | |||
-moz-transition: background-color .1s; | |||
-o-transition: background-color .1s; | |||
transition: background-color .1s; | |||
} | |||
#navDiv ul ul a:hover {background-color: rgb(240,240,240);} | |||
#navDiv ul ul ul | |||
{ | |||
visibility: hidden; | |||
opacity: 0; | |||
position: absolute; | |||
top: -16px; | |||
left: 206px; | |||
padding: 16px 0 20px 0; | |||
background-color: rgb(250,250,250); | |||
text-align: left; | |||
width: 160px; | |||
-webkit-transition: all .3s; | |||
-moz-transition: all .3s; | |||
-o-transition: all .3s; | |||
transition: all .3s; | |||
-webkit-border-radius: 5px; | |||
-moz-border-radius: 5px; | |||
border-radius: 5px; | |||
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
box-shadow: 0px 1px 3px rgba(0,0,0,.4); | |||
} | |||
#navDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;} | |||
#navDiv ul ul a:hover | |||
{ | |||
background-color: #777777; | |||
color: rgb(240,240,240); | |||
} | |||
/* footer in the middle */ | |||
#footer{position: center; width: 970px;} | |||
</style> | </style> | ||
<!--header starts here--> | |||
<div id="header"> | <div id="header"> | ||
<div class="title" style="height: 120px;"> | <div class="title" style="height: 120px;"> | ||
<a href="#" style="font-size:400%">Biomod TJU 2012</a> | <a href="#" style="font-size:400%">Biomod TJU 2012</a> | ||
</div> | </div> | ||
<div class="topsearch"> | <div class="topsearch" style="height:70px;"> | ||
<form method="GET" action="http://www.google.com/search"> | <form method="GET" action="http://www.google.com/search"> | ||
<input type="hidden" name="hl" value="en"> | <input type="hidden" name="hl" value="en"> | ||
Line 57: | Line 195: | ||
</form> | </form> | ||
</div> | </div> | ||
</div> | |||
<!--navigator starts here--> | |||
<div id="navDiv"> | |||
<ul> | |||
<li class='active '><a href='http://2012.igem.org/Team:Dundee'><span>Home</span></a></li> | |||
<li class='has-sub '><a href='http://2012.igem.org/Team:Dundee/Team'><span>Team</span></a> | |||
<ul> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Team'><span>Team Members</span></a></li> | |||
<li><a href='http://igem.org/Team.cgi?year=2012&team_name=Dundee'><span>team Profile</span></a></li> | |||
</ul> | |||
</li> | |||
<li class='has-sub'><a href='http://2012.igem.org/Team:Dundee/Project'><span>Designs</span></a> | |||
<ul> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Project'><span>Background</span></a></li> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Solution'><span>The Logic Gate</span></a></li> | |||
<li><a href="http://2012.igem.org/Team:Dundee/Biobricks"><span>Y-DNA</span></a></li> | |||
<li><a href="http://2012.igem.org/Team:Dundee/Biobricks"><span>Delivery System</span></a></li> | |||
</ul> | |||
</li> | |||
<li class='has-sub'><a href='http://2012.igem.org/Team:Dundee/Strategy'><span>Results</span></a> | |||
<ul> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Strategy'><span>Strategy</span></a></li> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Results'><span>Experimentation</span></a></li> | |||
</ul> | |||
</li> | |||
<li class='has-sub'><a href="#"><span>Protocol</span></a> | |||
<ul> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Modelling4'><span>Modelling</span></a></li> | |||
<li><a href='http://2012.igem.org/Team:Dundee/Software'><span>Software</span></a></li> | |||
</ul> | |||
</li> | |||
<li class='active'><a href='http://2012.igem.org/Team:Dundee/Attributions'><span>Attributions</span></a></li> | |||
</ul> | |||
</div> | </div> | ||
<a href="http://openwetware.org/index.php?title=Biomod/2012/Tianjin/Template/header&action=submit">edit</a> | <a href="http://openwetware.org/index.php?title=Biomod/2012/Tianjin/Template/header&action=submit">edit</a> | ||
</html> | </html> |
Latest revision as of 21:10, 22 October 2012
<html> <style>
/* changed default background */
.container{background-color: #ffffff; margin-top:0px}
- column-content {width: 0px; float: left; margin: 0 0 0 0;padding: 0;}
.firstHeading {display:none; width:0px;}
- column-one {display:none; width:0px;background-color: #ffffff;}
- globalWrapper{width: 970px; background-color: #ffffff; margin-left: auto; margin-right: auto;
-moz-box-shadow: 0px 0px 15px #ccc; -webkit-box-shadow: 0px 0px 15px #ccc; box-shadow: 0px 0px 15px #ccc;}
- content{ margin: 0 0 0 0; align: center; padding: 12px 12px 12px 12px; width: 940px;background-color: #ffffff; border: 0;}
- bodyContent{ width: 920px; align: center; background-color: #fffffff;}
- column-content{width: 970px;background-color: #ffffff;}
body { background: url(http://openwetware.org/images/1/13/TJU2012-Bg.gif) repeat-x #F9F9F7; }
/* basic link rules */
a:link {
color: #4F6DDC;
}
a:visited {
color: #4F6DDC;
}
a:hover {
color: #4F6DDC;
text-decoration: none;
}
/* -- navigator css -- */
- navDiv ul { margin: 0; padding: 0;}
- navDiv li { margin: 0; padding: 0;}
- navDiv a { margin: 0; padding: 0;}
- navDiv ul {list-style: none; z-index:999;}
- navDiv a {text-decoration: none;}
- navDiv
{ position: relative; height: 40px; width:975px; left: -15px; top: 0px; background-color: #111; background-repeat: repeat-x; box-shadow: 0px 5px 8px rgba(0,0,0,0.4); margin-bottom:20px; }
- navDiv > ul > li {
float: left; margin-left: 55px; position: relative;
}
- navDiv > ul > li > a {
color: #777777; font-family: Verdana, 'Lucida Grande'; font-size: 15px; line-height: 40px; padding: 11px 20px;
-webkit-transition: color .15s;
-moz-transition: color .15s; -o-transition: color .15s; transition: color .15s;
}
- navDiv > ul > li > a:hover {color: #333333; background-color: #FFFFFF;}
- navDiv > ul > li > ul
{
opacity: 0; visibility: hidden; padding: 16px 0 20px 0; background-color: rgb(250,250,250); text-align: left; position: absolute; top: 55px; left: 50%; margin-left: -90px; width: 180px;
-webkit-transition: all .3s .1s;
-moz-transition: all .3s .1s; -o-transition: all .3s .1s; transition: all .3s .1s;
-webkit-border-radius: 5px;
-moz-border-radius: 5px; border-radius: 5px;
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); box-shadow: 0px 1px 3px rgba(0,0,0,.4);
}
- navDiv > ul > li:hover > ul
{
opacity: 1; top: 65px; visibility: visible;
}
- navDiv > ul > li > ul:before
{
content: ''; display: block; border-color: transparent transparent rgb(250,250,250) transparent; border-style: solid; border-width: 10px; position: absolute; top: -20px; left: 50%; margin-left: -10px;
}
- navDiv > ul ul > li { position: relative;}
- navDiv ul ul a
{
color: rgb(50,50,50); font-family: Verdana, 'Lucida Grande'; font-size: 13px; background-color: rgb(250,250,250); padding: 5px 8px 7px 16px; display: block;
-webkit-transition: background-color .1s;
-moz-transition: background-color .1s; -o-transition: background-color .1s; transition: background-color .1s;
}
- navDiv ul ul a:hover {background-color: rgb(240,240,240);}
- navDiv ul ul ul
{
visibility: hidden; opacity: 0; position: absolute; top: -16px; left: 206px; padding: 16px 0 20px 0; background-color: rgb(250,250,250); text-align: left; width: 160px;
-webkit-transition: all .3s;
-moz-transition: all .3s; -o-transition: all .3s; transition: all .3s;
-webkit-border-radius: 5px;
-moz-border-radius: 5px; border-radius: 5px;
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,.4); box-shadow: 0px 1px 3px rgba(0,0,0,.4);
}
- navDiv ul ul > li:hover > ul { opacity: 1; left: 196px; visibility: visible;}
- navDiv ul ul a:hover
{
background-color: #777777; color: rgb(240,240,240);
}
/* footer in the middle */
- footer{position: center; width: 970px;}
</style>
<!--header starts here-->
<div id="header"> <div class="title" style="height: 120px;"> <a href="#" style="font-size:400%">Biomod TJU 2012</a> </div> <div class="topsearch" style="height:70px;"> <form method="GET" action="http://www.google.com/search"> <input type="hidden" name="hl" value="en"> <input type="hidden" name="sitesearch" value="openwetware.org"> <input type="hidden" name="domains" value="openwetware.org"> <input type="hidden" name="as_epq" value="Tianjin"> <input type="text" name="q" class="frm"><input type="submit" class="btn" value="Search"> </form> </div> </div>
<!--navigator starts here-->
<div id="navDiv">
<ul>
<li class='active '><a href='http://2012.igem.org/Team:Dundee'><span>Home</span></a></li> <li class='has-sub '><a href='http://2012.igem.org/Team:Dundee/Team'><span>Team</span></a> <ul> <li><a href='http://2012.igem.org/Team:Dundee/Team'><span>Team Members</span></a></li> <li><a href='http://igem.org/Team.cgi?year=2012&team_name=Dundee'><span>team Profile</span></a></li>
</ul>
</li> <li class='has-sub'><a href='http://2012.igem.org/Team:Dundee/Project'><span>Designs</span></a> <ul> <li><a href='http://2012.igem.org/Team:Dundee/Project'><span>Background</span></a></li> <li><a href='http://2012.igem.org/Team:Dundee/Solution'><span>The Logic Gate</span></a></li> <li><a href="http://2012.igem.org/Team:Dundee/Biobricks"><span>Y-DNA</span></a></li> <li><a href="http://2012.igem.org/Team:Dundee/Biobricks"><span>Delivery System</span></a></li> </ul>
</li>
<li class='has-sub'><a href='http://2012.igem.org/Team:Dundee/Strategy'><span>Results</span></a>
<ul> <li><a href='http://2012.igem.org/Team:Dundee/Strategy'><span>Strategy</span></a></li> <li><a href='http://2012.igem.org/Team:Dundee/Results'><span>Experimentation</span></a></li>
</ul>
</li> <li class='has-sub'><a href="#"><span>Protocol</span></a> <ul> <li><a href='http://2012.igem.org/Team:Dundee/Modelling4'><span>Modelling</span></a></li> <li><a href='http://2012.igem.org/Team:Dundee/Software'><span>Software</span></a></li> </ul>
</li>
<li class='active'><a href='http://2012.igem.org/Team:Dundee/Attributions'><span>Attributions</span></a></li>
</ul> </div> <a href="http://openwetware.org/index.php?title=Biomod/2012/Tianjin/Template/header&action=submit">edit</a>
</html>