Template:MenuS&T

From 2011.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
body {
-
<style type="text/css">
+
    text-align: center;
-
.bg {background: url(https://static.igem.org/mediawiki/2010/b/b9/Button4.gif);}
+
    margin:0px 0px 0px 0px;
-
.menu {padding:0 0 0 32px; margin:0; list-style:none; height:40px; background:#fff url(https://static.igem.org/mediawiki/igem.org/c/c7/Button1a.gif) repeat-x; position:relative; font-family: Berlin Sans FB, Sans-Serif; }
+
    background: red;
-
.menu li.top {display:block; float:left; position:relative; left:-30px;}
+
    font-family:"Ubuntu", sans-serif;
-
.menu li a.top_link {display:block; float:left; height:40px; line-height:33px; color:#cccccc; text-decoration:none; font-size:17px; font-weight:regular; padding:0 0 0 10px; cursor:pointer;}
+
}
-
.menu li a.top_link span {float:left; font-weight:regular; display:block; padding:0 10px 0 12px; height:40px;}
+
h1, h2, h3, h4, h5{
-
.menu li a.top_link span.down {float:left; display:block; padding:0 10px 0 12px; height:40px; background:url(https://static.igem.org/mediawiki/2010/7/7b/Down.gif) no-repeat right top;}
+
    color: white;
-
.menu li a.top_link:hover {color:#000; background: url(https://static.igem.org/mediawiki/2010/b/b9/Button4.gif) no-repeat;}
+
    font-family:"Ubuntu", sans-serif;
-
.menu li a.top_link:hover span {background:url(https://static.igem.org/mediawiki/2010/b/b9/Button4.gif) no-repeat right top;}
+
    line-height:25px;
-
.menu li a.top_link:hover span.down {background:url(https://static.igem.org/mediawiki/2010/d/da/Button4a.gif) no-repeat right top;}
+
    border-bottom:1px dotted #e3e3e3;
-
.menu li:hover > a.top_link {color:#000; background: url(https://static.igem.org/mediawiki/2010/b/b9/Button4.gif) no-repeat;}
+
    margin-bottom:5px;
-
.menu li:hover > a.top_link span {background:url(https://static.igem.org/mediawiki/2010/b/b9/Button4.gif) no-repeat right top;}
+
    border-top:0px;
-
.menu li:hover > a.top_link span.down {background:url(https://static.igem.org/mediawiki/2010/d/da/Button4a.gif) no-repeat right top;}
+
    margin-top:10px;
-
.menu table {border-collapse:collapse; width:0; height:0; position:absolute; top:0; left:0;}
+
    padding-top:10px;
-
.menu a:hover {visibility:visible;}
+
    font-weight:normal;
-
.menu li:hover {position:relative; z-index:200;}
+
}
-
.menu ul,
+
 
-
.menu :hover ul ul,
+
h2.noline{
-
.menu :hover ul :hover ul ul,
+
    border-top:0;
-
.menu :hover ul :hover ul :hover ul ul,
+
    margin-top:0;
-
.menu :hover ul :hover ul :hover ul :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
+
    padding-top:0;
-
.menu :hover ul.sub {left:2px; top:40px; right:2px; background: #fff; padding:3px 0; border:1px solid #009900; white-space:nowrap; width:200px; height:auto;}
+
    margin-bottom:0;
-
.menu :hover ul.sub li {display:block; height:20px; position:relative; float:left; width:250px;}
+
    line-height:20px;
-
.menu :hover ul.sub li a {font-weight:normal;display:block; font-size:11px; height:20px; width:192px; line-height:20px; text-indent:5px; color:#000; text-decoration:none; border:3px solid #fff; border-width:0 0 0 3px;}
+
    padding-top:2px;
-
.menu :hover ul.sub li a.fly {background:#fff url(https://static.igem.org/mediawiki/2010/6/69/Arrow.gif) 80px 7px no-repeat;}
+
    font-size:20px;
-
.menu :hover ul.sub li a:hover {background:#42c555; color:#fff;}
+
}
-
.menu :hover ul.sub li a.fly:hover {background:#42c555 url(https://static.igem.org/mediawiki/2010/a/a0/Arrow_over.gif) 80px 7px no-repeat; color:#fff;}
+
 
-
.menu :hover ul li:hover > a.fly {background:#42c555 url(https://static.igem.org/mediawiki/2010/a/a0/Arrow_over.gif) 80px 7px no-repeat; color:#fff;}
+
h3 {
-
.menu :hover ul :hover ul,
+
    font-size: 18px;
-
.menu :hover ul :hover ul :hover ul,
+
    border-bottom: none;
-
.menu :hover ul :hover ul :hover ul :hover ul,
+
}
-
.menu :hover ul :hover ul :hover ul :hover ul :hover ul
+
 
-
{left:90px; top:-4px; background: #fff; padding:3px 0; border:1px solid 95d2ee; white-space:nowrap; width:93px; z-index:200; height:auto;}
+
h4 {
-
<style media="all" type="text/css">@import "/menu/menu_style.css";</style>
+
    border-bottom: none;
-
<div>
+
}
-
<ul class="menu">
+
 
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners" target="_self" class="top_link"><span>Home</span></a>
+
h2.topheader{
-
</li>
+
    border-top:0;
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Team" target="_self" class="top_link"><span>Team</span></a>
+
    padding-top:0;
-
<ul class="sub">
+
    margin-top:5px;
-
<li><a href="https://igem.org/Team.cgi" target="_self">Profile</a></li>
+
}
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Team" target="_self">Team Page</a></li>
+
 
-
</ul>
+
 
-
</li>
+
/* Menu */
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Project" target="_self" class="top_link"><span>Project</span></a>
+
ul.sdt_menu{
-
<ul class="sub">
+
    margin:0;
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Glucose_Sensor" target="_self">Glucose Sensor</a></li>
+
    padding:0;
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Project" target="_self">Project</a></li>
+
    list-style: none;
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Parts" target="_self">Parts</a></li>
+
    font-family:"Ubuntu", "Trebuchet MS", sans-serif;
-
</ul>
+
    font-size:12px;
-
</li>
+
    width:852px;
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Notebook" target="_self" class="top_link"><span>Notebook</span></a>
+
}
-
</li>
+
ul.sdt_menu a{
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Safety" target="_self" class="top_link"><span>Ethics & Safety</span></a>
+
    text-decoration:none;
-
<ul class="sub">
+
    outline:none;
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Ethics" target="_self">Ethics</a></li>
+
}
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Safety" target="_self">Safety</a></li>
+
ul.sdt_menu li{
-
</ul>
+
    float:left;
-
</li>
+
    width:142px;
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Public_Opinion" target="_self" class="top_link"><span>Public Opinion</span></a>
+
    height:85px;
-
<ul class="sub">
+
    position:relative;
-
<li><a href="https://2011.igem.org/Team:Missouri_Miners/Campus_Survey" target="_self">Campus Survey</a></li>
+
    cursor:pointer;
-
</ul>
+
}
-
</li>
+
ul.sdt_menu li > a{
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Contact" target="_self" class="top_link"><span>Contact Us</span></a>
+
    position:absolute;
-
<ul class="sub">
+
    top:0px;
-
<li><a href="http://web.mst.edu/~igem/" target="_self">@ S&T</a></li>
+
    left:0px;
-
<li><a href="http://www.facebook.com/mstigem" target="_self">Facebook</a></li>
+
    width:142px;
-
<li><a href="http://twitter.com/mstigem" target="_self">Twitter</a></li>
+
    height:85px;
-
<li><a href="http://www.youtube.com/user/mstigemteam" target="_self">Youtube</a></li>
+
    z-index:12;
-
</ul>
+
    background:#222;
-
</li>
+
    -moz-box-shadow:0px 0px 2px #000 inset;
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Gallery" target="_self" class="top_link"><span>Photos</span></a>
+
    -webkit-box-shadow:0px 0px 2px #000 inset;
-
</li>
+
    box-shadow:0px 0px 2px #000 inset;
-
<li class="top"><a href="https://2011.igem.org/Team:Missouri_Miners/Attributions" target="_self" class="top_link"><span>Attributions</span></a>
+
}
-
</li>
+
ul.sdt_menu li a img{
-
</ul>
+
    border:none;
-
</div>
+
    position:absolute;
 +
    width:0px;
 +
    height:0px;
 +
    bottom:0px;
 +
    left:85px;
 +
    z-index:170;
 +
    -moz-box-shadow:0px 0px 4px #000;
 +
    -webkit-box-shadow:0px 0px 4px #000;
 +
    box-shadow:0px 0px 4px #000;
 +
    z-index:16;
 +
}
 +
ul.sdt_menu li span.sdt_wrap{
 +
    position:absolute;
 +
    top:25px;
 +
    left:0px;
 +
    width:142px;
 +
    height:60px;
 +
    z-index:15;
 +
}
 +
ul.sdt_menu li span.sdt_active{
 +
    position:absolute;
 +
    background:#111;
 +
    top:85px;
 +
    width:142px;
 +
    height:0px;
 +
    left:0px;
 +
    z-index:14;
 +
    -moz-box-shadow:0px 0px 4px #000 inset;
 +
    -webkit-box-shadow:0px 0px 4px #000 inset;
 +
    box-shadow:0px 0px 4px #000 inset;
 +
}
 +
ul.sdt_menu li span span.sdt_link,
 +
ul.sdt_menu li span span.sdt_descr,
 +
ul.sdt_menu li div.sdt_box a{
 +
    text-indent:-3pt;
 +
    margin-left:18px;
 +
    //text-transform:uppercase;
 +
    text-shadow:1px 1px 1px #333;
 +
}
 +
 
 +
ul.sdt_menu li span span.sdt_link{
 +
    color:#fff;
 +
    font-size:18px;
 +
    float:left;
 +
    clear:both;
 +
}
 +
ul.sdt_menu li span span.sdt_descr{
 +
    color:#1C5F1C;
 +
    float:left;
 +
    clear:both;
 +
    width:142px; /*For dumbass IE7*/
 +
    font-size:10px;
 +
    letter-spacing:1px;
 +
}
 +
ul.sdt_menu li div.sdt_box{
 +
    display:block;
 +
    position:absolute;
 +
    width:142px;
 +
    overflow: auto;
 +
    top:85px;
 +
    left:0px;
 +
    display:none;
 +
    background:#333;
 +
    z-index: 8;
 +
    padding-top: 15px;
 +
}
 +
ul.sdt_menu li div.sdt_box a{
 +
    float:left;
 +
    clear:both;
 +
    line-height:15px;
 +
    color:#0B75AF;
 +
}
 +
 
 +
ul.sdt_menu li div.sdt_box a:hover{
 +
    color:#fff;
 +
}
 +
 
 +
/* End of menu stuff */
 +
 
 +
/* Lightbox */
 +
 
 +
div.thumb {
 +
    background-color:black;
 +
    border:none;
 +
}
 +
div.thumb div{
 +
    background-color:transparent;
 +
    border:none;
 +
}
 +
 
 +
div.thumb div a{
 +
    border:none;
 +
}
 +
 
 +
/* End lightbox */
 +
 
 +
.secheader{
 +
    height:50px;
 +
    color:white;
 +
    padding-left:10px;
 +
    padding-top:15px;
 +
    font-size:2.0em;
 +
    text-align:left;
 +
    overflow:auto;
 +
}
 +
 
 +
.contwrap{
 +
    text-align:justify;
 +
    background:#f8f8f8;
 +
    color:#333333;
 +
    width:720px;
 +
    padding-left:10px;
 +
    padding-top:5px;
 +
    padding-right:10px;
 +
    padding-bottom:20px;
 +
    margin-top:5px;
 +
    margin-bottom:none;
 +
}
 +
 
 +
h2 {
 +
    margin:0 0 1em;
 +
}
 +
 
 +
#camfooter {
 +
    clear:both;
 +
    height:0px;
 +
    background:white;
 +
}
 +
#camfooter p {
 +
    margin:0;
 +
}
 +
* html #camfooter {
 +
    height:1px;
 +
}
 +
h1.firstHeading {
 +
    display: none;
 +
}
 +
 
 +
#globalWrapper {
 +
    padding:0px 0px 0px 0px;
 +
    margin:0px 0px 0px 0px;
 +
    text-align: center;
 +
    align: center;
 +
    height: 100%;
 +
    width: 100%;
 +
    border: none;
 +
    color: white;
 +
    background: none;
 +
}
 +
#content {
 +
    background: none;
 +
    border:none;
 +
    padding:0px 0px 0px 0px;
 +
    margin:0px 0px 0px 0px;
 +
    text-align: center;
 +
    align: center;
 +
    height: 100%;
 +
    width: 100%;
 +
}
 +
 
 +
#bodyContent {
 +
    padding:0px 0px 0px 0px;
 +
    margin:0px 0px 0px 0px;
 +
    height: 100%;
 +
    width: 100%;
 +
    border: none;
 +
    background: none;
 +
}
 +
 
 +
#search-controls {
 +
    overflow:hidden;
 +
    display:none;
 +
    background: none;
 +
    position: absolute;
 +
    top: 170px;
 +
    right: 40px;
 +
}         
 +
#footer-box {
 +
    background: none;
 +
    border: none;
 +
    width: 965px;
 +
    margin: 0 auto;
 +
    margin-bottom:none;
 +
    padding-left:5px;
 +
    padding-right:5px;
 +
    color: white;
 +
}
 +
#footer {
 +
    border: none;
 +
    width: 965px;
 +
    margin: 0;
 +
    padding: 0;
 +
    background: none ;
 +
    color: white;
 +
}
 +
 
 +
#f-list a {
 +
    color: #CCC;
 +
    font-size: 10px;
 +
}
 +
#f-list a:hover {
 +
    color: #999;
 +
}
 +
#footer ul {
 +
    margin: 0;
 +
    padding: 0;
 +
}
 +
#footer ul li {
 +
    margin-top: 0;
 +
    margin-bottom: 0;
 +
    margin-left: 10px;
 +
    margin-right: 10px;
 +
    padding: 0;
 +
}
 +
 
 +
div.content {
 +
    background: url("https://static.igem.org/mediawiki/2011/6/6d/Brown-Stanford_Transparent.png") ;
 +
    text-align: left;
 +
    margin: auto;
 +
    margin-top: 5px !important;
 +
    color: white;
 +
    width: 810px !important;
 +
    padding: 20px 20px 20px 20px;
 +
}
 +
 
 +
#twitterWrap {
 +
    float: right;
 +
    height: 170px;
 +
    width: 220px;
 +
    text-align: left;
 +
    padding: 20px 0px 20px 20px;
 +
    background: none;
 +
}
 +
 
 +
#twitter {
 +
    position:relative;
 +
    height: 150px;
 +
    width: 200px;
 +
    text-align: left;
 +
    padding: 10px 10px 10px 10px;
 +
    background-color: #3E3333;
 +
    overflow:auto;
 +
    z-index: 5;
 +
}
 +
 
 +
#twitter ul {
 +
    margin-left: 5px !important;
 +
    padding-left: 5px !important;
 +
    margin-right: 5px !important;
 +
    padding-right: 5px !important;
 +
}
 +
 
 +
#twitter p {
 +
    margin-left: 0px !important;
 +
    padding-left: 0px !important;
 +
    margin-right: 0px !important;
 +
    padding-right: 0px !important;
 +
    text-indent: 0px !important;
 +
    font-size: 12px;
 +
}
 +
 
 +
#twitter ul li {
 +
    font-size: 10px;
 +
}
 +
 
 +
#twitter a {
 +
    color: #888;
 +
}
 +
 
 +
#twitter h2{
 +
    border-bottom:0px;
 +
    margin-top:0px;
 +
    padding-top:0px;
 +
    font-size: 14px;
 +
}
 +
 
 +
table {
 +
    background: none;
 +
}
 +
 
 +
.headerimg {
 +
    background-position: center top;
 +
    background-repeat: no-repeat;
 +
    width:100%;
 +
    height:100%;
 +
    position:fixed;
 +
    text-align: left;
 +
    padding: 0px 0px 0px 0px;
 +
    margin: -14px 0px 0px 0px;
 +
}
 +
 
 +
#preload{
 +
    display:none;
 +
}

Revision as of 23:34, 21 September 2011

body {

   text-align: center;
   margin:0px 0px 0px 0px;
   background: red;
   font-family:"Ubuntu", sans-serif;

} h1, h2, h3, h4, h5{

   color: white;
   font-family:"Ubuntu", sans-serif;
   line-height:25px;
   border-bottom:1px dotted #e3e3e3;
   margin-bottom:5px;
   border-top:0px;
   margin-top:10px;
   padding-top:10px;
   font-weight:normal;

}

h2.noline{

   border-top:0;
   margin-top:0;
   padding-top:0;
   margin-bottom:0;
   line-height:20px;
   padding-top:2px;
   font-size:20px;

}

h3 {

   font-size: 18px;
   border-bottom: none;

}

h4 {

   border-bottom: none;

}

h2.topheader{

   border-top:0;
   padding-top:0;
   margin-top:5px;

}


/* Menu */ ul.sdt_menu{

   margin:0;
   padding:0;
   list-style: none;
   font-family:"Ubuntu", "Trebuchet MS", sans-serif;
   font-size:12px;
   width:852px;

} ul.sdt_menu a{

   text-decoration:none;
   outline:none;

} ul.sdt_menu li{

   float:left;
   width:142px;
   height:85px;
   position:relative;
   cursor:pointer;

} ul.sdt_menu li > a{

   position:absolute;
   top:0px;
   left:0px;
   width:142px;
   height:85px;
   z-index:12;
   background:#222;
   -moz-box-shadow:0px 0px 2px #000 inset;
   -webkit-box-shadow:0px 0px 2px #000 inset;
   box-shadow:0px 0px 2px #000 inset;

} ul.sdt_menu li a img{

   border:none;
   position:absolute;
   width:0px;
   height:0px;
   bottom:0px;
   left:85px;
   z-index:170;
   -moz-box-shadow:0px 0px 4px #000;
   -webkit-box-shadow:0px 0px 4px #000;
   box-shadow:0px 0px 4px #000;
   z-index:16;

} ul.sdt_menu li span.sdt_wrap{

   position:absolute;
   top:25px;
   left:0px;
   width:142px;
   height:60px;
   z-index:15;

} ul.sdt_menu li span.sdt_active{

   position:absolute;
   background:#111;
   top:85px;
   width:142px;
   height:0px;
   left:0px;
   z-index:14;
   -moz-box-shadow:0px 0px 4px #000 inset;
   -webkit-box-shadow:0px 0px 4px #000 inset;
   box-shadow:0px 0px 4px #000 inset;

} ul.sdt_menu li span span.sdt_link, ul.sdt_menu li span span.sdt_descr, ul.sdt_menu li div.sdt_box a{

   text-indent:-3pt;
   margin-left:18px;
   //text-transform:uppercase;
   text-shadow:1px 1px 1px #333;

}

ul.sdt_menu li span span.sdt_link{

   color:#fff;
   font-size:18px;
   float:left;
   clear:both;

} ul.sdt_menu li span span.sdt_descr{

   color:#1C5F1C;
   float:left;
   clear:both;
   width:142px; /*For dumbass IE7*/
   font-size:10px;
   letter-spacing:1px;

} ul.sdt_menu li div.sdt_box{

   display:block;
   position:absolute;
   width:142px;
   overflow: auto;
   top:85px;
   left:0px;
   display:none;
   background:#333;
   z-index: 8;
   padding-top: 15px;

} ul.sdt_menu li div.sdt_box a{

   float:left;
   clear:both;
   line-height:15px;
   color:#0B75AF;

}

ul.sdt_menu li div.sdt_box a:hover{

   color:#fff;

}

/* End of menu stuff */

/* Lightbox */

div.thumb {

   background-color:black;
   border:none;

} div.thumb div{

   background-color:transparent;
   border:none;

}

div.thumb div a{

   border:none;

}

/* End lightbox */

.secheader{

   height:50px;
   color:white;
   padding-left:10px;
   padding-top:15px;
   font-size:2.0em;
   text-align:left;
   overflow:auto;

}

.contwrap{

   text-align:justify;
   background:#f8f8f8;
   color:#333333;
   width:720px;
   padding-left:10px;
   padding-top:5px;
   padding-right:10px;
   padding-bottom:20px;
   margin-top:5px;
   margin-bottom:none;

}

h2 {

   margin:0 0 1em;

}

  1. camfooter {
   clear:both;
   height:0px;
   background:white;

}

  1. camfooter p {
   margin:0;

}

  • html #camfooter {
   height:1px;

} h1.firstHeading {

   display: none;

}

  1. globalWrapper {
   padding:0px 0px 0px 0px;
   margin:0px 0px 0px 0px;
   text-align: center;
   align: center;
   height: 100%;
   width: 100%;
   border: none;
   color: white;
   background: none;

}

  1. content {
   background: none;
   border:none;
   padding:0px 0px 0px 0px;
   margin:0px 0px 0px 0px;
   text-align: center;
   align: center;
   height: 100%;
   width: 100%;

}

  1. bodyContent {
   padding:0px 0px 0px 0px;
   margin:0px 0px 0px 0px;
   height: 100%;
   width: 100%;
   border: none;
   background: none;

}

  1. search-controls {
   overflow:hidden;
   display:none;
   background: none;
   position: absolute;
   top: 170px;
   right: 40px;

}

  1. footer-box {
   background: none;
   border: none;
   width: 965px;
   margin: 0 auto;
   margin-bottom:none;
   padding-left:5px;
   padding-right:5px;
   color: white;

}

  1. footer {
   border: none;
   width: 965px;
   margin: 0;
   padding: 0;
   background: none ;
   color: white;

}

  1. f-list a {
   color: #CCC;
   font-size: 10px;

}

  1. f-list a:hover {
   color: #999;

}

  1. footer ul {
   margin: 0;
   padding: 0;

}

  1. footer ul li {
   margin-top: 0;
   margin-bottom: 0;
   margin-left: 10px;
   margin-right: 10px;
   padding: 0;

}

div.content {

   background: url("Brown-Stanford_Transparent.png") ;
   text-align: left;
   margin: auto;
   margin-top: 5px !important;
   color: white;
   width: 810px !important;
   padding: 20px 20px 20px 20px;

}

  1. twitterWrap {
   float: right;
   height: 170px;
   width: 220px;
   text-align: left;
   padding: 20px 0px 20px 20px;
   background: none;

}

  1. twitter {
   position:relative;
   height: 150px;
   width: 200px;
   text-align: left;
   padding: 10px 10px 10px 10px;
   background-color: #3E3333;
   overflow:auto;
   z-index: 5;

}

  1. twitter ul {
   margin-left: 5px !important;
   padding-left: 5px !important;
   margin-right: 5px !important;
   padding-right: 5px !important;

}

  1. twitter p {
   margin-left: 0px !important;
   padding-left: 0px !important;
   margin-right: 0px !important;
   padding-right: 0px !important;
   text-indent: 0px !important;
   font-size: 12px;

}

  1. twitter ul li {
   font-size: 10px;

}

  1. twitter a {
   color: #888;

}

  1. twitter h2{
   border-bottom:0px;
   margin-top:0px;
   padding-top:0px;
   font-size: 14px;

}

table {

   background: none;

}

.headerimg {

   background-position: center top;
   background-repeat: no-repeat;
   width:100%;
   height:100%;
   position:fixed;
   text-align: left;
   padding: 0px 0px 0px 0px;
   margin: -14px 0px 0px 0px;

}

  1. preload{
   display:none;

}