Template:MIT-style

From 2011.igem.org

(Difference between revisions)
Line 4: Line 4:
#globalwrapper {
#globalwrapper {
-
width:975px;
+
    width:975px;
-
padding-top:20px;
+
    padding:20px 0px;
-
/*border-left:1px solid #8C8C8C;
+
    margin: 0 auto;
-
border-right: 1px solid #8C8C8C;*/
+
    background-color:#ffffff;
-
margin: 0 auto;
+
    height:100%;
-
background-color:#ffffff;
+
-
height:100%;
+
}
}
-
 
+
#col_left{
-
#navigation {
+
    float: left;
-
margin-bottom:20px;
+
    width: 576px;
 +
    padding: 30px 22px;
 +
    margin:0;
}
}
-
 
+
#col_right{
-
#content-wrapper {
+
    float: right;
-
overflow: hidden;
+
    width: 242px;
-
padding:10px;
+
    padding: 30px 28px 30px 15px;
-
border-top: 1px dotted black;
+
    margin:0;
}
}
-
 
+
#welcome{
-
 
+
    padding-bottom: 35px;
-
.twocol.primary {
+
    clear:both;
-
width:72%;
+
-
height:100%;
+
-
float:left;
+
-
display:inline;
+
-
padding:5px;
+
}
}
-
.twocol.secondary {
+
#gold_sponsors{
-
margin-right:-10px;
+
    float: left;
-
width: 26%;
+
    width: 197px;
-
height:100%;
+
    margin-right: 17px;
-
float:right;
+
    display: inline;
-
display:inline;
+
-
border-left: 1px dotted black;
+
}
}
-
 
+
#gold_sponsors h3{
-
.threecol.primary {
+
    color: #FFBE30;
-
width:72%;
+
    text-align:center;
-
border:1px solid red;
+
}
 +
#gold_sponsors ul{
 +
    background-color: #FFF1C4;
}
}
-
 
+
#partners{
-
threecol.primary.primary {
+
    float: left;
-
width:72%;
+
    width: 175px;
-
border:1px solid black;
+
    margin-right: 17px;
-
float:left;
+
    display: inline;
}
}
-
 
+
#partners h3{
-
threecol.primary.secondary {
+
    text-align:center;
-
width:26%;
+
}
-
border:1px solid black;
+
#contributing_departments{
-
float:right;
+
    float: left;
 +
    width: 170px;
 +
    display: inline;
}
}
-
 
+
#contributing_departments h3{
-
threecol.secondary /*secondary nav*/{
+
    text-align:center;
-
width:26%;
+
-
border:1px solid black;
+
-
float:right;
+
-
 
+
}
}
-
 
+
#partners ul, #contributing_departments ul, #gold_sponsors ul{
-
#sponsors {
+
    list-style-type:none;
-
margin-left: auto;
+
    list-style-image:none;
-
margin-right: auto;
+
    margin-left:0px;
-
width: 100%;
+
}
}
-
 
+
#partners li, #contributing_departments li, #gold_sponsors li{
-
#sponsors div {
+
    margin-left: 0px;
-
width:32%;
+
}
-
height: 60px;
+
#partners img, #contributing_departments img, #gold_sponsors img{
-
float:left;
+
    border: 1px solid #ccc;
-
display:inline;
+
}
-
border:1px solid #DEDEDE;
+
h3{
-
margin: 3px;
+
    padding: 30px 0 20px 0;
 +
    font-family: Georgia, "Times New Roman", Times, serif;
 +
    font-size: 18px;
 +
    font-weight: normal;
}
}
-
#twitter {
+
#center{
-
background-position:center;
+
    float:left;
-
width:200px;
+
    padding-bottom: 35px;
-
margin: 0 auto;
+
    margin-bottom:10px;
 +
    border-top: 1px dotted #999;
 +
    border-bottom: 1px dotted #999;
 +
    clear:both;
}
}
-
#twitter .top {
+
#contacts h2{
-
background-image:url('https://static.igem.org/mediawiki/2011/6/65/MIT-twitter-top.jpg');
+
    margin-top: 20px;
-
background-repeat:no-repeat;
+
-
max-height:20px;
+
-
text-align:center;
+
-
padding-top:5px;
+
-
}
+
-
#twitter .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 .bottom {
+
-
background-image:url('https://static.igem.org/mediawiki/2011/4/4b/MIT-twitter-bot.jpg');
+
-
background-repeat:no-repeat;
+
-
height:100px;
+
}
}
 +
 +
/*Twitter*/
#twitter_update_list {
#twitter_update_list {
-
/* the main container */
+
    /* the main container */
-
list-style:none;
+
    list-style:none;
-
margin:0;
+
    background-color:#262b2e;
-
margin-top:-15px;
+
    background-color:#ccc;
-
width: 160px;
+
    margin-left:0px;
-
padding-left:0px;
+
}
}
   
   
#twitter_update_list li {
#twitter_update_list li {
-
/* wraps a single list */
+
    /* wraps a single list */
-
font-family: 'lucida sans unicode';
+
    font-family: 'lucida sans unicode';
-
font-size:11px;
+
    font-size:11px;
-
padding: 5px 0px;
+
    padding: 10px;
-
border-bottom: 1px dotted black;
+
    border-bottom: 1px dotted #545454;
}
}
   
   
#twitter_update_list li span {
#twitter_update_list li span {
-
/* wraps the tweet */
+
    /* wraps the tweet */
-
display: block;
+
    display: block;
}
}
   
   
#twitter_update_list li a {
#twitter_update_list li a {
-
/* wraps the link to the tweet */
+
    /* wraps the link to the tweet */
-
/* by default it have 85% font-size therefore you might want to change it like below */
+
    /* by default it have 85% font-size therefore you might want to change it like below */
-
font-size:100% !important;
+
    font-size:100% !important;
-
font-size:11px !important;
+
    font-size:11px !important;
}
}
-
 
+
/* end twitter */
a {
a {
-
color: #991133;
+
    color: #991133;
-
text-decoration: none;
+
    text-decoration: none;
}
}
a:hover {
a:hover {
-
text-decoration: underline;
+
    text-decoration: underline;
}
}
-
 
-
#contentboxwrapper {
 
-
border: 1px solid green;
 
-
margin: 0 auto;
 
-
width:80%;
 
-
}
 
-
 
-
div .contentbox {
 
-
border: 1px dashed #999999;
 
-
float:left;
 
-
height:150px;
 
-
width:190px;
 
-
padding: 5px;
 
-
margin:10px;
 
-
text-align: justify;
 
-
}
 
-
 
.bio {
.bio {
-
clear:both;
+
    clear:both;
}
}
-
 
.bio img {
.bio img {
-
float:left;
+
    float:left;
}
}
-
 
#col1 img {
#col1 img {
-
width:200px;
+
    width:200px;
}
}
</style>
</style>
</head>
</head>
</html>
</html>

Revision as of 18:15, 14 August 2011