Template:Team:HokkaidoU Japan/stylesheets/global.css

From 2012.igem.org

(Difference between revisions)
Line 88: Line 88:
   }
   }
-
   #hokkaidou-header-nav > ul > li:hover > a {
+
   #hokkaidou-header-nav ul li:hover > a {
     color: #032fad;
     color: #032fad;
   }
   }
-
   #hokkaidou-header-nav li ul {
+
   #hokkaidou-header-nav > ul > li > div {
     display: none;
     display: none;
 +
    position: absolute;
 +
    top: 0; left: 0;
 +
    background: transparent;
 +
    height: auto;
 +
  }
 +
 +
  #hokkaidou-header-nav > ul > li:hover > div {
 +
    display: block;
 +
  }
 +
 +
  #hokkaidou-header-nav > ul > li > div:hover {
 +
  }
 +
 +
  #hokkaidou-header-nav li div ul {
     position: absolute;
     position: absolute;
     top: 36px; left: 0;
     top: 36px; left: 0;
     margin-left: -10px;
     margin-left: -10px;
-
    min-width: 120px;
 
     padding-bottom: 10px;
     padding-bottom: 10px;
     background-color: #ffffff;
     background-color: #ffffff;
Line 105: Line 118:
   }
   }
-
   #hokkaidou-header-nav li ul:before,
+
   #hokkaidou-header-nav li div ul:before,
-
   #hokkaidou-header-nav li ul:after {
+
   #hokkaidou-header-nav li div ul:after {
     display: block;
     display: block;
     position: absolute;
     position: absolute;
Line 116: Line 129:
   }
   }
-
   #hokkaidou-header-nav li ul:before {
+
   #hokkaidou-header-nav li div ul:before {
     left: -1em;
     left: -1em;
     border-top-right-radius: 0.7em;
     border-top-right-radius: 0.7em;
Line 122: Line 135:
   }
   }
-
   #hokkaidou-header-nav li ul:after {
+
   #hokkaidou-header-nav li div ul:after {
     right: -1em;
     right: -1em;
     border-top-left-radius: 0.7em;
     border-top-left-radius: 0.7em;
Line 128: Line 141:
   }
   }
-
   #hokkaidou-header-nav li ul li {
+
   #hokkaidou-header-nav li div ul li {
-
     padding: 0 10px;
+
     padding: 3px 10px;
   }
   }
Line 319: Line 332:
   #hokkaidou-footer .hokkaidou-sponsors-row img { position: absolute; top: 0; }
   #hokkaidou-footer .hokkaidou-sponsors-row img { position: absolute; top: 0; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-cosmo { left: 130px; }
+
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-cosmo { left: 70px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-univ { left: 400px; }
+
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-idt { left: 323px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-primary { left: 603px; }
+
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-toyobo { left: 536px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-hokuto { left: 120px; }
+
  #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-mbl { left: 690px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-amino { left: 360px; }
+
  #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-econixe { left: 850px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-econixe { left: 555px; }
+
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-hokuto { left: 70px; }
-
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-mendel { left: 660px; }
+
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-amino { left: 275px; }
 +
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-primary { left: 440px; }
 +
   #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-mendel { left: 630px; }
 +
  #hokkaidou-footer .hokkaidou-sponsors-row #hokkaidou-sponsor-univ { left: 770px; }
   #footer-box {
   #footer-box {

Revision as of 07:53, 26 September 2012