Team:Groningen/CSS2
From 2013.igem.org
Line 1: | Line 1: | ||
- | + | #container | |
+ | { | ||
+ | margin: 0 auto; | ||
+ | width: 1000px; | ||
+ | background: #fff; | ||
+ | } | ||
- | # | + | #header |
- | + | { | |
- | + | background: #ccc; | |
- | + | padding: 20px; | |
} | } | ||
- | # | + | #header h1 { margin: 0; } |
- | + | ||
- | + | #navigation | |
- | + | { | |
+ | float: left; | ||
+ | width: 1000px; | ||
+ | background: #333; | ||
} | } | ||
+ | #navigation ul | ||
+ | { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | } | ||
+ | #navigation ul li | ||
+ | { | ||
+ | list-style-type: none; | ||
+ | display: inline; | ||
+ | } | ||
- | + | #navigation li a | |
- | a | + | { |
- | + | ||
- | + | ||
- | + | ||
display: block; | display: block; | ||
- | + | float: left; | |
+ | padding: 5px 10px; | ||
+ | color: #fff; | ||
+ | text-decoration: none; | ||
+ | border-right: 1px solid #fff; | ||
} | } | ||
- | # | + | |
- | + | #navigation li a:hover { background: #383; } | |
- | + | ||
- | + | #content-container | |
- | # | + | { |
- | + | float: left; | |
- | + | width: 1000px; | |
- | + | background: #fff url(/wp-content/uploads/layout-three-fixed-background.gif) repeat-y 100% 0; | |
- | + | ||
} | } | ||
- | # | + | #section-navigation |
- | + | { | |
- | + | float: left; | |
- | + | width: 160px; | |
- | margin: 0 | + | padding: 20px 0; |
- | + | margin: 0 20px; | |
- | + | display: inline; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | # | + | #section-navigation ul |
- | + | { | |
- | + | margin: 0; | |
- | + | padding: 0; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | margin: | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | #section-navigation ul li | |
- | + | { | |
- | + | margin: 0 0 1em; | |
- | + | padding: 0; | |
- | + | list-style-type: none; | |
- | + | } | |
- | + | ||
- | + | #content | |
+ | { | ||
+ | float: left; | ||
+ | width: 500px; | ||
+ | padding: 20px 0; | ||
+ | margin: 0 0 0 30px; | ||
+ | } | ||
+ | |||
+ | #content h2 { margin: 0; } | ||
+ | |||
+ | #aside | ||
+ | { | ||
+ | float: right; | ||
+ | width: 200px; | ||
+ | padding: 20px 0; | ||
+ | margin: 0 20px 0 0; | ||
+ | display: inline; | ||
+ | } | ||
+ | |||
+ | #aside h3 { margin: 0; } | ||
+ | |||
+ | #footer | ||
+ | { | ||
+ | clear: left; | ||
+ | background: #ccc; | ||
+ | text-align: right; | ||
+ | padding: 20px; | ||
+ | height: 1%; | ||
+ | } |
Revision as of 19:13, 16 July 2013
- container
{ margin: 0 auto; width: 1000px; background: #fff; }
- header
{ background: #ccc; padding: 20px; }
- header h1 { margin: 0; }
- navigation
{ float: left; width: 1000px; background: #333; }
- navigation ul
{ margin: 0; padding: 0; }
- navigation ul li
{ list-style-type: none; display: inline; }
- navigation li a
{ display: block; float: left; padding: 5px 10px; color: #fff; text-decoration: none; border-right: 1px solid #fff; }
- navigation li a:hover { background: #383; }
- content-container
{ float: left; width: 1000px; background: #fff url(/wp-content/uploads/layout-three-fixed-background.gif) repeat-y 100% 0; }
- section-navigation
{ float: left; width: 160px; padding: 20px 0; margin: 0 20px; display: inline; }
- section-navigation ul
{ margin: 0; padding: 0; }
- section-navigation ul li
{ margin: 0 0 1em; padding: 0; list-style-type: none; }
- content
{ float: left; width: 500px; padding: 20px 0; margin: 0 0 0 30px; }
- content h2 { margin: 0; }
- aside
{ float: right; width: 200px; padding: 20px 0; margin: 0 20px 0 0; display: inline; }
- aside h3 { margin: 0; }
- footer
{ clear: left; background: #ccc; text-align: right; padding: 20px; height: 1%; }