Team:Tianjin/page.css

From 2012.igem.org

(Difference between revisions)
 
(34 intermediate revisions not shown)
Line 1: Line 1:
#header{height:160px;}
#header{height:160px;}
.block {margin:5px;background:#ccc;padding:10px;height:60px;width:60px;}
.block {margin:5px;background:#ccc;padding:10px;height:60px;width:60px;}
-
#toc{position:fixed;left:10px;top:230px;}
+
#toc{position:fixed;left:10px;top:0;border: 5px solid rgba(55,106,154,0.6);}
 +
#secondwrap {width:854px;min-height:600px;float:left;background:#fff;border:8px solid #000;}
#text-content {
#text-content {
-
width:845px;min-height:600px;float:left;background:#fff;
+
width:640px;min-height:600px;float:right;background:#fff;
-
text-indent:2em;font-size:100%;padding:5px;
+
font-size:100%;padding:5px;
-
border:8px solid #000;
+
}
}
Line 16: Line 16:
}
}
-
#right-fixed {position:fixed;width:90px;}
+
#right-fixed {width:90px;}
 +
.right-static {position:relative;top:-6px}
 +
.right-fixed {position:fixed;top:20px;}
#track {width:90px;float:right;}
#track {width:90px;float:right;}
-
#nav-A{width:60px;height:20px;background:#aaa;a:link,a:visited{color:#AAA;}}
+
#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;}