TeamNRP-UEA Norwich/Template

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
html, body {
+
body {
-
height: 100%;
+
background: #4e4241;
-
}
+
margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
-
 
+
-
body {
+
-
margin: 0px;
+
-
padding: 0px;
+
-
background: rgba(0,0,0,.04);
+
-
font-family: 'Source Sans Pro', sans-serif;
+
-
font-size: 12pt;
+
-
font-weight: 300;
+
-
color: #363636;
+
-
}
+
-
 
+
-
 
+
-
h1, h2, h3 {
+
-
margin: 0;
+
padding: 0;
padding: 0;
 +
text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
 +
color: #4e4241;
 +
font-family: Verdana, Arial, Helvetica, sans-serif;
 +
font-size: 100%;
}
}
-
 
+
#image_ecclestone {
-
p, ol, ul {
+
height: 180px;
-
margin-top: 0px;
+
width: 205px;
 +
margin-left: 475px;
 +
margin-top: 260px;
 +
position: absolute;
}
}
-
 
+
#image_sneddon {
-
p {
+
height: 180px;
-
line-height: 190%;
+
width: 205px;
 +
margin-left: 475px;
 +
position: absolute;
 +
margin-top: 40px;
}
}
-
 
+
#container {  
-
strong {
+
width: 780px;  /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */
 +
background: #FFFFFF;
 +
margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */
 +
border: 1px solid #000000;
 +
text-align: left; /* this overrides the text-align: center on the body element. */
}
}
-
a {
 
-
color: #171717;
 
-
}
 
-
a:hover {
+
#floatright { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
-
text-decoration: none;
+
float: right;
 +
margin-left: 8px;
}
}
-
 
+
#floatleft { /* this class can be used to float an element left in your page */
-
a img {
+
float: left;
-
border: none;
+
margin-right: 8px;
}
}
-
 
+
#clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */
-
.image
+
clear:both;
-
{
+
    height:0;
-
display: inline-block;
+
    font-size: 1px;
-
}
+
    line-height: 0px;
-
+
-
.image img
+
-
{
+
-
display: block;
+
-
width: 100%;
+
-
}
+
-
 
+
-
.image-full
+
-
{
+
-
display: block;
+
-
width: 100%;
+
-
margin: 0 0 2em 0;
+
-
}
+
-
+
-
.image-left
+
-
{
+
-
float: left;
+
-
margin: 0 2em 2em 0;
+
-
}
+
-
+
-
.image-centered
+
-
{
+
-
display: block;
+
-
margin: 0 0 2em 0;
+
-
}
+
-
 
+
-
.image-centered img
+
-
{
+
-
margin: 0 auto;
+
-
width: auto;
+
-
}
+
-
 
+
-
hr {
+
-
display: none;
+
}
}
-
 
+
#logo {
-
 
+
height: 82px;
-
/*********************************************************************************/
+
width: 104px;
-
/* List Styles                                                                  */
+
position: absolute;
-
/*********************************************************************************/
+
background-color: #FFFFFF;
-
 
+
-
ul.style1
+
-
{
+
-
margin: 0;
+
-
padding: 0;
+
-
list-style: none;
+
-
}
+
-
+
-
ul.style1 li
+
-
{
+
-
border-top: solid 1px #E5E5E5;
+
-
padding: 0.80em 0;
+
-
}
+
-
+
-
ul.style1 li:first-child
+
-
{
+
-
border-top: 0;
+
-
padding-top: 0;
+
-
}
+
-
 
+
-
ul.style2
+
-
{
+
-
margin: 0;
+
-
padding: 0;
+
-
list-style: none;
+
-
}
+
-
+
-
ul.style2 li
+
-
{
+
-
border-top: solid 1px #E5E5E5;
+
-
padding: 0.80em 0;
+
-
}
+
-
+
-
ul.style2 li:first-child
+
-
{
+
-
border-top: 0;
+
-
padding-top: 0;
+
-
}
+
-
 
+
-
/*********************************************************************************/
+
-
/* Social Icon Styles                                                            */
+
-
/*********************************************************************************/
+
-
 
+
-
ul.contact
+
-
{
+
-
margin: 0;
+
-
padding: 1.5em 0em 2.5em 0em;
+
-
list-style: none;
+
-
}
+
-
+
-
ul.contact li
+
-
{
+
-
display: inline-block;
+
-
padding: 0em 0.30em;
+
-
font-size: 1em;
+
-
}
+
-
+
-
ul.contact li span
+
-
{
+
-
display: none;
+
-
margin: 0;
+
-
padding: 0;
+
-
}
+
-
+
-
ul.contact li a
+
-
{
+
-
color: #FFF;
+
-
}
+
-
+
-
ul.contact li a:before
+
-
{
+
-
display: inline-block;
+
-
background: #3f3f3f;
+
-
width: 40px;
+
-
height: 40px;
+
-
line-height: 40px;
+
-
border-radius: 20px;
+
-
text-align: center;
+
-
color: #FFFFFF;
+
-
}
+
-
+
-
ul.contact li a.icon-twitter:before { background: #2DAAE4; }
+
-
ul.contact li a.icon-facebook:before { background: #39599F; }
+
-
ul.contact li a.icon-dribbble:before { background: #C4376B; }
+
-
ul.contact li a.icon-tumblr:before { background: #31516A; }
+
-
ul.contact li a.icon-rss:before { background: #F2600B; }
+
-
 
+
-
 
+
-
/*********************************************************************************/
+
-
/* Heading Titles                                                                */
+
-
/*********************************************************************************/
+
-
 
+
-
.title
+
-
{
+
-
margin-bottom: 2em;
+
-
text-transform: uppercase;
+
-
}
+
-
 
+
-
.title h2
+
-
{
+
-
letter-spacing: 0.20em;
+
-
font-weight: 700;
+
-
font-size: 2em;
+
-
color: #9B0808;
+
-
}
+
-
+
-
.title .byline
+
-
{
+
-
letter-spacing: 0.15em;
+
-
text-transform: uppercase;
+
-
font-weight: 400;
+
-
font-size: 0.90em;
+
-
color: #6F6F6F;
+
-
}
+
-
 
+
-
/** WRAPPER */
+
-
 
+
-
#wrapper {
+
-
background: #FFFFFF url(images/bg01.png) repeat;
+
}
}
-
 
+
#header {
-
#footer-wrapper
+
height: 82px;
-
{
+
width: 640px;
-
background: #0F0F0F;
+
margin-left: 120px;
 +
background-color: #00CC00;
}
}
-
.container {
+
#title {
-
width: 1200px;
+
font-family: "Lucida Calligraphy";
-
margin: 0px auto;
+
font-size: 46px;
-
}
+
-
 
+
-
.clearfix {
+
-
clear: both;
+
-
}
+
-
 
+
-
 
+
-
/*********************************************************************************/
+
-
/* Wrappers                                                                      */
+
-
/*********************************************************************************/
+
-
 
+
-
#header-wrapper
+
-
{
+
-
overflow: hidden;
+
-
height: 350px;
+
-
background: url('images/banner.jpg') no-repeat top center;
+
-
background-size: 100%;
+
-
}
+
-
 
+
-
 
+
-
/*********************************************************************************/
+
-
/* Header                                                                        */
+
-
/*********************************************************************************/
+
-
 
+
-
#header
+
-
{
+
-
position: relative;
+
-
overflow: hidden;
+
-
text-align: center;
+
-
}
+
-
 
+
-
/*********************************************************************************/
+
-
/* Logo                                                                          */
+
-
/*********************************************************************************/
+
-
 
+
-
#logo
+
-
{
+
-
width: 500px;
+
-
height: 100px;
+
-
margin: 0 auto;
+
-
padding: 2em 0em;
+
-
text-transform: uppercase;
+
-
background: #9B0808;
+
-
}
+
-
+
-
#logo h1
+
-
{
+
-
letter-spacing: 0.10em;
+
-
font-size: 3em;
+
-
}
+
-
+
-
#logo p
+
-
{
+
-
letter-spacing: 0.10em;
+
-
color: #FFF;
+
-
}
+
-
+
-
#logo a
+
-
{
+
-
text-decoration: none;
+
-
color: #FFF;
+
-
}
+
-
 
+
-
/*********************************************************************************/
+
-
/* Banner                                                                        */
+
-
/*********************************************************************************/
+
-
 
+
-
#banner
+
-
{
+
-
position: absolute;
+
-
left: 0;
+
-
overflow: hidden;
+
-
z-index: 1;
+
-
}
+
-
+
-
#banner .image
+
-
{
+
-
border: 5px solid #FFFFFF;
+
-
}
+
-
+
-
 
+
-
/** MENU */
+
-
 
+
-
#menu-wrapper
+
-
{
+
-
background: #9B0808;
+
-
}
+
-
 
+
-
#menu {
+
-
overflow: hidden;
+
-
height: 100px;
+
-
}
+
-
 
+
-
#menu ul {
+
-
margin: 0;
+
-
padding: 0px 0px 0px 0px;
+
-
list-style: none;
+
-
line-height: normal;
+
text-align: center;
text-align: center;
 +
height: 60px;
 +
margin-top: 10px;
 +
padding: 0px;
}
}
-
#menu li {
 
-
display: inline-block;
 
-
}
 
-
#menu a {
+
#main_content {
-
display: block;
+
font-family: "Lucida Sans";
-
letter-spacing: 1px;
+
font-size: 16px;
-
line-height: 100px;
+
color: 4e4241;
-
padding: 0 40px;
+
height: 430px;
-
text-decoration: none;
+
width: 280px;
 +
margin-left: 95px;
 +
margin-top: 40px;
 +
letter-spacing: normal;
text-align: center;
text-align: center;
-
text-transform: uppercase;
+
word-spacing: normal;
-
font-size: 0.80em;
+
padding: 0px;
-
font-weight: 600;
+
-
border: none;
+
-
color: #FFF;
+
}
}
-
 
+
#home_btn {
-
#menu a:hover, #menu .current_page_item a {
+
height: 49px;
-
text-decoration: none;
+
width: 107px;
 +
margin-top: 25px;
 +
margin-right: 0px;
 +
margin-bottom: 0px;
 +
margin-left: 95px;
}
}
-
 
+
#artists_btn {
-
#menu .current_page_item a {
+
height: 49px;
-
background: #800707;
+
width: 107px;
 +
margin-left: 252px;
 +
margin-top: -49px;
}
}
-
 
+
#gallery_btn {
-
/** PAGE */
+
height: 49px;
-
 
+
width: 107px;
-
#page
+
margin-top: -49px;
-
{
+
margin-left: 409px;
-
position: relative;
+
-
overflow: hidden;
+
-
padding: 6em 0em 5em 0em;
+
}
}
-
 
+
#contact_btn {
-
/** CONTENT */
+
height: 49px;
-
 
+
width: 107px;
-
#content
+
margin-top: -49px;
-
{
+
margin-left: 566px;
-
float: right;
+
-
width: 790px;
+
}
}
-
 
-
/*********************************************************************************/
 
-
/* Sidebar                                                                      */
 
-
/*********************************************************************************/
 
-
 
-
#sidebar
 
-
{
 
-
float: left;
 
-
width: 345px;
 
-
}
 
-
 
-
#sidebar .title h2
 
-
{
 
-
font-size: 1.6em;
 
-
}
 
-
 
-
#sidebar .box1
 
-
{
 
-
margin-bottom: 3em;
 
-
}
 
-
 
-
 
-
/*********************************************************************************/
 
-
/* Copyright                                                                    */
 
-
/*********************************************************************************/
 
-
 
-
#copyright
 
-
{
 
-
overflow: hidden;
 
-
padding: 5em 0em;
 
-
text-align: center;
 
-
}
 
-
 
-
#copyright p
 
-
{
 
-
letter-spacing: 0.20em;
 
-
text-align: center;
 
-
text-transform: uppercase;
 
-
font-size: 0.80em;
 
-
color: #6F6F6F;
 
-
}
 
-
 
-
#copyright a
 
-
{
 
-
text-decoration: none;
 
-
color: #8C8C8C;
 
-
}
 
-
 
-
/*********************************************************************************/
 
-
/* Welcome                                                                      */
 
-
/*********************************************************************************/
 
-
 
-
#welcome
 
-
{
 
-
overflow: hidden;
 
-
padding: 5em 0em;
 
-
border-bottom: 1px solid #E5E5E5;
 
-
text-align: center;
 
-
}
 
-
 
-
#welcome h2
 
-
{
 
-
letter-spacing: 0.20em;
 
-
text-transform: uppercase;
 
-
font-size: 2.6em;
 
-
}
 
-
 
-
#welcome p
 
-
{
 
-
font-size: 1.3em;
 
-
}
 
-
 
-
#welcome .byline
 
-
{
 
-
display: block;
 
-
padding: 0em 0em 1.5em 0em;
 
-
letter-spacing: 0.15em;
 
-
text-transform: uppercase;
 
-
font-weight: 400;
 
-
font-size: 1.2em;
 
-
color: #6F6F6F;
 
-
}
 
-
 
-
/*********************************************************************************/
 
-
/* Portfolio                                                                    */
 
-
/*********************************************************************************/
 
-
 
-
#portfolio-wrapper
 
-
{
 
-
background: rgba(0,0,0,.04);
 
-
padding: 6em 0em;
 
-
}
 
-
 
-
#portfolio
 
-
{
 
-
overflow: hidden;
 
-
}
 
-
 
-
#portfolio .title h2
 
-
{
 
-
font-size: 1.2em;
 
-
color: #9B0808;
 
-
}
 
-
 
-
#portfolio .byline
 
-
{
 
-
font-size: 1em;
 
-
color: #EEA7C1;
 
-
}
 
-
 
-
#column1,
 
-
#column2,
 
-
#column3,
 
-
#column4
 
-
{
 
-
width: 282px;
 
-
}
 
-
 
-
#column1,
 
-
#column2
 
-
{
 
-
float: left;
 
-
margin-right: 24px;
 
-
}
 
-
 
-
#column3
 
-
{
 
-
float: left;
 
-
}
 
-
 
-
#column4
 
-
{
 
-
float: right;
 
-
}
 
-
 
-
/*********************************************************************************/
 
-
/* Button Style                                                                  */
 
-
/*********************************************************************************/
 
-
 
-
.button
 
-
{
 
-
display: inline-block;
 
-
margin-top: 1.5em;
 
-
padding: 0.50em 3em 0.50em 2em;
 
-
background: #9B0808;
 
-
letter-spacing: 0.20em;
 
-
text-decoration: none;
 
-
text-transform: uppercase;
 
-
font-weight: 400;
 
-
font-size: 0.90em;
 
-
color: #FFF;
 
-
}
 
-
 
-
.button:before
 
-
{
 
-
display: inline-block;
 
-
width: 40px;
 
-
height: 40px;
 
-
line-height: 40px;
 
-
border-radius: 20px;
 
-
text-align: center;
 
-
color: #FFF;
 
-
}
 
-
 
-
/*********************************************************************************/
 
-
/* Footer                                                                        */
 
-
/*********************************************************************************/
 
-
 
-
#footer-wrapper
 
-
{
 
-
overflow: hidden;
 
-
padding: 5em 0em;
 
-
background: #1E1B1A;
 
-
}
 
-
 
-
#footer
 
-
{
 
-
color: #ADADAD;
 
-
}
 
-
 
-
#footer .title h2
 
-
{
 
-
font-weight: 400;
 
-
font-size: 1.2em;
 
-
color: #FFF;
 
-
}
 
-
 
-
#footer .title
 
-
{
 
-
border-color: #2D2926 !important;
 
-
}
 
-
 
-
#footer .style1 li
 
-
{
 
-
border-color: #2D2926 !important;
 
-
}
 
-
 
-
#footer .style1 a
 
-
{
 
-
letter-spacing: 0.10em;
 
-
font-size:1em;
 
-
color: #B1B1B1;
 
-
}
 
-
 
-
#box1
 
-
{
 
-
float: left;
 
-
width: 354px;
 
-
margin-right: 24px;
 
-
padding-right: 30px;
 
-
}
 
-
 
-
#box2
 
-
{
 
-
float: left;
 
-
width: 354px;
 
-
margin-left: 24px;
 
-
padding-right: 30px;
 
-
}
 
-
 
-
#box3
 
-
{
 
-
float: right;
 
-
width: 344px;
 
-
padding-left: 40px;
 
-
}
 

Revision as of 19:52, 8 July 2013

body { background: #4e4241; margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */ padding: 0; text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */ color: #4e4241; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 100%; }

  1. image_ecclestone {

height: 180px; width: 205px; margin-left: 475px; margin-top: 260px; position: absolute; }

  1. image_sneddon {

height: 180px; width: 205px; margin-left: 475px; position: absolute; margin-top: 40px; }

  1. container {

width: 780px; /* using 20px less than a full 800px width allows for browser chrome and avoids a horizontal scroll bar */ background: #FFFFFF; margin: 0 auto; /* the auto margins (in conjunction with a width) center the page */ border: 1px solid #000000; text-align: left; /* this overrides the text-align: center on the body element. */ }


  1. floatright { /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */

float: right; margin-left: 8px; }

  1. floatleft { /* this class can be used to float an element left in your page */

float: left; margin-right: 8px; }

  1. clearfloat { /* this class should be placed on a div or break element and should be the final element before the close of a container that should fully contain a float */

clear:both;

   height:0;
   font-size: 1px;
   line-height: 0px;

}

  1. logo {

height: 82px; width: 104px; position: absolute; background-color: #FFFFFF; }

  1. header {

height: 82px; width: 640px; margin-left: 120px; background-color: #00CC00; }

  1. title {

font-family: "Lucida Calligraphy"; font-size: 46px; text-align: center; height: 60px; margin-top: 10px; padding: 0px; }


  1. main_content {

font-family: "Lucida Sans"; font-size: 16px; color: 4e4241; height: 430px; width: 280px; margin-left: 95px; margin-top: 40px; letter-spacing: normal; text-align: center; word-spacing: normal; padding: 0px; }

  1. home_btn {

height: 49px; width: 107px; margin-top: 25px; margin-right: 0px; margin-bottom: 0px; margin-left: 95px; }

  1. artists_btn {

height: 49px; width: 107px; margin-left: 252px; margin-top: -49px; }

  1. gallery_btn {

height: 49px; width: 107px; margin-top: -49px; margin-left: 409px; }

  1. contact_btn {

height: 49px; width: 107px; margin-top: -49px; margin-left: 566px; }