Template:MIT-style2
From 2011.igem.org
(Created page with "<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:...") |
|||
Line 1: | Line 1: | ||
- | + | /* | |
- | + | ||
- | + | * Title: Business Elegance v.1.0 | |
+ | |||
+ | * Site: http://www.chamadigital.com | ||
+ | |||
+ | * Author: Anselmo Ribeiro | ||
+ | |||
+ | * Last Modified: 28_02_2008 | ||
+ | |||
+ | */ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /*global reset */ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | html *{ | ||
+ | |||
+ | padding: 0; | ||
+ | |||
+ | margin: 0; | ||
+ | |||
+ | } | ||
+ | |||
+ | a img, :link img, :visited img { | ||
+ | |||
+ | border: 0; | ||
+ | |||
+ | } | ||
+ | |||
+ | table { | ||
+ | |||
+ | border-collapse: collapse; | ||
+ | |||
+ | border-spacing: 0; | ||
+ | |||
+ | } | ||
+ | |||
+ | ol, ul { | ||
+ | |||
+ | list-style: none; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | p{ | ||
+ | |||
+ | line-height: 18px; | ||
+ | |||
+ | } | ||
+ | |||
+ | /* global reset */ | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* base html */ | ||
+ | |||
+ | |||
+ | |||
+ | body { | ||
+ | |||
+ | background: #343a3d url(images/bgd.gif); | ||
+ | |||
+ | color: #000; | ||
+ | |||
+ | margin: 0; | ||
+ | |||
+ | padding: 0; | ||
+ | |||
+ | font-family: Arial, Helvetica, sans-serif; | ||
+ | |||
+ | font-size: 12px; | ||
+ | |||
+ | text-align: center;/*this is in place to center in older browsers*/ | ||
+ | |||
+ | } | ||
+ | |||
+ | a { | ||
+ | |||
+ | text-decoration: none; | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | } | ||
+ | |||
+ | a:link {/* unvisited link */ | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | a:hover { /* mouse over link */ | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | text-decoration: underline; | ||
+ | |||
+ | } | ||
+ | |||
+ | a:active {/* selected link */ | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | /* end base html */ | ||
+ | |||
+ | /* layout */ | ||
+ | |||
+ | #wrapper{ | ||
+ | |||
+ | width: 900px; | ||
+ | |||
+ | |||
- | |||
- | |||
- | |||
- | |||
- | |||
margin: 0 auto; | margin: 0 auto; | ||
- | + | ||
- | + | text-align: left; | |
+ | |||
+ | background: #2d3235; | ||
+ | |||
} | } | ||
+ | #header{ | ||
+ | |||
+ | width: 856px; | ||
+ | |||
+ | padding: 20px 22px 25px 22px; | ||
+ | |||
+ | height: 390px; | ||
+ | |||
+ | background: #262b2e; | ||
+ | background: #fff; | ||
+ | |||
+ | position: relative; | ||
- | |||
- | |||
} | } | ||
- | # | + | #header h1{ |
- | + | ||
- | + | position: absolute; | |
- | + | ||
+ | top:40px; | ||
+ | |||
+ | left: 42px; | ||
+ | |||
+ | width: 350px; | ||
+ | |||
+ | height: 23px; | ||
+ | |||
+ | font-family:'Century Gothic', Arial, Helvetica, sans-serif; | ||
+ | |||
+ | font-size:30px; | ||
+ | |||
+ | color:#fff; | ||
+ | |||
+ | font-weight: normal; | ||
+ | |||
} | } | ||
+ | #header h1 a{ | ||
+ | |||
+ | text-decoration: none; | ||
+ | |||
+ | color:#000; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | + | ||
- | + | ||
- | width: | + | #content{ |
- | + | ||
- | + | float: left; | |
- | + | ||
- | + | width: 900px; | |
+ | |||
+ | /*background: #2d3235 url(images/main_bgd.gif) repeat-y top left;*/ | ||
+ | background: #fff; | ||
+ | |||
} | } | ||
- | + | #col_left{ | |
- | width: | + | |
- | + | float: left; | |
+ | |||
+ | width: 586px; | ||
+ | |||
+ | padding: 30px 22px; | ||
+ | |||
} | } | ||
- | + | #col_right{ | |
- | width: | + | |
- | border:1px solid | + | float: right; |
+ | |||
+ | width: 212px; | ||
+ | |||
+ | padding: 30px 28px 30px 15px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #footer{ | ||
+ | |||
+ | width: 900px; | ||
+ | |||
+ | margin: 10px auto 20px auto; | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | #footer p{ | ||
+ | |||
+ | text-align: center; | ||
+ | |||
+ | } | ||
+ | |||
+ | #welcome{ | ||
+ | |||
+ | padding-bottom: 35px; | ||
+ | |||
+ | border-bottom: 1px solid #343a3d; | ||
+ | |||
+ | } | ||
+ | |||
+ | /*navigation*/ | ||
+ | |||
+ | #navigation{ | ||
+ | |||
+ | |||
+ | |||
+ | position: absolute; | ||
+ | |||
+ | top:25px; | ||
+ | |||
+ | |||
+ | |||
+ | right: 22px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #navigation li{ | ||
+ | |||
+ | |||
+ | |||
+ | float: left; | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | #navigation a { | ||
+ | |||
+ | display: inline-block; | ||
+ | |||
+ | font-size: 11px; | ||
+ | |||
+ | text-decoration:none; | ||
+ | |||
+ | background-color:#000; | ||
+ | |||
+ | border-bottom: 3px solid #fff; | ||
+ | |||
+ | color:#fff; | ||
+ | |||
+ | margin-right: 1px; | ||
+ | |||
+ | font-weight: normal; | ||
+ | |||
+ | } | ||
+ | |||
+ | #navigation a:hover{ | ||
+ | |||
+ | border-bottom: 3px solid #B3002C; | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | } | ||
+ | |||
+ | #navigation li.selected a{ | ||
+ | |||
+ | border-bottom: 3px solid #B3002C; | ||
+ | |||
+ | color:#B3002C; | ||
+ | |||
+ | } | ||
+ | |||
+ | #imagem{ | ||
+ | |||
+ | position: absolute; | ||
+ | |||
+ | top:142px; | ||
+ | |||
+ | } | ||
+ | |||
+ | #search{ | ||
+ | |||
+ | position: absolute; | ||
+ | |||
+ | top: 105px; | ||
+ | |||
+ | left: 22px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | h2#slogan{ | ||
+ | |||
+ | position: absolute; | ||
+ | |||
+ | top: 100px; | ||
+ | |||
+ | right: 22px; | ||
+ | |||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | |||
+ | font-size:20px; | ||
+ | |||
+ | font-weight: normal; | ||
+ | |||
+ | } | ||
+ | |||
+ | h2#slogan span{ | ||
+ | |||
+ | font-style: italic; | ||
+ | |||
+ | color: #B00000; | ||
+ | |||
+ | } | ||
+ | |||
+ | h2{ | ||
+ | |||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | |||
+ | font-size: 24px; | ||
+ | |||
+ | font-weight: normal; | ||
+ | |||
+ | margin-bottom: 20px; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | #gold_sponsors{ | ||
+ | |||
+ | float: left; | ||
+ | |||
+ | width: 194px; | ||
+ | |||
+ | margin-right: 17px;/*27px*/ | ||
+ | |||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #gold_sponsors h3{ | ||
+ | color: #FFBE30; | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | #partners{ | ||
+ | |||
+ | float: left; | ||
+ | |||
+ | width: 175px; | ||
+ | |||
+ | margin-right: 17px;/*42px*/ | ||
+ | |||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #partners h3{ | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | #contributing_departments{ | ||
+ | |||
+ | float: left; | ||
+ | |||
+ | width: 170px; | ||
+ | |||
+ | display: inline; | ||
+ | |||
+ | } | ||
+ | #contributing_departments h3{ | ||
+ | text-align:center; | ||
+ | } | ||
+ | |||
+ | #partners ul li{ | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | #contributing_departments ul li{ | ||
+ | |||
+ | |||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | h3{ | ||
+ | |||
+ | padding: 30px 0 20px 0; | ||
+ | |||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | |||
+ | font-size: 18px; | ||
+ | |||
+ | font-weight: normal; | ||
+ | |||
+ | } | ||
+ | |||
+ | #center{ | ||
+ | |||
float:left; | float:left; | ||
+ | |||
+ | padding-bottom: 35px; | ||
+ | |||
+ | border-bottom: 1px solid #343a3d; | ||
+ | |||
} | } | ||
- | + | #quote{ | |
- | + | ||
- | + | float:left; | |
- | + | ||
+ | padding: 35px 0; | ||
+ | |||
+ | font-family: Georgia, "Times New Roman", Times, serif; | ||
+ | |||
+ | font-size: 17px; | ||
+ | |||
+ | font-style: italic; | ||
+ | |||
+ | letter-spacing: 2px; | ||
+ | |||
+ | color: #8b8b8c; | ||
+ | |||
+ | |||
+ | |||
} | } | ||
- | + | #quote p{ | |
- | + | ||
- | + | line-height: 22px; | |
- | + | ||
} | } | ||
- | # | + | #quote p.testimonial{ |
- | + | ||
- | + | font-size: 12px; | |
- | + | ||
+ | font-family: Arial, Helvetica, sans-serif; | ||
+ | |||
+ | font-style: normal; | ||
+ | |||
+ | color: #fff; | ||
+ | |||
+ | |||
+ | |||
} | } | ||
- | # | + | #quote .quote{ |
- | + | ||
- | + | font-size: 26px; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #news{ |
- | + | ||
- | + | padding-bottom: 10px; | |
- | + | ||
+ | border-bottom: 1px solid #343a3d; | ||
+ | |||
} | } | ||
- | # | + | |
- | + | #news li{ | |
- | + | ||
- | + | margin-bottom: 20px; | |
- | + | ||
- | + | } | |
+ | |||
+ | #news li p.date{ | ||
+ | |||
+ | color: #fff; | ||
+ | |||
+ | font-weight: bold; | ||
+ | |||
} | } | ||
- | # | + | |
- | + | #news li p.archive{ | |
- | + | ||
- | + | padding-left: 25px; | |
- | + | ||
- | + | background: url(images/folder.jpg) no-repeat 0 50%;; | |
- | + | ||
} | } | ||
- | # | + | |
- | + | #contacts h2{ | |
- | + | ||
- | + | margin-top: 20px; | |
+ | |||
} | } | ||
+ | |||
+ | .green{ | ||
+ | |||
+ | color: #95ca05; | ||
+ | |||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | /*Twitter*/ | ||
+ | |||
+ | |||
+ | |||
+ | |||
#twitter_update_list { | #twitter_update_list { | ||
+ | |||
/* the main container */ | /* the main container */ | ||
+ | |||
list-style:none; | list-style:none; | ||
- | + | ||
- | + | background-color:#262b2e; | |
- | + | background-color:#ccc; | |
- | + | ||
} | } | ||
+ | |||
+ | |||
#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: | + | |
- | border-bottom: 1px dotted | + | padding: 10px; |
+ | |||
+ | 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; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
- | |||
- | |||
- |
Revision as of 05:53, 14 August 2011
/*
* Title: Business Elegance v.1.0
* Site: http://www.chamadigital.com
* Author: Anselmo Ribeiro
* Last Modified: 28_02_2008
- /
/*global reset */
html *{
padding: 0;
margin: 0;
}
a img, :link img, :visited img {
border: 0;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
ol, ul {
list-style: none;
}
p{
line-height: 18px;
}
/* global reset */
/* base html */
body {
background: #343a3d url(images/bgd.gif);
color: #000;
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: center;/*this is in place to center in older browsers*/
}
a {
text-decoration: none;
color:#B3002C;
}
a:link {/* unvisited link */
color:#B3002C;
}
a:hover { /* mouse over link */
color:#B3002C;
text-decoration: underline;
}
a:active {/* selected link */
color:#B3002C;
}
/* end base html */
/* layout */
- wrapper{
width: 900px;
margin: 0 auto;
text-align: left;
background: #2d3235;
}
- header{
width: 856px;
padding: 20px 22px 25px 22px;
height: 390px;
background: #262b2e; background: #fff;
position: relative;
}
- header h1{
position: absolute;
top:40px;
left: 42px;
width: 350px;
height: 23px;
font-family:'Century Gothic', Arial, Helvetica, sans-serif;
font-size:30px;
color:#fff;
font-weight: normal;
}
- header h1 a{
text-decoration: none;
color:#000;
}
- content{
float: left;
width: 900px;
/*background: #2d3235 url(images/main_bgd.gif) repeat-y top left;*/ background: #fff;
}
- col_left{
float: left;
width: 586px;
padding: 30px 22px;
}
- col_right{
float: right;
width: 212px;
padding: 30px 28px 30px 15px;
}
- footer{
width: 900px;
margin: 10px auto 20px auto;
}
- footer p{
text-align: center;
}
- welcome{
padding-bottom: 35px;
border-bottom: 1px solid #343a3d;
}
/*navigation*/
- navigation{
position: absolute;
top:25px;
right: 22px;
}
- navigation li{
float: left;
}
- navigation a {
display: inline-block;
font-size: 11px;
text-decoration:none;
background-color:#000;
border-bottom: 3px solid #fff;
color:#fff;
margin-right: 1px;
font-weight: normal;
}
- navigation a:hover{
border-bottom: 3px solid #B3002C;
color:#B3002C;
}
- navigation li.selected a{
border-bottom: 3px solid #B3002C;
color:#B3002C;
}
- imagem{
position: absolute;
top:142px;
}
- search{
position: absolute;
top: 105px;
left: 22px;
}
h2#slogan{
position: absolute;
top: 100px;
right: 22px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:20px;
font-weight: normal;
}
h2#slogan span{
font-style: italic;
color: #B00000;
}
h2{
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 24px;
font-weight: normal;
margin-bottom: 20px;
}
- gold_sponsors{
float: left;
width: 194px;
margin-right: 17px;/*27px*/
display: inline;
}
- gold_sponsors h3{
color: #FFBE30; text-align:center; }
- partners{
float: left;
width: 175px;
margin-right: 17px;/*42px*/
display: inline;
}
- partners h3{
text-align:center; }
- contributing_departments{
float: left;
width: 170px;
display: inline;
}
- contributing_departments h3{
text-align:center; }
- partners ul li{
}
- contributing_departments ul li{
}
h3{
padding: 30px 0 20px 0;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 18px;
font-weight: normal;
}
- center{
float:left;
padding-bottom: 35px;
border-bottom: 1px solid #343a3d;
}
- quote{
float:left;
padding: 35px 0;
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 17px;
font-style: italic;
letter-spacing: 2px;
color: #8b8b8c;
}
- quote p{
line-height: 22px;
}
- quote p.testimonial{
font-size: 12px;
font-family: Arial, Helvetica, sans-serif;
font-style: normal;
color: #fff;
}
- quote .quote{
font-size: 26px;
}
- news{
padding-bottom: 10px;
border-bottom: 1px solid #343a3d;
}
- news li{
margin-bottom: 20px;
}
- news li p.date{
color: #fff;
font-weight: bold;
}
- news li p.archive{
padding-left: 25px;
background: url(images/folder.jpg) no-repeat 0 50%;;
}
- contacts h2{
margin-top: 20px;
}
.green{
color: #95ca05;
}
/*Twitter*/
- twitter_update_list {
/* the main container */
list-style:none;
background-color:#262b2e; background-color:#ccc;
}
- twitter_update_list li {
/* wraps a single list */
font-family: 'lucida sans unicode';
font-size:11px;
padding: 10px;
border-bottom: 1px dotted #545454;
}
- 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;
}