Template:SUSTC/3

From 2012.igem.org

(Difference between revisions)
Line 107: Line 107:
}
}
-
 
+
.ibox{width:850px;height:210px;background:#ddd;margin:1em auto;border:1em solid #ddd;position:relative;overflow:hidden;}
-
.ibox
+
-
{
+
-
  width:900px;
+
-
  height:210px;
+
-
<!--  background:#ddd; -->
+
-
<!--  margin:3em auto; -->
+
-
  margin-top:5em;
+
-
  margin-left:2em;
+
-
+
-
  border:1em solid #F6C739 ;
+
-
  position:relative;
+
-
  overflow:hidden;
+
-
  z-index:-1;
+
-
  border-radius:7px;
+
-
}
+
.ibox .showbox{position:absolute;left:0;width:2550px;height:170px;background:#fff;}
.ibox .showbox{position:absolute;left:0;width:2550px;height:170px;background:#fff;}
.ibox .showbox ul li{float:left;margin:7px;}
.ibox .showbox ul li{float:left;margin:7px;}
Line 129: Line 114:
.ibox span.pre{left:10px;bottom:0;}
.ibox span.pre{left:10px;bottom:0;}
.ibox span.next{right:10px;bottom:0;}
.ibox span.next{right:10px;bottom:0;}
-
.ibox span.num
+
.ibox span.num{right:45%;bottom:0;background:#ddd;line-height:18px;}
-
{
+
.ibox span.num li{display:inline;margin:0 5px;padding:1px 5px;line-height:18px;}
-
  right:45%;
+
-
  bottom:0;
+
-
  background:#C3D46A;
+
-
  line-height:18px;
+
-
}
+
-
.ibox span.num li
+
-
{
+
-
  display:inline;
+
-
  margin:0 5px;
+
-
  padding:1px 5px;  
+
-
  line-height:18px;  
+
-
}
+
.ibox span.num .numcur{background:#a40000;color:#fff;}
.ibox span.num .numcur{background:#a40000;color:#fff;}

Revision as of 12:02, 1 August 2012




  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
  • demo
«向左滚动向右滚动»
  1. 1
  2. 2
  3. 3