Template:Demos sifuentes

From 2014.igem.org

(Difference between revisions)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
 +
/*--Formatting to remove and alter wiki css defaults--*/
 +
#contentSub, .firstHeading, #footer-box, #catlinks, #search-controls { display:none;}
 +
#top-section {padding-top: 0px; border: none;}
 +
#globalWrapper, #content { width: 100%; background-color: #fff; border: none; margin: 0; padding: 0; position: relative;}
 +
html, body { height: 100%; background: #fff;}
 +
body {font: 10px normal Verdana, Arial, Helvetica, sans-serif;  color: #333; background: #f0f0f0;}
 +
#newcontainer { /*-- Footer specific edits http://ryanfait.com/resources/footer-stick-to-bottom-of-page/ --*/
 +
width:975px;
 +
margin-left: auto;
 +
margin-right: auto;
 +
position:relative;
 +
min-height: 100%;
 +
height: auto !important;
 +
height: 100%;
 +
border: 0px solid #000;
 +
margin: 0 auto -250px;
 +
color: #333;
 +
}
 +
/*--Footer stuff is here--*/
 +
.newfooter, .pushfooter {height: 235px; clear:both; margin-top: 15px;}
 +
.newfooter {background: #f0f0f0; color: #000;}
 +
#footerheader { width: 100%; background: #666;}
 +
#footerheaderdesc { width: 975px; height: 50px; margin-left:auto; margin-right: auto; padding: 10px 0px 10px 0px;}
 +
#footerheaderdesc img {display: block; position: relative; padding-right: 20px; float:left;}
 +
#footerheaderdesc #igemtitle {display: block; position: relative; padding-right: 20px; padding-top: 10px; float:left; color: #fff; font-size: 1.8em; font-weight: bold; }
 +
#footerheaderdesc #tagline {display: block; position: relative; padding-right: 20px; float:left; color: #fff; font-size: 1em;}
 +
#newfooterbox {width: 975px; margin-right: auto; margin-left: auto; padding: 10px 0px 10px 0px;}
 +
#newfooterbox a, #newfooterbox a:hover, #newfooterbox a:visited {color: #666; text-decoration:none;}
 +
.footertext {width:200px; height: 140px; float: left; border-right: 2px solid #fff; position:relative;}
 +
.footertext ul, #footertext ul li {  list-style: none;}
 +
.footerextra {float: right; position: relative; display: block; text-align: right; margin-top: 60px; color: #999;}
 +
 +
 +
a, a:visited {color: #F37321; text-decoration:none;}
 +
a:hover {color: #006633; text-decoration:none;}
-
/*--Slideshow Begins Here--*/
+
/*--Menu Bar CSS--*/
-
#slideshow {
+
#navbarcontainer { width: 100%; height: 35px; background: #666; margin-top:0px;}
-
display: block;
+
#navbar {width:975px; margin-left: auto; margin-right: auto; position:relative; height: 35px;}
-
vertical-align: middle;
+
#navbarsocial {float:right; padding-top: 4px;}
-
position: relative;
+
#flashylink {display: block; float: left; border: 0px solid #fff; color: #F37321; text-shadow: #000 1px 1px 1px; padding:3px; line-height: 100%; text-align: center; font-weight: bold; font-size: .8em; -webkit-border-radius: 3px;
 +
-moz-border-radius: 3px;
 +
border-radius: 3px; margin-right: 30px;}
 +
#flashylink a:hover {color: #F37321;}
 +
 
 +
/*--Menu Begins Here http://www.sohtanaka.com/web-design/horizontal-sub-nav-with-css-jquery/ --*/
 +
ul#topnav {
 +
margin: 0; padding: 0;
 +
float: left;
 +
/*-- width: 960px;--*/
 +
list-style: none;
 +
position: relative; /*--Set relative positioning on the unordered list itself - not on the list item--*/
 +
font-size: 1em;
 +
background: #666/*--url(https://static.igem.org/mediawiki/igem.org/c/c8/Navbar-3.gif) repeat-x--*/;
 +
z-index: 6;
}
}
-
/*--Main Container--*/
+
ul#topnav li {
-
#main_view {
+
float: left;
-
margin-left:auto;
+
margin: 0; padding: 0;
-
margin-right:auto;
+
height: 35px;
-
position: relative;
+
border-right: 1px solid #ccc; /*--Divider for each parent level links--*/
-
height:250px; width: 975px;
+
}
}
-
.window {
+
ul#topnav li a {
-
height:250px; width: 975px;
+
padding: 10px 15px;
-
overflow: hidden; /*--Hides anything outside of the set width/height--*/
+
-
position: absolute;
+
display: block;
display: block;
-
top:50%;
+
color: #fff;
-
left:50%;
+
font-weight: bold;
-
margin: -140px 0 0 -380px;
+
letter-spacing: 1px;
-
}
+
text-shadow: #333 1px 1px 1px;
-
.image_reel {
+
-
position: absolute;
+
-
top: 0; left: 0;
+
-
}
+
-
.image_reel img {float: left;}
+
-
.paging {
+
-
position: absolute;
+
-
bottom: 10px; right: 50px;
+
-
width: 250px; height:47px;
+
-
z-index: 100; /*--Assures the paging stays on the top layer--*/
+
-
text-align: right;
+
-
line-height: 40px;
+
-
font-weight: bold;
+
-
background: url(paging_bg2.png) no-repeat;
+
-
display: none; /*--Hidden by default, will be later shown with jQuery--*/
+
-
}
+
-
.paging a {
+
-
padding: 5px;
+
text-decoration: none;
text-decoration: none;
-
color: #fff; text-shadow: #333 1px 1px 1px;
 
}
}
-
.pause {
+
ul#topnav li:hover { background: #006633 url(topnav_active.gif) repeat-x; }
 +
ul#topnav li span {
 +
float: left;
 +
padding: 10px 0;
position: absolute;
position: absolute;
-
bottom: 10px; right: 20px;
+
z-index:10;
-
width: 25px; height:47px;
+
left: 0; top:35px;
-
z-index: 200; /*--Assures the paging stays on the top layer--*/
+
display: none; /*--Hide by default--*/
-
text-align: center;
+
width: 975px;
-
line-height: 40px;
+
background: #006633;
-
font-weight: bold;
+
color: #fff;
-
display: block; /*--Hidden by default, will be later shown with jQuery--*/
+
/*--Bottom right rounded corner--*/
 +
-moz-border-radius-bottomright: 10px;
 +
-khtml-border-radius-bottomright: 10px;
 +
-webkit-border-bottom-right-radius: 10px;
 +
/*--Bottom left rounded corner--*/
 +
-moz-border-radius-bottomleft: 10px;
 +
-khtml-border-radius-bottomleft: 10px;
 +
-webkit-border-bottom-left-radius: 10px;
}
}
-
.pause a {
+
ul#topnav li:hover span { display: block; } /*--Show subnav on hover--*/
-
padding: 5px;
+
ul#topnav li span a { display: inline; }
-
text-decoration: none;
+
ul#topnav li span a:hover {text-decoration: underline;}
-
letter-spacing:1px;
+
/*--Menu Ends Here--*/
-
font-weight: thick;
+
 
-
color: #f0f0f0; text-shadow: #333 1px 1px 1px;
+
.htitle {
-
border: 2px solid #ccc;
+
display: block;
-
-moz-border-radius: 3px;
+
padding: 8px;
-
-khtml-border-radius: 3px;
+
font-size: 1.2em;
-
-webkit-border-radius: 3px;
+
-
}
+
-
.paging a.active {
+
font-weight: bold;
font-weight: bold;
-
border: 2px solid #fff;
+
border-bottom: solid 1px #ccc;
-
-moz-border-radius: 3px;
+
margin-bottom: 0px;
-
-khtml-border-radius: 3px;
+
clear:both;
-
-webkit-border-radius: 3px;
+
color: #000;
}
}
-
.paging a:hover {font-weight: bold;}
+
.textboxes {
-
/*--Slideshow Ends Here--*/
+
display: block;
-
 
+
position: relative;
-
 
+
border: 1px solid #f0f0f0;
-
 
+
background: #f0f0f0;
-
 
+
border-bottom: 2px solid #ccc;
-
/*--TagLine Begins Here--*/
+
-
#sponsors { /*--Goes with textboxes class--*/
+
-
margin-left:0px;
+
-
margin-right:0px;
+
-
}
+
-
#sponsorsbox { /*--Goes with textboxes class--*/
+
-
margin: 10px;
+
-webkit-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border-radius: 10px;
-
background: #fff;
+
margin-top: 10px; margin-bottom: 10px;
-
text-align:center;
+
}
}
-
#sponsorsbox img {padding: 10px; }
+
.innertextbox { /*--Goes inside textboxes class--*/
-
#happeningnow {height: 284px; margin-top:15px; margin-bottom:10px; width: 975px; border: 1px solid #000;}
+
-
#happeningnow .widget {
+
-
width: 305px;
+
-
height: 100%;
+
display: block;
display: block;
position: relative;
position: relative;
-
border: 1px solid #f0f0f0;
+
margin: 10px;
-
background: #f0f0f0;
+
padding: 20px;
-
border-bottom: 2px solid #ccc; 
+
-webkit-border-radius: 10px;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
border-radius: 10px;
-
margin-left: auto;  
+
background: #fff;
-
margin-right: auto;}
+
}  
-
 
+
</style>
</style>
</html>
</html>
 +

Revision as of 21:22, 1 December 2014