Template:Biomod/2012/Tianjin/header: Difference between revisions
No edit summary |
No edit summary |
||
Line 202: | Line 202: | ||
width:640px; | width:640px; | ||
font-family:"Calibri"; | font-family:"Calibri"; | ||
font-size:120% | |||
} | } | ||
Revision as of 20:03, 24 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);
}
/* Abstract in pages css */
- tianjin-right-content {
float: right; width: 280px; margin-left: 20px; font-family:"Calibri"; font-size:120%; }
- tianjin-right-content ul {
margin: 0; padding: 0 1em; }
- tianjin-right-content ul li {
list-style: none; margin: 0 0 1em 0; } .tianjin-description { font-size: small; color: #8A8A8A; }
/* Text content css*/
- text-content {
width:640px; font-family:"Calibri"; font-size:120% }
/* footer in the middle */
- footer{position: center; width: 970px;}
</style>
<!--header starts here-->
<div id="header"> <div class="title" style="height: 180px;"> <a href="#"><img src ="http://openwetware.org/images/7/79/TJU2012-Header.png"></a> <div class="topsearch" style="height:70px;float:right;"> <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> </div>
<!--navigator starts here-->
<div id="navDiv">
<ul>
<li class='active '><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin'><span>Home</span></a></li> <li class='has-sub '><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Team'><span>Team</span></a> <ul> <li><a href='#'><span>Team Members</span></a></li> <li><a href='#'><span>team Profile</span></a></li>
</ul>
</li> <li class='has-sub'><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Project'><span>Designs</span></a> <ul> <li><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Project/Background'><span>Background</span></a></li> <li><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Project/LogicGate'><span>The Logic Gate</span></a></li> <li><a href="http://openwetware.org/wiki/Biomod/2012/Tianjin/Project/YDNA"><span>Y-DNA</span></a></li> <li><a href="http://openwetware.org/wiki/Biomod/2012/Tianjin/Project/Origami"><span>The Origami Amplifier</span></a></li> </ul>
</li>
<li class='has-sub'><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Result'><span>Results</span></a>
<ul> <li><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Result/LogicGate'><span>The Logic Gate</span></a></li> <li><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Result/YDNA'><span>Y-DNA</span></a></li> <li><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Result/Origami'><span>The Origami Amplifier</span></a></li>
</ul>
</li> <li class='has-sub'><a href="#"><span>Protocol</span></a> <ul> <li><a href='#'><span>Modelling</span></a></li> <li><a href='#'><span>Software</span></a></li> </ul>
</li>
<li class='active'><a href='http://openwetware.org/wiki/Biomod/2012/Tianjin/Attributions'><span>Attributions</span></a></li>
</ul> </div> <a href="http://openwetware.org/index.php?title=Template:Biomod/2012/Tianjin/header&action=submit">edit</a>
</html>