Team:Tsinghua-A/css/index.css

From 2012.igem.org

(Difference between revisions)
(Created page with "- Basic CSS format FENG Zili & GUO Mingzhou, Tsinghua-A Team, iGEM 2012.09.07: #contentSub,#search-controls,.fistHeading,#footer-box,#catlinks,#p-logo { display:none; } ...")
Line 24: Line 24:
{
{
text-align: left;
text-align: left;
-
float: left;
+
float:justify;
font-family: 'Oxygen Mono', sans-serif;
font-family: 'Oxygen Mono', sans-serif;
}
}
li.topButton
li.topButton
{
{
-
 
float:left;
float:left;
-
width:149px;
+
margin-left: 0;
-
height: 31px;
+
margin-top: 0px;
 +
width:122px;
 +
height: 37px;
font-size: 1.2em;
font-size: 1.2em;
text-decoration:none;
text-decoration:none;
-
color:white;
+
background-color:white;
-
background-color:#ED6677;
+
padding:0px;
-
padding:5px;
+
border-right:1px solid white;
border-right:1px solid white;
 +
display:inline;
}
}
 +
/*li#teamButton:hover
 +
{
 +
color: red;
 +
background-color:#93278F;
 +
}*/
 +
a{
a{
 +
float: center;
 +
font-size: 1em;
text-decoration: none;
text-decoration: none;
-
color: white;
+
font-family: 'Quantico', sans-serif;
 +
color: gray;
}
}
-
li.topButton:hover {background-color:#93278F}
+
a.navigationButtonA
-
li.topButton {display:inline}
+
{
 +
float:left;
 +
color: #0C7522;
 +
margin-left:15px;
 +
}
 +
a#teamButtonA:hover  
 +
{
 +
color: red;
 +
}
 +
a#projectButtonA:hover
 +
{
 +
color: orange;
 +
}
 +
a#modelingButtonA:hover
 +
{
 +
color: yellow;
 +
}
 +
a#wetlabButtonA:hover
 +
{
 +
color: green;
 +
}
 +
a#safetyButtonA:hover
 +
{
 +
color: blue;
 +
}
 +
a#humanPracticeButtonA:hover
 +
{
 +
color: purple;
 +
}
 +
li.topNavigationButton
 +
{
 +
float: left;
 +
margin-left: 0;
 +
text-decoration: none;
 +
width:133px;
 +
height: 20px;
 +
background-color: orange;
 +
display: inline;
 +
}
li.navigationButton
li.navigationButton
{
{
 +
padding:0px;
float:left;
float:left;
-
width:160px;
+
width:140px;
height:30px;
height:30px;
-
 
text-decoration: none;
text-decoration: none;
color: white;
color: white;
-
background-color: #9BCD9B;
+
background-color: #E9F4E9;
border-bottom: 1px solid white;
border-bottom: 1px solid white;
display:block;
display:block;
}
}
-
.text
+
#topWrapper
 +
{
 +
position: fixed;
 +
float: left;
 +
top:0;
 +
}
 +
.textWrapper
{
{
-
position: absolute;
+
position: static;
-
text-align: justify;
+
text-align: left;
-
margin-right: 0;
+
margin:30px 0 30px 0;
padding:20px;
padding:20px;
padding-top: 0px;
padding-top: 0px;
padding-right:0;   
padding-right:0;   
-
top:100px;
+
/*top:100px;*/
border:solid ;
border:solid ;
border-image: url(pictures/bgp.png)10 10 10 10;
border-image: url(pictures/bgp.png)10 10 10 10;
-webkit-border-image:url(pictures/bgp.png)10 10 10 10;
-webkit-border-image:url(pictures/bgp.png)10 10 10 10;
-moz-border-image:url(pictures/bgp.png)10 10 10 10;
-moz-border-image:url(pictures/bgp.png)10 10 10 10;
-
width:735px;
+
}
}
#pageWrapper {
#pageWrapper {
Line 83: Line 137:
}
}
 +
#topNavigationBanner
 +
{
 +
position:fixed;
 +
width: 800px;
 +
top:0px;
 +
margin-top: 80px;
 +
margin-left:170px;
 +
padding: 0;
 +
height: 20px;
 +
background-color: transparent;
 +
}
#banner {
#banner {
position:fixed;
position:fixed;
-
width: 960px;
+
width: 790px;
-
top:0;
+
margin-top:90px;
-
margin-left: auto;
+
margin-left: 170px;
-
margin-right: auto;  
+
padding: 0;
padding: 0;
-
margin: 0;
+
height: 55px;
-
height: 40px;
+
background-color: transparent;
background-color: transparent;
}
}
Line 99: Line 162:
text-align: center;
text-align: center;
margin-left: 0;
margin-left: 0;
-
margin-left: -40px;
+
margin-left: -20px; /*-40*/
-
top:100px;
+
top:200px;
width: 0px;
width: 0px;
float: left;
float: left;
Line 108: Line 171:
#mainField {
#mainField {
 +
z-index: -1;
position:relative;
position:relative;
-
left:200px;
+
top:175px;
 +
left:180px; /*200px*/
float: left;
float: left;
-
width: 860px;
+
width: 720px;
height: 1500px;
height: 1500px;
background-color: transparent;
background-color: transparent;
Line 119: Line 184:
clear: both;
clear: both;
height: 40px;
height: 40px;
-
background-color: white;
+
background-color: transparent;
}
}

Revision as of 13:20, 20 September 2012

/* Basic CSS format

FENG Zili & GUO Mingzhou, Tsinghua-A Team, iGEM 2012.09.07

  • /
  1. contentSub,#search-controls,.fistHeading,#footer-box,#catlinks,#p-logo

{ display:none; } body { text-align: center; background-color: #FAFAFA; }

h2 { font-size: 3em; text-align: left; font-family: 'Raleway Dots', cursive; } p { text-align: left; float:justify; font-family: 'Oxygen Mono', sans-serif; } li.topButton { float:left; margin-left: 0; margin-top: 0px; width:122px; height: 37px; font-size: 1.2em; text-decoration:none; background-color:white; padding:0px; border-right:1px solid white; display:inline; } /*li#teamButton:hover { color: red; background-color:#93278F; }*/

a{ float: center; font-size: 1em; text-decoration: none; font-family: 'Quantico', sans-serif; color: gray; } a.navigationButtonA { float:left; color: #0C7522; margin-left:15px; } a#teamButtonA:hover { color: red; } a#projectButtonA:hover { color: orange; } a#modelingButtonA:hover { color: yellow; } a#wetlabButtonA:hover { color: green; } a#safetyButtonA:hover { color: blue; } a#humanPracticeButtonA:hover { color: purple; } li.topNavigationButton { float: left; margin-left: 0; text-decoration: none;

width:133px; height: 20px; background-color: orange; display: inline; } li.navigationButton { padding:0px; float:left; width:140px; height:30px; text-decoration: none; color: white; background-color: #E9F4E9; border-bottom: 1px solid white; display:block;

}

  1. topWrapper

{ position: fixed; float: left; top:0; } .textWrapper { position: static; text-align: left; margin:30px 0 30px 0; padding:20px; padding-top: 0px; padding-right:0; /*top:100px;*/ border:solid ; border-image: url(pictures/bgp.png)10 10 10 10; -webkit-border-image:url(pictures/bgp.png)10 10 10 10; -moz-border-image:url(pictures/bgp.png)10 10 10 10;

}

  1. pageWrapper {

width: 960px; text-align: center; margin-left: auto; margin-right: auto; background-color: transparent; }

  1. topNavigationBanner

{ position:fixed; width: 800px; top:0px; margin-top: 80px; margin-left:170px; padding: 0; height: 20px; background-color: transparent; }

  1. banner {

position:fixed; width: 790px; margin-top:90px; margin-left: 170px; padding: 0; height: 55px; background-color: transparent; }

  1. navigationBar {

position: fixed; text-align: center; margin-left: 0; margin-left: -20px; /*-40*/ top:200px; width: 0px; float: left; height: 800px; background-color: transparent; }

  1. mainField {

z-index: -1; position:relative; top:175px; left:180px; /*200px*/ float: left; width: 720px; height: 1500px; background-color: transparent; }

  1. footer {

clear: both; height: 40px; background-color: transparent; }