Team:Trieste/static/main.css

From 2012.igem.org

Revision as of 06:13, 14 July 2012 by Srebrnicaljaz (Talk | contribs)
   	html, body {

margin: 0px; padding: 0px; border: 0px; } #header { top: 0px; right: 0px; width: 100%; height: 100px; color: white; background-image: url('https://static.igem.org/mediawiki/2012/b/b2/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('https://static.igem.org/mediawiki/2012/3/33/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('https://static.igem.org/mediawiki/2012/6/6d/Container_bg.jpg'); background-repeat: no-repeat;

           padding-bottom: 2em;

}

#content { margin-left: auto; margin-right: auto; padding-top: 15em; width: 970px; background-image: url('https://static.igem.org/mediawiki/2012/5/55/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('https://static.igem.org/mediawiki/2012/5/53/Blue_bg.png'); background-repeat: no-repeat; padding-top: 0.7em; padding-left: 1.5em; margin-top: 0px; margin-bottom: 0px; }