Team:Dundee/common.css
From 2011.igem.org
(Created page with "h1 { color: red; }") |
Rachmontague (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | h1 { | + | * { |
- | + | margin: 0; | |
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | body { | ||
+ | background: #fff; | ||
+ | font-size: 62.5%; | ||
+ | font-family:'Droid Sans', arial, sans-serif; | ||
+ | color: #44444; | ||
+ | } | ||
+ | |||
+ | #header { | ||
+ | width: 100%; | ||
+ | height: 190px; | ||
+ | align: center; | ||
+ | background: #6f4048; | ||
+ | background-image:url(../images/igemHeader.jpg) | ||
+ | } | ||
+ | |||
+ | /* Nav bar */ | ||
+ | #nav { | ||
+ | width: 1000px; | ||
+ | margin: 0 auto; | ||
+ | font-family: 'Droid Sans', arial, serif; | ||
+ | font-size: 1.6em; | ||
+ | } | ||
+ | |||
+ | #nav ul li { | ||
+ | float: left; | ||
+ | list-style-type: none; | ||
+ | min-width: 100px; | ||
+ | height: 60px; | ||
+ | } | ||
+ | |||
+ | #nav li a { | ||
+ | color: grey; | ||
+ | text-decoration: none; | ||
+ | display: block; | ||
+ | padding: 30px 30px; | ||
+ | } | ||
+ | |||
+ | #nav li a:hover { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #nav .current { | ||
+ | height: 56px; | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | #nav .current a { | ||
+ | color: white; | ||
+ | } | ||
+ | |||
+ | /* Title */ | ||
+ | #title { | ||
+ | width: 900px; | ||
+ | float:left; | ||
+ | margin: 30px; | ||
+ | margin-top: 20px; | ||
+ | color: #895a6e; | ||
+ | padding-bottom: 10px; | ||
+ | border-bottom: 2px solid; | ||
+ | border-bottom-color: #895a6e; | ||
+ | |||
+ | } | ||
+ | |||
+ | #title h1 { | ||
+ | font-size: 3.8em; | ||
+ | color: #4a3242; | ||
+ | } | ||
+ | |||
+ | #title h2 { | ||
+ | font-size: 1.6em; | ||
+ | color: #895a6e; | ||
+ | } | ||
+ | |||
+ | #title h3 { | ||
+ | font-size: 1.2em; | ||
+ | margin-top: 5px; | ||
+ | } | ||
+ | |||
+ | #title a { | ||
+ | text-decoration: none; | ||
+ | color: white; | ||
+ | padding: 0; | ||
+ | } | ||
+ | |||
+ | #title a:hover { | ||
+ | color: black; | ||
+ | } | ||
+ | |||
+ | #title a img { | ||
+ | width: 32px; | ||
+ | height: 32px; | ||
+ | } | ||
+ | |||
+ | #title a:first-of-type { | ||
+ | margin-left: 5px; | ||
+ | } | ||
+ | |||
+ | /* Project */ | ||
+ | #project { | ||
+ | width: 900px; | ||
+ | height: 300px; | ||
+ | float: left; | ||
+ | margin: 30px; | ||
+ | margin-top: 5px; | ||
+ | background: white; | ||
+ | color: black; | ||
+ | -moz-border-radius-bottomleft: 20px 20px; | ||
+ | -moz-border-radius-topright: 20px 20px; | ||
+ | } | ||
+ | |||
+ | #projectLeft { | ||
+ | float: left; | ||
+ | width: 470px; | ||
+ | height: 100px; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | |||
+ | #project h1 { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 10px; | ||
+ | font-size: 2.2em; | ||
+ | color:#896478; | ||
+ | } | ||
+ | |||
+ | #project h2 { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 0px; | ||
+ | font-size: 1.5em; | ||
+ | color:#896478; | ||
+ | } | ||
+ | |||
+ | #project p { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 5px; | ||
+ | font-size: 1.4em; | ||
+ | color:#4a3242; | ||
+ | } | ||
+ | |||
+ | #project ol { | ||
+ | margin-left: 50px; | ||
+ | margin-top: 5px; | ||
+ | font-size: 1.2em; | ||
+ | color:#4a3242; | ||
+ | } | ||
+ | |||
+ | #projectLeft p { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 5px; | ||
+ | font-size: 1.4em; | ||
+ | color:#4a3242; | ||
+ | } | ||
+ | |||
+ | #projectLeft ol { | ||
+ | margin-left: 50px; | ||
+ | margin-top: 5px; | ||
+ | font-size: 1.2em; | ||
+ | color:#4a3242; | ||
+ | } | ||
+ | |||
+ | #projectRight { | ||
+ | float: left; | ||
+ | width: 400px; | ||
+ | height: 100px; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | |||
+ | #projectRight img { | ||
+ | width: 380px; | ||
+ | height: 250px; | ||
+ | margin-top: 20px; | ||
+ | margin-left: 25px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #rightSidebar { | ||
+ | float:right; | ||
+ | width: 200px; | ||
+ | margin-right:30px; | ||
+ | margin-top:120px; | ||
+ | } | ||
+ | |||
+ | #rightSidebar h1 { | ||
+ | font-size:1.7em; | ||
+ | color:#4a3242; | ||
+ | margin-top:5px; | ||
+ | margin-bottom:10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #rightSidebar ul li { | ||
+ | margin-left:20px; | ||
+ | margin-top:5px; | ||
+ | margin-bottom:10px; | ||
+ | color: #897896; | ||
+ | font-size:1.4em; | ||
+ | |||
+ | } | ||
+ | |||
+ | #rightSidebar li a { | ||
+ | color: #897896; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | #rightSidebar a:hover { | ||
+ | color: #4a3242; | ||
+ | } | ||
+ | |||
+ | #team { | ||
+ | width: 960px; | ||
+ | height: 250px; | ||
+ | float: left; | ||
+ | margin: 30px; | ||
+ | margin-top: 5px; | ||
+ | background: white; | ||
+ | color: black; | ||
+ | -moz-border-radius-bottomleft: 20px 20px; | ||
+ | -moz-border-radius-topright: 20px 20px; | ||
+ | } | ||
+ | |||
+ | #teamLeft { | ||
+ | float: left; | ||
+ | width: 600px; | ||
+ | height: 100px; | ||
+ | margin-right: 10px; | ||
+ | } | ||
+ | |||
+ | #teamRight { | ||
+ | float: left; | ||
+ | width: 300px; | ||
+ | height: 100px; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | |||
+ | #teamRight img { | ||
+ | width: 200px; | ||
+ | height: 200px; | ||
+ | margin-top: 5px; | ||
+ | margin-left: 25px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #team h1 { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 10px; | ||
+ | font-size: 2.2em; | ||
+ | color:#896478; | ||
+ | } | ||
+ | |||
+ | #team h2 { | ||
+ | font-size: 1.6em; | ||
+ | color: #895a6e; | ||
+ | margin-left: 10px; | ||
+ | } | ||
+ | |||
+ | |||
+ | #teamLeft p { | ||
+ | margin-left: 10px; | ||
+ | margin-top: 5px; | ||
+ | font-size: 1.2em; | ||
+ | color:#4a3242; | ||
} | } |
Latest revision as of 21:05, 24 May 2011
- {
margin: 0; padding: 0; }
body { background: #fff; font-size: 62.5%; font-family:'Droid Sans', arial, sans-serif; color: #44444; }
- header {
width: 100%; height: 190px; align: center; background: #6f4048; background-image:url(../images/igemHeader.jpg) }
/* Nav bar */
- nav {
width: 1000px; margin: 0 auto; font-family: 'Droid Sans', arial, serif; font-size: 1.6em; }
- nav ul li {
float: left; list-style-type: none; min-width: 100px; height: 60px; }
- nav li a {
color: grey; text-decoration: none; display: block; padding: 30px 30px; }
- nav li a:hover {
color: white; }
- nav .current {
height: 56px; color: white; }
- nav .current a {
color: white; }
/* Title */
- title {
width: 900px; float:left; margin: 30px; margin-top: 20px; color: #895a6e; padding-bottom: 10px; border-bottom: 2px solid; border-bottom-color: #895a6e;
}
- title h1 {
font-size: 3.8em; color: #4a3242; }
- title h2 {
font-size: 1.6em; color: #895a6e; }
- title h3 {
font-size: 1.2em; margin-top: 5px; }
- title a {
text-decoration: none; color: white; padding: 0; }
- title a:hover {
color: black; }
- title a img {
width: 32px; height: 32px; }
- title a:first-of-type {
margin-left: 5px; }
/* Project */
- project {
width: 900px; height: 300px; float: left; margin: 30px; margin-top: 5px; background: white; color: black; -moz-border-radius-bottomleft: 20px 20px; -moz-border-radius-topright: 20px 20px; }
- projectLeft {
float: left; width: 470px; height: 100px; margin-right: 10px; }
- project h1 {
margin-left: 10px; margin-top: 10px; font-size: 2.2em; color:#896478; }
- project h2 {
margin-left: 10px; margin-top: 0px; font-size: 1.5em; color:#896478; }
- project p {
margin-left: 10px; margin-top: 5px; font-size: 1.4em; color:#4a3242; }
- project ol {
margin-left: 50px; margin-top: 5px; font-size: 1.2em; color:#4a3242; }
- projectLeft p {
margin-left: 10px; margin-top: 5px; font-size: 1.4em; color:#4a3242; }
- projectLeft ol {
margin-left: 50px; margin-top: 5px; font-size: 1.2em; color:#4a3242; }
- projectRight {
float: left; width: 400px; height: 100px; margin-left: 10px; }
- projectRight img {
width: 380px; height: 250px; margin-top: 20px; margin-left: 25px; }
- rightSidebar {
float:right; width: 200px; margin-right:30px; margin-top:120px; }
- rightSidebar h1 {
font-size:1.7em; color:#4a3242; margin-top:5px; margin-bottom:10px; }
- rightSidebar ul li {
margin-left:20px; margin-top:5px; margin-bottom:10px; color: #897896; font-size:1.4em;
}
- rightSidebar li a {
color: #897896; text-decoration: none; }
- rightSidebar a:hover {
color: #4a3242; }
- team {
width: 960px; height: 250px; float: left; margin: 30px; margin-top: 5px; background: white; color: black; -moz-border-radius-bottomleft: 20px 20px; -moz-border-radius-topright: 20px 20px; }
- teamLeft {
float: left; width: 600px; height: 100px; margin-right: 10px; }
- teamRight {
float: left; width: 300px; height: 100px; margin-left: 10px; }
- teamRight img {
width: 200px; height: 200px; margin-top: 5px; margin-left: 25px; }
- team h1 {
margin-left: 10px; margin-top: 10px; font-size: 2.2em; color:#896478; }
- team h2 {
font-size: 1.6em; color: #895a6e; margin-left: 10px; }
- teamLeft p {
margin-left: 10px; margin-top: 5px; font-size: 1.2em; color:#4a3242; }