Template:Team:HokkaidoU Japan/Top Header/CSS

From 2014.igem.org

(Difference between revisions)
 
(48 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<style type="text/css">
<style type="text/css">
-
#header-wrapper {
 
-
    width:100%;
 
-
    background-color:#CD0B1B
 
-
}
 
-
#top-header {
+
#header-image {
-
     width: 958px;
+
     width:960px;
-
     height: 235px;
+
     height:240px;
     margin: 0 auto;
     margin: 0 auto;
-
    background-image:url("https://static.igem.org/mediawiki/2014/7/77/HokkaidoU_Top_Header.png");
+
}
 +
#header-wrapper {
 +
    width:100%;
 +
    background-color:#d92424;
}
}
-
#bookmark-wrapper {
+
#header-top img
-
    margin: 0 auto;
+
{ width:100%;
-
    width: 750px;
+
-
   
+
}
}
-
.bookmark {
+
#header-top {
-
     width:100px;
+
     width:100%;
-
     height:250px;
+
     height:25px;
-
     background-color: #ee9fd8;
+
     background-color:#d92424;
-
    position: relative;
+
-
    margin: 0 40px;
+
-
    top: 150px;
+
-
    text-align:center;
+
-
    line-height: 14px;
+
-
    float: left;
+
}
}
-
.bookmark-contents {
+
#header-bottom {
-
     margin: 20px auto;
+
     width:100%;
 +
    height:180px;
 +
    background-color:#d92424;
}
}
-
.bookmark-contents-sub {
+
#header-bottom-contents {
-
     margin: 15px auto;
+
     width:960px;
-
     line-height: 20px;
+
     margin: 0 auto;
}
}
-
#bookmark-position {
+
#top-header {
-
     height: 200px;
+
     width: 960px;
-
     position: relative;
+
     height: 240px;
     margin: 0 auto;
     margin: 0 auto;
-
    overflow: hidden;
 
}
}
-
.bookmark-position > div {
+
.header-picture {
-
     display: inline-block;
+
     position:relative;
 +
    float:right;
 +
    top:20px;
 +
   
}
}
-
 
+
.header-picture > img {
-
<!-- megamenu-->
+
    height:150px;
-
/*
+
    position:relative;
-
  jQuery MegaMenu Plugin
+
-
  Author: GeekTantra
+
-
  Author URI: http://www.geektantra.com
+
-
*/
+
-
 
+
-
ul.megamenu {
+
-
  background-color: black;
+
-
  margin: 0px auto;
+
-
  padding: 5px 10px;
+
-
  list-style: none;
+
-
  display: none;
+
}
}
-
ul.megamenu li.mm-item {
+
.header-title {
-
}
+
    height:150px;
 +
    width:600px;
 +
    float:left;
 +
font-family: 'Special Elite', cursive;
 +
  color:white;
-
ul.megamenu li {
 
-
  margin: 0px;
 
-
  padding: 0px;
 
}
}
-
ul.megamenu li.clear-fix {
+
.header-title-top{
-
  float: none;
+
    height:50px;
-
  clear: both;
+
    margin:40px 0 20px;
-
  margin: 0px;
+
    font-size:30px;
-
  padding: 0px;
+
-
  height: 0px;
+
-
  font-size: 0px;
+
-
  line-height: 0px;
+
}
}
-
ul.megamenu a.mm-item-link:link, ul.megamenu a.mm-item-link:visited {
+
.header-title-bottom {
-
  position: relative;
+
    height:100px;
-
  display: inline-block;
+
    font-size:45px;
-
  color: #FFF;
+
-
  padding: 8px 15px;
+
-
  margin: 0px 3px 0px 0px;
+
-
  text-decoration: none;
+
-
  z-index: 10;
+
-
  font-size: 14px;
+
-
  border-top: 1px solid transparent;
+
-
  border-left: 1px solid transparent;
+
-
  border-right: 1px solid transparent;
+
}
}
-
*html ul.megamenu a.mm-item-link:link, *html ul.megamenu a.mm-item-link:visited {
 
-
  border-color: pink;
 
-
  filter: chroma(color=pink);
 
-
}
 
-
 
-
ul.megamenu a.mm-item-link-hover:link, ul.megamenu a.mm-item-link-hover:visited {
 
-
  color: #444;
 
-
  background: #FFF;
 
-
  border-top: 1px solid #777;
 
-
  border-left: 1px solid #777;
 
-
  border-right: 1px solid #777;
 
-
  -moz-border-radius: 3px 3px 0px 0px;
 
-
  border-radius: 3px 3px 0px 0px;
 
-
}
 
-
 
-
ul.megamenu div.mm-item-content {
 
-
  background: #FFF;
 
-
  padding: 0px;
 
-
  position: absolute;
 
-
  border: 1px solid #777;
 
-
  z-index: 9;
 
-
}
 
-
 
-
.mm-content-base {
 
-
  background: #FFF;
 
-
  position: relative;
 
-
  z-index: 11;
 
-
  padding: 10px;
 
-
}
 
-
.mm-js-shadow {
 
-
  background: #555;
 
-
  position: absolute;
 
-
  z-index: 10;
 
-
}
 
-
 
-
<!-- megamenu end-->
 
</style>
</style>
</html>
</html>

Latest revision as of 14:00, 17 October 2014