Team:Trieste/static/main.css

From 2012.igem.org

(Difference between revisions)
Line 14: Line 14:
#header > h1 {
#header > h1 {
-
    width: 8em;
+
    width: 28em;
    position: relative;
    position: relative;
    left: 25%;
    left: 25%;
Line 54: Line 54:
    background-image: url('https://static.igem.org/mediawiki/2012/6/6d/Container_bg.jpg');
    background-image: url('https://static.igem.org/mediawiki/2012/6/6d/Container_bg.jpg');
    background-repeat: no-repeat;
    background-repeat: no-repeat;
-
            padding-bottom: 2em;
+
    padding-bottom: 2em;
}
}
Line 98: Line 98:
    padding: 10px;
    padding: 10px;
    background-color: white;
    background-color: white;
-
    margin: -1.5em 1em 0em;
+
    margin: auto 1em;
    border-radius: 5px;
    border-radius: 5px;
 +
    text-align: justify;
}
}
Line 110: Line 111:
    padding-left: 1.5em;
    padding-left: 1.5em;
    margin-top: 0px;
    margin-top: 0px;
-
    margin-bottom: 0px;
+
    margin-bottom: -25px;
}
}

Revision as of 22:11, 14 July 2012

   	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: 28em; 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: auto 1em; border-radius: 5px; text-align: justify; }

#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: -25px; }