Team:MIT/styles

From 2011.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 1: Line 1:
-
ul {list-style: none}
+
<html lang="en">
 +
<head>
 +
<style type="text/css">
 +
#globalwrapper {
 +
width:975px;
 +
padding-top:20px;
 +
/*border-left:1px solid #8C8C8C;
 +
border-right: 1px solid #8C8C8C;*/
 +
margin: 0 auto;
 +
background-color:#ffffff;
 +
height:100%;
 +
}
-
.bio img {max-width:300px; float:left; margin-right:10px;}
 
-
.bio {clear:both;}
 
 +
#navigation {
 +
margin-bottom:20px;
 +
}
-
.secheader{
+
#content-wrapper {
-
    height:50px;
+
overflow: hidden;
-
    color:white;
+
padding:10px;
-
    padding-left:10px;
+
border-top: 1px dotted black;
-
    padding-top:15px;
+
-
    font-size:2.0em;
+
-
    text-align:left;
+
-
    overflow:auto;
+
}
}
-
.contwrap{
+
 
-
    text-align:justify;
+
.twocol.primary {
-
    background:#f8f8f8;
+
width:72%;
-
    color:#333333;
+
height:100%;
-
    width:720px;
+
float:left;
-
    padding-left:10px;
+
display:inline;
-
    padding-top:5px;
+
padding:5px;
-
    padding-right:10px;
+
-
    padding-bottom:20px;
+
-
    margin-top:5px;
+
-
    margin-bottom:none;
+
}
}
-
h2 {
+
.twocol.secondary {
-
    margin:0 0 1em;
+
margin-right:-10px;
 +
width: 26%;
 +
height:100%;
 +
float:right;
 +
display:inline;
 +
border-left: 1px dotted black;
}
}
-
#camfooter {
+
.threecol.primary {
-
    clear:both;
+
width:72%;
-
    height:0px;
+
border:1px solid red;
-
    background:white;
+
}
}
-
#camfooter p {
+
 
-
    margin:0;
+
threecol.primary.primary {
 +
width:72%;
 +
border:1px solid black;
 +
float:left;
}
}
-
* html #camfooter {
+
 
-
    height:1px;
+
threecol.primary.secondary {
-
}
+
width:26%;
-
h1.firstHeading {
+
border:1px solid black;
-
    display: none;
+
float:right;
}
}
-
#globalWrapper {
+
threecol.secondary /*secondary nav*/{
-
    padding:0px 0px 0px 0px;
+
width:26%;
-
    margin:0px 0px 0px 0px;
+
border:1px solid black;
-
    text-align: center;
+
float:right;
-
    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 {
+
#sponsors {
-
    padding:0px 0px 0px 0px;
+
margin-left: auto;
-
    margin:0px 0px 0px 0px;
+
margin-right: auto;
-
    height: 100%;
+
width: 100%;
-
    width: 100%;
+
-
    border: none;
+
-
    background: none;
+
}
}
-
#search-controls {
+
#sponsors div {
-
    overflow:hidden;
+
width:32%;
-
    display:none;
+
height: 60px;
-
    background: none;
+
float:left;
-
    position: absolute;
+
display:inline;
-
    top: 170px;
+
border:1px solid #DEDEDE;
-
    right: 40px;
+
margin: 3px;
-
}         
+
-
#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 {
+
#twitter {
-
    color: #CCC;
+
background-position:center;
-
    font-size: 10px;
+
width:200px;
 +
margin: 0 auto;
}
}
-
#f-list a:hover {
+
#twitter div.top {
-
    color: #999;
+
background-image:url('https://static.igem.org/mediawiki/2011/6/65/MIT-twitter-top.jpg');
 +
background-repeat:no-repeat;
 +
max-height:20px;
 +
text-align:center;
 +
padding-top:5px;
}
}
-
#footer ul {
+
#twitter div.middle {
-
    margin: 0;
+
background-image:url('https://static.igem.org/mediawiki/2011/c/c8/MIT-twitter-middle.jpg');
-
    padding: 0;
+
background-repeat:repeat-y;
 +
padding-left:20px;
 +
padding-top:10px;
 +
height:100%;
 +
background-color:black;
}
}
-
#footer ul li {
+
#twitter div.bottom {
-
    margin-top: 0;
+
background-image:url('https://static.igem.org/mediawiki/2011/4/4b/MIT-twitter-bot.jpg');
-
    margin-bottom: 0;
+
background-repeat:no-repeat;
-
    margin-left: 10px;
+
height:100px;
-
    margin-right: 10px;
+
-
    padding: 0;
+
}
}
-
div.content {
+
#twitter_update_list {
-
    background: url("https://static.igem.org/mediawiki/2011/6/6d/Brown-Stanford_Transparent.png") ;
+
/* the main container */
-
    text-align: left;
+
list-style:none;
-
    margin: auto;
+
margin:0;
-
    color: white;
+
margin-top:-15px;
-
    width: 965px;
+
width: 160px;
-
    padding: 20px 20px 20px 20px;
+
padding-left:0px;
}
}
-
 
+
-
 
+
#twitter_update_list li {
-
table {
+
/* wraps a single list */
-
    background: none;
+
font-family: 'lucida sans unicode';
 +
font-size:11px;
 +
padding: 5px 0px;
 +
border-bottom: 1px dotted black;
}
}
-
 
+
-
.headerimg {
+
#twitter_update_list li span {
-
    background-position: center top;
+
/* wraps the tweet */
-
    background-repeat: no-repeat;
+
display: block;
-
    width:100%;
+
-
    height:100%;
+
-
    position:fixed;
+
-
    text-align: left;
+
-
    padding: 0px 0px 0px 0px;
+
-
    margin: -14px 0px 0px 0px;
+
}
}
-
 
+
-
#preload{
+
#twitter_update_list li a {
-
    display:none;
+
/* wraps the link to the tweet */
 +
/* by default it have 85% font-size therefore you might want to change it like below */
 +
font-size:100% !important;
 +
font-size:11px !important;
}
}
-
div#header {
+
a {
-
    width: 850px;
+
color: #991133;
-
    text-align: left;
+
text-decoration: none;
-
    margin-left: auto;
+
-
    margin-right: auto;
+
-
+
-
 
+
-
#p-logo {
+
-
    height:0px;
+
-
    overflow:hidden;
+
-
    border:none;
+
}
}
-
#top-section {
+
a:hover {
-
    height: 20px;
+
text-decoration: underline;
-
    margin-left: auto;
+
-
    margin-right: auto;
+
-
    margin-bottom: 0px !important;
+
-
    margin-top: -14px;
+
-
    padding:0px 0px 0px 0px;;
+
-
    border: none;
+
-
    width: 100%;
+
-
    background: none;
+
-
    color: black;
+
-
    position:absolute;
+
}
}
-
#menubar {
+
</style>
-
    position: absolute;
+
</head>
-
    background: #002B60;
+
</html>
-
    color: black;
+
-
}
+
-
 
+
-
.left-menu, .right-menu{
+
-
    position: absolute;
+
-
    background: none;
+
-
    color: black;
+
-
}
+
-
 
+
-
.left-menu ul li, .right-menu ul li a{
+
-
    background: none;
+
-
    color: black;
+
-
}
+
-
 
+
-
#contentSub {
+
-
    background: none;
+
-
}
+

Latest revision as of 17:12, 12 August 2011