Team:HUST-China/Templates/css2

From 2011.igem.org

(Difference between revisions)
 
(28 intermediate revisions not shown)
Line 2: Line 2:
<style type="text/css">
<style type="text/css">
-
body {background:#f0f0f0;
+
body {background-image:url(https://static.igem.org/mediawiki/2011/1/1f/Background.jpg);
 +
background-attachment:fixed;
 +
background-repeat:repeat;
color:#999;
color:#999;
font-size:12px;  
font-size:12px;  
-
font-family:"Lucida Grande",Arial,sans-serif;
 
line-height:1.5em;}
line-height:1.5em;}
* { height:auto;
* { height:auto;
Line 13: Line 14:
li {list-style:none;}
li {list-style:none;}
#wrap { margin:auto;
#wrap { margin:auto;
-
width:960px;}
+
width:977px;
 +
                }
/* @group header */
/* @group header */
-
#header {margin-top:40px;}
+
#header2 {margin-top:10px;
 +
          }
/* @group main_nav */
/* @group main_nav */
-
#main_nav ul {font-size: 13px;
+
#main_nav ul {font-size: 10px;
list-style: none;}
list-style: none;}
-
#main_nav { background:url(https://static.igem.org/mediawiki/2011/5/58/Hust_team_menubg.gif);
+
#main_nav { background:url(https://static.igem.org/mediawiki/2011/2/20/Hust_navi_background.png);
background-repeat:no-repeat;
background-repeat:no-repeat;
height: 41px;
height: 41px;
overflow: visible;
overflow: visible;
-
padding-left: 20px;}
+
padding-left: 20px;
 +
                        margin-left:-6px;
 +
                        }
#main_nav li {float: left;
#main_nav li {float: left;
position: relative;
position: relative;
Line 52: Line 57:
color: #000;}
color: #000;}
#main_nav li ul {position: absolute;
#main_nav li ul {position: absolute;
-
top: 36px;left: 0px;
+
top: 32px;left: -10px;
background: #fff;
background: #fff;
border-color: #1d70ba;
border-color: #1d70ba;

Latest revision as of 18:50, 5 October 2011