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

From 2012.igem.org

(Difference between revisions)
 
(58 intermediate revisions not shown)
Line 4: Line 4:
   html {
   html {
     overflow-y: scroll;
     overflow-y: scroll;
-
    text-align: justify;
 
-
    font-family: 'Arial';
 
-
    font-size: 14px;
 
   }
   }
   body {
   body {
     background: #ffffff;
     background: #ffffff;
 +
    text-align: justify;
 +
    font-family: 'Arial';
 +
    font-size: 11px !important;
 +
  }
 +
 
 +
  a,
 +
  a:visited,
 +
  a:hover,
 +
  a:active {
 +
    color: #cccccc;
 +
    text-decoration: underline;
   }
   }
Line 43: Line 51:
   table {
   table {
-
     padding: 10px;
+
     padding: 7px 7px 7px 0;
-
     border-radus: 1em;
+
     border-radius: 1em;
 +
    background: rgba(255, 255, 255, 0.7);
   }
   }
-
   #hokkaidou-header-wrapper {
+
   table a,
-
    width: 100%;
+
  table a:visited,
-
    height: 55px;
+
  table a:active,
-
     background-color: #ffffff;
+
  table a:hover {
 +
     color: #666666;
   }
   }
-
   #hokkaidou-header {
+
   th, td {
-
     position: relative;
+
     text-align: right;
-
    width: 965px;
+
-
    height: 55px;
+
-
    margin: 0 auto;
+
   }
   }
-
   #hokkaidou-header div {
+
   .hokkaidou-calendar-div {
 +
    margin: 0 6px 15px 6px;
     float: left;
     float: left;
   }
   }
-
   #hokkaidou-header-logo {
+
   table.hokkaidou-calendar th {
-
     position: absolute;
+
     width: 25px;
-
     top: 0; left: 10px;
+
     font-size: 10px;
   }
   }
-
   #hokkaidou-header-nav {
+
   .hokkaidou-notebook-daily .hokkaidou-section {
-
    position: absolute;
+
-
    top: 19px; left: 180px;
+
-
    font-family: 'Arial';
+
-
    font-size: 12px;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav a {
+
-
    color: #6c6c6c;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav a:hover {
+
-
    color: #6c6c6c;
+
-
    text-decoration: none;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav a:visited {
+
-
    color: #6c6c6c;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav ul {
+
-
    list-style: none;
+
-
    margin: 0;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav > ul > li {
+
-
    position: relative;
+
-
    display: block;
+
-
    float: left;
+
-
    margin-right: 20px;
+
-
    height: 36px;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav ul li:hover > a {
+
-
    color: #032fad;
+
-
  }
+
-
 
+
-
  #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 {
+
   .hokkaidou-notebook-daily h3:before {
-
     display: block;
+
    content: " "
-
  }
+
     display: inline-block;
-
 
+
-
  #hokkaidou-header-nav > ul > li > div:hover {
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav li div ul {
+
     position: absolute;
     position: absolute;
-
     top: 36px; left: 0;
+
     top: 13px; right: 12px;
-
     margin-left: -10px;
+
     width: 0;
-
     padding-bottom: 10px;
+
     height: 0;
-
     background-color: #ffffff;
+
     margin-right: 5px;
-
     z-index: 1000;
+
     vertical-align: 0;
-
    border-radius: 0 0 1em 1em / 0 0 1em 1em;
+
     border-top: 5px solid transparent;
-
    box-shadow: 4px 2px 3px 0 rgba(0, 0, 0, 0.4);
+
     border-left: 5px solid #ffffff;
-
  }
+
     border-bottom: 5px solid transparent;
-
 
+
-
  #hokkaidou-header-nav li div ul:before,
+
-
  #hokkaidou-header-nav li div ul:after {
+
-
    display: block;
+
-
    position: absolute;
+
-
    top: 0;
+
-
    width: 1em;
+
-
    height: 1em;
+
-
    content: " ";
+
-
    z-index: 900;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav li div ul:before {
+
-
    left: -1em;
+
-
     border-top-right-radius: 0.7em;
+
-
    box-shadow: 5px -5px 0 0 #ffffff;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav li div ul:after {
+
-
    right: -1em;
+
-
     border-top-left-radius: 0.7em;
+
-
    box-shadow: -5px -5px 0 0 #ffffff;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-nav li div ul li {
+
-
    padding: 3px 10px;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-search {
+
-
    position: absolute;
+
-
    top: 19px; left: 740px;
+
-
    width: 161px;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-search input {
+
-
    width: 161px;
+
-
    height: 21px;
+
-
    background-image: url("/wiki/images/6/67/Hokkaidou-search.png");
+
-
    background-repeat: no-repeat;
+
-
     border: none;
+
-
    color: #ffffff;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-search input:focus {
+
-
    background-position: 0 -22px;
+
-
  }
+
-
 
+
-
  #hokkaidou-header-igem-official-link {
+
-
    position: absolute;
+
-
    top: 14px; right: 10px;
+
   }
   }
   #hokkaidou-wrapper-bg {
   #hokkaidou-wrapper-bg {
-
     width: 100%;
+
     min-width: 980px;
     background: #058da1;
     background: #058da1;
-
     background: linear-gradient(top, #058da1, #ffffff);
+
     background: linear-gradient(top, #058da1, #86c8d2);
 +
    background: -ms-linear-gradient(top, #058da1, #86c8d2);
 +
    background: -o-linear-gradient(top, #058da1, #86c8d2);
     background: -webkit-gradient(linear, left top, left bottom, from(#058da1), to(#86c8d2));
     background: -webkit-gradient(linear, left top, left bottom, from(#058da1), to(#86c8d2));
     background: -moz-linear-gradient(top, #058da1, #86c8d2);
     background: -moz-linear-gradient(top, #058da1, #86c8d2);
     background-repeat: no-repeat;
     background-repeat: no-repeat;
     background-position: 0 -30px;
     background-position: 0 -30px;
 +
    min-height: 380px;
   }
   }
Line 204: Line 119:
   }
   }
-
  #hokkaidou-column-nav {
 
-
    width: 210px;
 
-
    margin: 0 10px;
 
-
    float: left;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul {
 
-
    list-style: none;
 
-
    margin: 0;
 
-
    padding: 0;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav > ul > li {
 
-
    position: relative;
 
-
    display: block;
 
-
    margin: 2px 0 0 0;
 
-
    width: 100%;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav > ul > li > a,
 
-
  #hokkaidou-column-nav > ul > li > span:not(.caret),
 
-
  #hokkaidou-column-nav > ul > li > strong.selflink {
 
-
    display: inline-block;
 
-
    padding: 9px 0 0 12px;
 
-
    height: 25px;
 
-
    width: 198px;
 
-
    color: #ffffff;
 
-
    text-decoration: none;
 
-
    height: 32px;
 
-
    background: -webkit-gradient(linear, left top, left bottom, from(#155963), to(#094950));
 
-
    border-radius: 0.3em;
 
-
    cursor: pointer;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul li ul {
 
-
    display: none;
 
-
    overflow-x: hidden;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul li ul.overflow {
 
-
    height: 300px;
 
-
    overflow-y: scroll;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul li ul li {
 
-
    background: rgba(0, 0, 0, 0.75);
 
-
    border-radius: 0.3em;
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul li ul li:hover {
 
-
    background: rgba(0, 0, 0, 0.85);
 
-
  }
 
-
 
-
  #hokkaidou-column-nav ul li ul li a,
 
-
  #hokkaidou-column-nav ul li ul li strong.selflink {
 
-
    display: inline-block;
 
-
    padding: 9px 0 0 12px;
 
-
    height: 25px;
 
-
    width: 100%;
 
-
    color: #ffffff;
 
-
    text-decoration: none;
 
-
  }
 
-
 
-
  .caret-bottom {
 
-
    display: inline-block;
 
-
    position: absolute;
 
-
    top: 16px; right: 9px;
 
-
    width: 0;
 
-
    height: 0;
 
-
    margin-left: 5px;
 
-
    vertical-align: 3px;
 
-
    border-top: 5px solid #ffffff;
 
-
    border-right: 5px solid transparent;
 
-
    border-left: 5px solid transparent;
 
-
  }
 
-
 
-
  .caret-left {
 
-
    display: inline-block;
 
-
    position: absolute;
 
-
    top: 13px; right: 12px;
 
-
    width: 0;
 
-
    height: 0;
 
-
    margin-left: 5px;
 
-
    vertical-align: 0;
 
-
    border-top: 5px solid transparent;
 
-
    border-right: 5px solid #ffffff;
 
-
    border-bottom: 5px solid transparent;
 
-
  }
 
   #hokkaidou-contents .hokkaidou-section {
   #hokkaidou-contents .hokkaidou-section {
-
    display: block;
 
     padding: 25px 25px;
     padding: 25px 25px;
     background: rgba(0, 25, 105, 0.35);
     background: rgba(0, 25, 105, 0.35);
Line 333: Line 159:
     height: 30px;
     height: 30px;
     width: 100%;
     width: 100%;
 +
    background: #ffffff;
 +
    background: linear-gradient(top, #86c8d2, #ffffff);
 +
    background: -ms-linear-gradient(top, #86c8d2, #ffffff);
 +
    background: -o-linear-gradient(top, #86c8d2, #ffffff);
     background: -webkit-gradient(linear, left top, left bottom, from(#86c8d2), to(#ffffff));
     background: -webkit-gradient(linear, left top, left bottom, from(#86c8d2), to(#ffffff));
 +
    background: -moz-linear-gradient(top, #86c8d2, #ffffff);
     z-index: -1;
     z-index: -1;
   }
   }

Latest revision as of 02:21, 27 September 2012