Team:Trieste/static/main.css

From 2012.igem.org

Revision as of 22:51, 13 July 2012 by Srebrnicaljaz (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
   	html, body {

margin: 0px; padding: 0px; border: 0px; } #header { top: 0px; right: 0px; width: 100%; height: 100px; color: white; background-image: url('img/header_bg.jpg'); }

#header > h1 { width: 8em; position: relative; left: 25%; margin-left: 5%; margin-bottom: 0px; margin-top: 0.2em; }

#header > h3 { width: 10em; position: relative; left: 25%; margin-top: 0px; padding-top: 0.5em; margin-bottom: 0.2em; }

#logo { position: absolute; top: 0px; left: 10%; width: 120px; height: 200px; background-image: url('img/logo_bg.png'); background-repeat: no-repeat; }

#menu { width: 100%; padding-top: 0.5em; padding-bottom: 0.5em; background-color: black; color: white; }

#container { width: 100%; background-color: #e7e7e7; background-image: url('img/container_bg.jpg'); background-repeat: no-repeat; }

#content { margin-left: auto; margin-right: auto; padding-top: 15em; width: 970px; background-image: url('img/content_bg.jpg'); background-color: white; background-repeat: no-repeat; }

#col1 { width: 30%; float: left; }

#col2 { width: 30%; margin-left: 37.5%; }

#col3 { width: 25%; margin-top: 5em; float: right; }

#col1 > h1 { background-color: blue; }

#col2 > h1 { background-color: red; }

#col3 > h1 { background-color: green; }

#content p { padding: 10px; background-color: white; margin: -1.5em 1em 0em; border-radius: 5px; }

#content h1 { height: 2em; color: white; background-image: url('img/blue_bg.png'); background-repeat: no-repeat; padding-top: 0.7em; padding-left: 1.5em; margin-top: 0px; margin-bottom: 0px; }