Team:MIT/styles

From 2011.igem.org

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

Latest revision as of 17:12, 12 August 2011