Team:UCL-London/static/globalstyles.css

From 2013.igem.org

(Difference between revisions)
 
(150 intermediate revisions not shown)
Line 2: Line 2:
/*contents*/
/*contents*/
/**********/
/**********/
-
 
-
/*
 
1) div styles
1) div styles
2) font styles
2) font styles
-
 
-
*/
 
-
 
/***************/
/***************/
Line 17: Line 12:
#container
#container
{
{
 +
position:absolute;
width:975px;
width:975px;
-
margin-left: auto;
+
left:50%;
-
margin-right: auto;
+
display:none;
-
font-family:Ubuntu, sans-serif;
+
}
 +
 
 +
#testing
 +
{
 +
width:100px;
 +
height:100px;
 +
background:green;
}
}
Line 26: Line 28:
{
{
width:100%;
width:100%;
-
height:200px;
+
height:160px;
background:#C14645;
background:#C14645;
-
border-bottom: 1px solid #404040;
+
font-family:Ubuntu, sans-serif;
}
}
-
#header_container
+
#header
{
{
width:975px;
width:975px;
-
height:80px;
+
height:160px;
-
padding-top:100px;
+
margin-left: auto;
margin-left: auto;
margin-right: auto;
margin-right: auto;
 +
background:#C14645;
}
}
-
#header
+
#headtext1
{
{
-
width:800px;
+
width:100%;
-
height:80px;
+
height:45px;
 +
padding-top:10px;
 +
float:left;
background:#C14645;
background:#C14645;
 +
text-align:right;
}
}
-
#logo
+
#headtext2
{
{
-
width:56px;
+
width:100%;
-
height:56px;
+
height:94px;
-
float:right;
+
padding-top:11px;
 +
float:left;
 +
background:#C14645;
}
}
-
 
+
#logo
-
#nav_container
+
{
{
-
width:100%;
+
width:86px;
-
height:25px;
+
height:86px;
-
background:#C0C0C0;
+
float:right;
}
}
-
#navbar
+
#social_links
{
{
-
height:25px;
+
width:86px;
-
margin-left: auto;
+
height:26px;
-
margin-right: auto;
+
background:#C14645;
-
width:975px;
+
float:right;
 +
margin-top:6px;
 +
text-decoration : none;
}
}
-
div.navlink,
+
#social_links img1,
-
div.navgap
+
#social_links img2
{
{
-
height:25px;
+
width:26px;
-
background:#C0C0C0;
+
height:26px;
-
float:left;
+
float:right;
}
}
-
div.navlink
+
#social_links img1
{
{
-
width:95px;
+
background-image:url('https://static.igem.org/mediawiki/2013/0/07/Facebook_logo.png');
}
}
-
div.navgap
+
#social_links img2
{
{
-
width:15px;
+
background-image:url('https://static.igem.org/mediawiki/2013/1/1a/Twitter_logo.png');
 +
margin-left:5px;
}
}
Line 98: Line 107:
width:975px;
width:975px;
height:250px;
height:250px;
 +
}
 +
 +
div.col_left,
 +
div.col_right,
 +
div.col_1,
 +
div.col_2
 +
{
 +
/*background:#E6E6E6;*/
 +
background:red;
}
}
div.col_left
div.col_left
{
{
-
width:582px;
+
width:606px;
height:100%;
height:100%;
-
background:#F1F1F1;
 
float:left;
float:left;
overflow:hidden;
overflow:hidden;
-
opacity:0.9;
+
opacity:1;
-
filter:alpha(opacity=90); /* For IE8 and earlier */
+
filter:alpha(opacity=100); /* For IE8 and earlier */
}
}
div.col_right
div.col_right
{
{
-
width:382px;
+
width:360px;
height:100%;
height:100%;
-
margin-left:11px;
+
margin-left:9px;
-
background:#F1F1F1;
+
float:left;
float:left;
overflow:hidden;
overflow:hidden;
-
opacity:0.9;
+
opacity:1;
-
filter:alpha(opacity=90); /* For IE8 and earlier */
+
filter:alpha(opacity=100); /* For IE8 and earlier */
 +
}
 +
 
 +
div.col_1
 +
{
 +
width:237px;
 +
height:100%;
 +
margin-right:9px;
 +
float:left;
 +
overflow:hidden;
 +
opacity:1;
 +
filter:alpha(opacity=100); /* For IE8 and earlier */
 +
}
 +
 
 +
div.col_2
 +
{
 +
width:237px;
 +
height:100%;
 +
float:left;
 +
overflow:hidden;
 +
opacity:1;
 +
filter:alpha(opacity=100); /* For IE8 and earlier */
}
}
Line 126: Line 163:
{
{
width:100%;
width:100%;
-
height:11px;
+
height:9px;
}
}
 +
/****************/
/****************/
-
/*1) font styles*/
+
/*2) font styles*/
/****************/
/****************/
page_title1,
page_title1,
-
page_title2
+
page_title2,
 +
small_title1,
 +
small_title2
{
{
font-weight: bold;
font-weight: bold;
font-style : normal;
font-style : normal;
-
font-size : 6em;
 
font-variant : normal;
font-variant : normal;
-
line-height : 0.77;
+
line-height : 1;
text-align : justify;
text-align : justify;
text-indent : 0px;
text-indent : 0px;
Line 150: Line 189:
{
{
color : #404040;
color : #404040;
-
text-shadow: 1px 1px white;
+
font-size : 4.8em;
}
}
Line 156: Line 195:
{
{
color : white;
color : white;
-
text-shadow: 1px 1px black;
+
font-size : 4.8em;
}
}
-
p.navbar_text
+
small_title1
{
{
-
font-weight : bold;
 
-
font-style : normal;
 
-
font-size : 1em;
 
-
text-decoration : none;
 
-
font-variant : normal;
 
-
line-height : 2.0;
 
-
text-align : center;
 
color : #404040;
color : #404040;
-
text-indent : 0px;
+
font-size : 2.25em;
-
margin : 0px;
+
}
 +
 
 +
small_title2
 +
{
 +
color : white;
 +
font-size : 2.25em;
}
}

Latest revision as of 19:08, 11 August 2013

/**********/ /*contents*/ /**********/

1) div styles 2) font styles

/***************/ /*1) div styles*/ /***************/

  1. container

{ position:absolute; width:975px; left:50%; display:none; }

  1. testing

{ width:100px; height:100px; background:green; }

  1. banner

{ width:100%; height:160px; background:#C14645; font-family:Ubuntu, sans-serif; }

  1. header

{ width:975px; height:160px; margin-left: auto; margin-right: auto; background:#C14645; }

  1. headtext1

{ width:100%; height:45px; padding-top:10px; float:left; background:#C14645; text-align:right; }

  1. headtext2

{ width:100%; height:94px; padding-top:11px; float:left; background:#C14645; }

  1. logo

{ width:86px; height:86px; float:right; }

  1. social_links

{ width:86px; height:26px; background:#C14645; float:right; margin-top:6px; text-decoration : none; }

  1. social_links img1,
  2. social_links img2

{ width:26px; height:26px; float:right; }

  1. social_links img1

{ background-image:url('https://static.igem.org/mediawiki/2013/0/07/Facebook_logo.png'); }

  1. social_links img2

{ background-image:url('https://static.igem.org/mediawiki/2013/1/1a/Twitter_logo.png'); margin-left:5px; }

div.row_large { width:975px; height:600px; }

div.row_small { width:975px; height:250px; }

div.col_left, div.col_right, div.col_1, div.col_2 { /*background:#E6E6E6;*/ background:red; }

div.col_left { width:606px; height:100%; float:left; overflow:hidden; opacity:1; filter:alpha(opacity=100); /* For IE8 and earlier */ }

div.col_right { width:360px; height:100%; margin-left:9px; float:left; overflow:hidden; opacity:1; filter:alpha(opacity=100); /* For IE8 and earlier */ }

div.col_1 { width:237px; height:100%; margin-right:9px; float:left; overflow:hidden; opacity:1; filter:alpha(opacity=100); /* For IE8 and earlier */ }

div.col_2 { width:237px; height:100%; float:left; overflow:hidden; opacity:1; filter:alpha(opacity=100); /* For IE8 and earlier */ }

div.h_gap { width:100%; height:9px; }


/****************/ /*2) font styles*/ /****************/

page_title1, page_title2, small_title1, small_title2 { font-weight: bold; font-style : normal; font-variant : normal; line-height : 1; text-align : justify; text-indent : 0px; margin : 0px; letter-spacing:-2px; }

page_title1 { color : #404040; font-size : 4.8em; }

page_title2 { color : white; font-size : 4.8em; }

small_title1 { color : #404040; font-size : 2.25em; }

small_title2 { color : white; font-size : 2.25em; }

p.major_title, p.minor_title, p.body_text, p.citation_text { font-style : normal; text-decoration : none; font-variant : normal; text-indent : 0px; text-align : left; }

p.major_title, p.minor_title { font-family : Ubuntu, sans-serif; font-weight : bold; }

p.body_text, p.citation_text { font-family : "Myriad Pro", sans-serif; font-weight : normal; }


p.major_title { font-size : 2.5em; line-height : 1.25; color : #c14645; margin : 0px; }

p.minor_title { font-size : 1.6em; line-height : 1.5; color : #404040; margin : 0px; }

p.body_text { font-size : 1.4em; line-height : 1.33; color : #404040; margin : 0px 0px 9px 14px; }

p.citation_text { font-size : 1.2em; line-height : 1.71; color : #c14645; margin : 0px 0px 0px 14px; }