Template:WashUtop

From 2012.igem.org

(Difference between revisions)
Line 11: Line 11:
height: 10px;
height: 10px;
width: 970px;
width: 970px;
-
border: 0;
+
border: none;
z-index: 10;
z-index: 10;
}
}
Line 87: Line 87:
display: none;
display: none;
}
}
 +
#footer-box {
#footer-box {
background:#FFEFD5;
background:#FFEFD5;
 +
        float:center;
 +
        overflow:hidden;
 +
        display:block
 +
        width:965px;
 +
        margin-left:auto;
 +
        margin-right:auto;
 +
}
 +
 +
 +
#footer {
}
}
Line 96: Line 107:
}
}
-
/*Hacker ends here*/ /*Global Settings*/ /*Color Definition*/
+
/*Hacker ends here*/ /*Global Settings*/
-
 
+
/* CSS Document */
/* CSS Document */
 +
a:hover {
a:hover {
text-decoration: none;
text-decoration: none;
Line 106: Line 117:
cursor: pointer;
cursor: pointer;
}
}
 +
 +
body
 +
{background: url('https://static.igem.org/mediawiki/2012/f/f9/SaffronBackground.jpg');
 +
background-attachment:fixed;
 +
height:100%;
 +
}
 +
 +
#content
 +
{padding-left:1px; padding-right:1px;
 +
background-color:transparent;}
 +
 +
.p {color:#000000;
 +
font-size:14px;}
.main {
.main {
Line 117: Line 141:
}
}
-
div #part0 .links {
+
#missionstatement {
-
background-color: black;
+
        width: 947px;
 +
        float: center;
 +
background-color:#FFEDF5;
 +
        padding: 0px;
 +
height: 242px;
 +
        -webkit-box-shadow: 0 8px 6px -6px black;
 +
        -moz-box-shadow: 0 8px 6px -6px black;
 +
        box-shadow: 0 8px 6px -6px black;
 +
        border: 10px solid rgba(255, 255, 255, 0.4);
 +
        margin-top:20px;
 +
        margin-left:auto;
 +
        margin-right: auto;
 +
        font-size:115%;
}
}
-
div #part0 .sidebartop {
+
a{
-
background: url(blocktop3.png) transparent;
+
text-decoration:none;
}
}
-
div #part0 .sidebarbottom {
+
/* Navbar for Home Page */
-
background: url(blockbottom3.png) transparent;}
+
nav2 {
 +
  font-family: Helvetica, Arial, "Lucida Grande", sans-serif;
 +
  font-size: 14px;
 +
  float: left;
 +
  line-height: 1.5;
 +
  margin: 1px;
 +
  -webkit-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
 +
    -moz-box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
 +
          box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
 +
}
-
#banner {
+
.menu-item {
-
position: relative;
+
  background: #fff;
-
width: 930px;
+
  width: 137.5px;
-
height: 325px;
+
  float: left;
-
overflow: hidden;
+
}
 +
.menu-item2 {
 +
  background: #fff;
 +
  width: 137.5px;
 +
  float: left;
}
}
-
#banner_list img {
+
/*Menu Header Styles*/
-
border: 0px;
+
.menu-item h4 {
-
width: 930px;
+
  border-bottom: 1px solid rgba(0,0,0,0.3);
-
height: 325px;
+
  border-top: 1px solid rgba(255,255,255,0.2);
 +
  color: #fff;
 +
  font-size: 15px;
 +
  font-weight: 500;
 +
  padding: 7px 12px;
 +
 
 +
  /*Gradient*/
 +
  background: #a90329; /* Old browsers */
 +
  background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
 +
  background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
 +
  background: -o-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
 +
  background: -ms-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
 +
  background: linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
 +
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
}
-
#banner ul {
+
.menu-item2 h4 {
-
position: absolute;
+
  border-bottom: 1px solid rgba(0,0,0,0.3);
-
list-style-type: none;
+
  border-top: 1px solid rgba(255,255,255,0.2);
-
filter: Alpha(Opacity = 80);
+
  color: #fff;
-
opacity: 0.8;
+
  font-size: 15px;
-
border: 1px solid #fff;
+
  font-weight: 500;
-
z-index: 1002;
+
  padding: 7px 12px;
-
margin: 0;
+
 
-
padding: 0;
+
/*Gradient*/
-
bottom: 5px;
+
  background: #a90329; /* Old browsers */
-
right: 3px;
+
  background: -moz-linear-gradient(top, #a90329 0%, #8f0222 44%, #6d0019 100%); /* FF3.6+ */
-
width: 103px;
+
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a90329), color-stop(44%,#8f0222), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
-
height: 31px;
+
  background: -webkit-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
 +
  background: -o-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* Opera 11.10+ */
 +
  background: -ms-linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* IE10+ */
 +
  background: linear-gradient(top, #a90329 0%,#8f0222 44%,#6d0019 100%); /* W3C */
 +
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a90329', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
}
}
-
#banner ul li {
+
.menu-item h4:hover {
-
padding: 4px;
+
  background: #cc002c; /* Old browsers */
-
float: left;
+
  background: -moz-linear-gradient(top,  #cc002c 0%, #6d0019 100%); /* FF3.6+ */
-
display: block;
+
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc002c), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
-
color: #FFF;
+
  background: -webkit-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
-
border: #e5eaff 1px solid;
+
  background: -o-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* Opera 11.10+ */
-
background: #6f4f67;
+
  background: -ms-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* IE10+ */
-
cursor: pointer
+
  background: linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* W3C */
 +
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc002c', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
 +
 
}
}
 +
.menu-item2 h4:hover { 
 +
  background: #cc002c; /* Old browsers */
 +
  background: -moz-linear-gradient(top,  #cc002c 0%, #6d0019 100%); /* FF3.6+ */
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cc002c), color-stop(100%,#6d0019)); /* Chrome,Safari4+ */
 +
  background: -webkit-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* Chrome10+,Safari5.1+ */
 +
  background: -o-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* Opera 11.10+ */
 +
  background: -ms-linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* IE10+ */
 +
  background: linear-gradient(top,  #cc002c 0%,#6d0019 100%); /* W3C */
 +
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cc002c', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */
-
#banner ul li.on {
 
-
background: #900
 
}
}
-
#banner_list a {
+
.menu-item h4 a {
-
position: absolute;
+
  color: white;
-
left: 1px;
+
  display: block;
-
top: 0px;
+
  text-decoration: none;
-
height: 240px;
+
  width: 200px;
 +
  list-style: none;
}
}
-
a{
+
.menu-item2 h4 a {
-
text-decoration:none;
+
  color: white;
 +
  display: block;
 +
  text-decoration: none;
 +
  width: 200px;
 +
  list-style: none;
}
}
-
#welcome strong{
+
 
-
color:red;
+
 
 +
/*ul Styles*/
 +
.menu-item ul {
 +
  background: #fff;
 +
  font-size: 13px;
 +
  line-height: 30px;
 +
  height: 0px;
 +
  list-style-type: none;
 +
  overflow: hidden;
 +
  padding: 0px;
 +
  display:block;
 +
  position:absolute;
 +
 
 +
 
 +
  /*Animation*/
 +
  -webkit-transition: height 1s ease;
 +
    -moz-transition: height 1s ease;
 +
      -o-transition: height 1s ease;
 +
      -ms-transition: height 1s ease;
 +
          transition: height 1s ease;
}
}
-
/*First Item Styles*/
+
 
-
.alpha p {
+
.menu-item2 ul {
-
padding: 8px 12px;
+
  background: #fff;
-
color: #aaa;
+
  font-size: 13px;
 +
  line-height: 30px;
 +
  height: 0px;
 +
  list-style-type: none;
 +
  overflow: hidden;
 +
  padding: 0px;
 +
  display:block;
 +
  position:absolute;
 +
 
 +
/*Animation*/
 +
  -webkit-transition: height 1s ease;
 +
    -moz-transition: height 1s ease;
 +
      -o-transition: height 1s ease;
 +
      -ms-transition: height 1s ease;
 +
          transition: height 1s ease;
}
}
-
.alpha p a {
+
 
-
color: #aaa;
+
.menu-item:hover ul {
-
font-style: italic;
+
  height: 93px;
 +
  list-style: none;
 +
}
 +
.menu-item2:hover ul {
 +
  height: 62px;
 +
  list-style: none;
}
}
-
.alpha p a:hover {
+
.menu-item ul a {
-
color: #ccc;
+
  margin-left: 20px;
 +
  text-decoration: none;
 +
  color: #aaa;
 +
  display: block;
 +
  width: 160px;
 +
  float: none;
 +
 
}
}
-
</style>
+
.menu-item2 ul a {
-
</head>
+
  margin-left: 20px;
 +
  text-decoration: none;
 +
  color: #aaa;
 +
  display: block;
 +
  width: 160px;
 +
  float: none;
-
<body>
+
}
 +
/*li Styles*/
-
<div class="banner"><a href='https://2012.igem.org/Team:WashU'>
+
 
-
    <!--img src='https://static.igem.org/mediawiki/2012/e/e7/HeaderWashU.jpg' style="width: 965px"-->
+
 
-
<img src='https://lh6.googleusercontent.com/-c5PpgOPE9GE/T-Serah0tHI/AAAAAAAAAJI/c-YW88UISPM/s800/potential%2520product4.jpg' width=965px height=300px>
+
.menu-item li:hover {
-
    </a>
+
  background: #eee;
-
</div>
+
 
-
</style></html>
+
  list-style: none;
 +
}
 +
.menu-item2 li:hover {
 +
  background: #eee;
 +
 
 +
  list-style: none;
 +
}
 +
 
 +
/* Buttons on Bottom*/
 +
 
 +
  #BackToTop {
 +
  position:fixed;
 +
  bottom:0;
 +
  right:0;
 +
  }
 +
 
 +
  #Sitemap {
 +
  position:fixed;
 +
  bottom:0;
 +
  left:0;
 +
  }
 +
 
 +
/* Gallery and Quick-Access Buttons */
 +
 
 +
#galleryandbuttons{
 +
width: 947px;
 +
        float: center;
 +
background-color:#FFEDF5;
 +
        padding: 0px;
 +
height: 520px;
 +
        -webkit-box-shadow: 0 8px 6px -6px black;
 +
        -moz-box-shadow: 0 8px 6px -6px black;
 +
        box-shadow: 0 8px 6px -6px black;
 +
        border: 10px solid rgba(255, 255, 255, 0.4);
 +
        margin-top:20px;
 +
        margin-left:auto;
 +
        margin-right: auto;
 +
}
 +
 
 +
/* Sponsors */
 +
 
 +
#sponsors{
 +
width: 947px;
 +
        float: center;
 +
background-color:#f6e0f2;
 +
        padding: 0px;
 +
height: 550px;
 +
        -webkit-box-shadow: 0 8px 6px -6px black;
 +
        -moz-box-shadow: 0 8px 6px -6px black;
 +
        box-shadow: 0 8px 6px -6px black;
 +
        border: 10px solid rgba(255, 255, 255, 0.4);
 +
        margin-top:20px;
 +
        margin-left:auto;
 +
        margin-right: auto;
 +
 
 +
}
 +
 
 +
/* Team */
 +
 
 +
#team{
 +
width : 947 px;
 +
  float: center;
 +
background-color:#FFEDF5;
 +
        padding: 0px;
 +
height: 520px;
 +
        -webkit-box-shadow: 0 8px 6px -6px black;
 +
        -moz-box-shadow: 0 8px 6px -6px black;
 +
        box-shadow: 0 8px 6px -6px black;
 +
        border: 10px solid rgba(255, 255, 255, 0.4);
 +
        margin-top:20px;
 +
        margin-left:auto;
 +
        margin-right: auto;
 +
}
 +
</style>
 +
</html>

Revision as of 14:37, 30 July 2012