Template:Team:HokkaidoU Japan/css/toc.css

From 2011.igem.org

(Difference between revisions)
(Created page with "<html><style> #toc{ display: block; position: fixed; top: 20%; right: 0; width: 300px; height: 40%; overflow: scroll; z-index: 10000; } div.toc-tab { backgroun...")
 
(11 intermediate revisions not shown)
Line 1: Line 1:
<html><style>
<html><style>
-
#toc{
+
div.toc-wrapper {
   display: block;
   display: block;
   position: fixed;
   position: fixed;
Line 6: Line 6:
   right: 0;
   right: 0;
   width: 300px;
   width: 300px;
-
   height: 40%;
+
   height: 70%;
-
  overflow: scroll;
+
   z-index: 10000;
   z-index: 10000;
 +
}
 +
 +
#toc {
 +
  display: block;
 +
  height: 100%;
 +
  overflow: auto;
}
}
div.toc-tab {
div.toc-tab {
-
   background-color: red;
+
   background: #dedede url(/wiki/images/f/f8/HokkaidoU_toc_tab.png) left top no-repeat;
   top: 20%;
   top: 20%;
   right: 0;
   right: 0;
Line 20: Line 25:
   position: fixed;
   position: fixed;
   z-index: 9999;
   z-index: 9999;
 +
  cursor: pointer;
}
}
-
#toc div.close {
+
div.toc-wrapper div.close {
-
   background-color: black;
+
   background: url(/wiki/images/7/73/HokkaidoU_toc_close.png) left top no-repeat;
-
   top : 5px;
+
   top : 10px;
-
   right : 5px;
+
   right : 20px;
-
   width: 16px;
+
   width: 20px;
-
   height: 16px;
+
   height: 20px;
   display: block;
   display: block;
   position: absolute;
   position: absolute;

Latest revision as of 17:29, 5 October 2011