Team:Tianjin/page.css

From 2012.igem.org

(Difference between revisions)
 
(61 intermediate revisions not shown)
Line 1: Line 1:
-
body {
+
#header{height:160px;}
-
background:url("images/Pg-Bg.gif")
+
.block {margin:5px;background:#ccc;padding:10px;height:60px;width:60px;}
-
}
+
#toc{position:fixed;left:10px;top:0;border: 5px solid rgba(55,106,154,0.6);}
-
#toc{position:fixed;left:10px;}
+
#secondwrap {width:854px;min-height:600px;float:left;background:#fff;border:8px solid #000;}
#text-content {
#text-content {
-
width:830px;min-height:600px;float:left;background:#fff;
+
width:640px;min-height:600px;float:right;background:#fff;
-
opacity:0.8;text-indent:2em;font-size:140%;padding:5px;
+
font-size:100%;padding:5px;
-
border:1px solid #000;margin-top:105px;
+
}
}
-
#nav{width:600px;height:600px;position:absolute;right:2px}
+
#nav{width:450px;position:absolute;right:2px;top:110px;}
#nav-1,#nav-2,#nav-3,#nav-4{
#nav-1,#nav-2,#nav-3,#nav-4{
float:left;
float:left;
}
}
-
#nav-5,#nav-6,#nav-7,#nav-8,#nav-9{
+
#nav-5,#nav-6,#nav-7,#nav-8,#nav-9,#nav-A{
 +
float:right;
}
}
-
#right-fixed {position:fixed;width:120px;}
+
 
-
#track {width:120px;float:right;}
+
#right-fixed {width:90px;}
 +
.right-static {position:relative;top:-6px}
 +
.right-fixed {position:fixed;top:20px;}
 +
#track {width:90px;float:right;}
 +
#nav-A{width:60px;height:20px;background:#aaa;position:relative;}
 +
.navtext{position:absolute;}
 +
#navtext-A{position:absolute;left:0;top:0;}

Latest revision as of 12:25, 26 September 2012

  1. header{height:160px;}

.block {margin:5px;background:#ccc;padding:10px;height:60px;width:60px;}

  1. toc{position:fixed;left:10px;top:0;border: 5px solid rgba(55,106,154,0.6);}
  2. secondwrap {width:854px;min-height:600px;float:left;background:#fff;border:8px solid #000;}
  3. text-content {

width:640px;min-height:600px;float:right;background:#fff; font-size:100%;padding:5px; }

  1. nav{width:450px;position:absolute;right:2px;top:110px;}
  2. nav-1,#nav-2,#nav-3,#nav-4{

float:left; }

  1. nav-5,#nav-6,#nav-7,#nav-8,#nav-9,#nav-A{

float:right; }

  1. right-fixed {width:90px;}

.right-static {position:relative;top:-6px} .right-fixed {position:fixed;top:20px;}

  1. track {width:90px;float:right;}
  2. nav-A{width:60px;height:20px;background:#aaa;position:relative;}

.navtext{position:absolute;}

  1. navtext-A{position:absolute;left:0;top:0;}