Team:Glendale CC AZ/main.css

From 2013.igem.org

(Difference between revisions)
Line 18: Line 18:
<head>
<head>
<style>
<style>
-
 
+
body
-
body { background:url(https://static.igem.org/mediawiki/2013/6/68/BackgroundGCC.png) repeat; }
+
{
-
figure { margin:20px auto; }
+
background:#ffffff url('img_tree.png') no-repeat right top;
-
 
+
margin-right:200px;
-
 
+
}
</style>
</style>
Line 34: Line 34:
-
#contentSub, #search-controls, .firstHeading, #catlinks, #p-logo {
+
#contentSub, #search-controls, #footer-box, .firstHeading, #catlinks, #p-logo {
     display:none;}
     display:none;}
#top-section {
#top-section {
Line 46: Line 46:
#menubar > ul > li:last-child {
#menubar > ul > li:last-child {
     display: none;}
     display: none;}
-
/* Resizes the menubar to fit the links (default is 400px) */
+
/* Resizes the menubar to fik the links (default is 400px) */
#menubar {
#menubar {
     width: auto;}
     width: auto;}
Line 113: Line 113:
-
#cssmenu ul {
+
#cssmenu ul,
 +
#cssmenu li,
 +
#cssmenu span,
 +
#cssmenu a {
   margin: 0;
   margin: 0;
   padding: 0;
   padding: 0;
 +
  position: relative;
}
}
-
#cssmenu li {
+
#cssmenu {
-
   margin: 0;
+
   height: 49px;
-
   padding: 0;
+
  border-radius: 5px 5px 0 0;
 +
   -moz-border-radius: 5px 5px 0 0;
 +
  -webkit-border-radius: 5px 5px 0 0;
 +
  background: #141414;
 +
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%;
 +
  background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
 +
  background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
 +
  border-bottom: 2px solid #e00f16;
 +
}
 +
#cssmenu:after,
 +
#cssmenu ul:after {
 +
  content: '';
 +
  display: block;
 +
  clear: both;
}
}
#cssmenu a {
#cssmenu a {
-
   margin: 0;
+
   background: #141414;
-
   padding: 0;
+
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALElEQVQImWMwMrJi+v//PxMDw3+m//8ZoPR/qBgDEhuXGLoeYswhXg8R5gAAdVpfoJ3dB5oAAAAASUVORK5CYII=) 100% 100%;
 +
  background: -moz-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #32323a), color-stop(100%, #141414));
 +
  background: -webkit-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -o-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: -ms-linear-gradient(top, #32323a 0%, #141414 100%);
 +
  background: linear-gradient(to bottom, #32323a 0%, #141414 100%);
 +
  color: #ffffff;
 +
  display: inline-block;
 +
  font-family: Helvetica, Arial, Verdana, sans-serif;
 +
  font-size: 12px;
 +
  line-height: 49px;
 +
   padding: 0 20px;
 +
  text-decoration: none;
}
}
#cssmenu ul {
#cssmenu ul {
   list-style: none;
   list-style: none;
}
}
-
#cssmenu a {
+
#cssmenu > ul {
-
   text-decoration: none;
+
   float: left;
-
}
+
-
#cssmenu {
+
-
  height: 70px;
+
-
  background-color: #232323;
+
-
  box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.4);
+
-
  width: auto;
+
}
}
#cssmenu > ul > li {
#cssmenu > ul > li {
   float: left;
   float: left;
-
  margin-left: 15px;
 
-
  position: relative;
 
-
}
 
-
#cssmenu > ul > li > a {
 
-
  color: #a0a0a0;
 
-
  font-family: Verdana, 'Lucida Grande';
 
-
  font-size: 15px;
 
-
  line-height: 70px;
 
-
  padding: 15px 20px;
 
-
  -webkit-transition: color .15s;
 
-
  -moz-transition: color .15s;
 
-
  -o-transition: color .15s;
 
-
  transition: color .15s;
 
}
}
-
#cssmenu > ul > li > a:hover {
+
#cssmenu > ul > li:hover:after {
-
  color: #ffffff;
+
   content: '';
-
}
+
   display: block;
-
#cssmenu > ul > li > ul {
+
   width: 0;
-
   opacity: 0;
+
   height: 0;
-
   visibility: hidden;
+
-
   padding: 16px 0 20px 0;
+
-
   background-color: #fafafa;
+
-
  text-align: left;
+
   position: absolute;
   position: absolute;
-
  top: 55px;
 
   left: 50%;
   left: 50%;
-
   margin-left: -90px;
+
   bottom: 0;
-
   width: 180px;
+
   border-left: 10px solid transparent;
-
  -webkit-transition: all .3s .1s;
+
   border-right: 10px solid transparent;
-
  -moz-transition: all .3s .1s;
+
   border-bottom: 10px solid #e00f16;
-
  -o-transition: all .3s .1s;
+
   margin-left: -10px;
-
  transition: all .3s .1s;
+
-
  -webkit-border-radius: 5px;
+
-
   -moz-border-radius: 5px;
+
-
   border-radius: 5px;
+
-
   -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
-
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
-
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
}
}
-
#cssmenu > ul > li:hover > ul {
+
#cssmenu > ul > li:first-child > a {
-
   opacity: 1;
+
   border-radius: 5px 0 0 0;
-
   top: 65px;
+
   -moz-border-radius: 5px 0 0 0;
-
   visibility: visible;
+
   -webkit-border-radius: 5px 0 0 0;
}
}
-
#cssmenu > ul > li > ul:before {
+
#cssmenu > ul > li:last-child > a {
-
   content: '';
+
  border-radius: 0 5px 0 0;
 +
  -moz-border-radius: 0 5px 0 0;
 +
  -webkit-border-radius: 0 5px 0 0;
 +
}
 +
#cssmenu > ul > li.active > a {
 +
  box-shadow: inset 0 0 3px #000000;
 +
  -moz-box-shadow: inset 0 0 3px #000000;
 +
  -webkit-box-shadow: inset 0 0 3px #000000;
 +
  background: #070707;
 +
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%;
 +
  background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
 +
  background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
 +
}
 +
#cssmenu > ul > li:hover > a {
 +
   background: #070707;
 +
  background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAxCAIAAACUDVRzAAAAA3NCSVQICAjb4U/gAAAALklEQVQImWNQU9Nh+v//PxMDw3+m//8ZkNj/mRgYIHxy5f//Z0BSi18e2TwS5QG4MGB54HL+mAAAAABJRU5ErkJggg==) 100% 100%;
 +
  background: -moz-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #26262c), color-stop(100%, #070707));
 +
  background: -webkit-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -o-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: -ms-linear-gradient(top, #26262c 0%, #070707 100%);
 +
  background: linear-gradient(to bottom, #26262c 0%, #070707 100%);
 +
  box-shadow: inset 0 0 3px #000000;
 +
  -moz-box-shadow: inset 0 0 3px #000000;
 +
  -webkit-box-shadow: inset 0 0 3px #000000;
 +
}
 +
#cssmenu .has-sub {
 +
  z-index: 1;
 +
}
 +
#cssmenu .has-sub:hover > ul {
   display: block;
   display: block;
-
  border-color: transparent transparent #fafafa transparent;
+
}
-
  border-style: solid;
+
#cssmenu .has-sub ul {
-
   border-width: 10px;
+
   display: none;
   position: absolute;
   position: absolute;
-
   top: -20px;
+
   width: 200px;
-
   left: 50%;
+
   top: 100%;
-
   margin-left: -10px;
+
   left: 0;
}
}
-
#cssmenu > ul ul > li {
+
#cssmenu .has-sub ul li {
-
   position: relative;
+
   *margin-bottom: -1px;
}
}
-
#cssmenu ul ul a {
+
#cssmenu .has-sub ul li a {
-
   color: #323232;
+
   background: #e00f16;
-
   font-family: Verdana, 'Lucida Grande';
+
   border-bottom: 1px dotted #ec6f73;
-
   font-size: 13px;
+
   filter: none;
-
   background-color: #fafafa;
+
   font-size: 11px;
-
  padding: 5px 8px 7px 16px;
+
   display: block;
   display: block;
-
   -webkit-transition: background-color 0.1s;
+
   line-height: 120%;
-
   -moz-transition: background-color 0.1s;
+
   padding: 10px;
-
  -o-transition: background-color 0.1s;
+
-
  transition: background-color 0.1s;
+
}
}
-
#cssmenu ul ul a:hover {
+
#cssmenu .has-sub ul li:hover a {
-
   background-color: #f0f0f0;
+
   background: #b00c11;
 +
}
 +
#cssmenu .has-sub .has-sub:hover > ul {
 +
  display: block;
}
}
-
#cssmenu ul ul ul {
+
#cssmenu .has-sub .has-sub ul {
-
   visibility: hidden;
+
   display: none;
-
  opacity: 0;
+
   position: absolute;
   position: absolute;
-
  top: -16px;
+
   left: 100%;
-
   left: 206px;
+
   top: 0;
-
   padding: 16px 0 20px 0;
+
-
  background-color: #fafafa;
+
-
  text-align: left;
+
-
  width: 180px;
+
-
  -webkit-transition: all .3s;
+
-
  -moz-transition: all .3s;
+
-
  -o-transition: all .3s;
+
-
  transition: all .3s;
+
-
  -webkit-border-radius: 5px;
+
-
  -moz-border-radius: 5px;
+
-
  border-radius: 5px;
+
-
  -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
-
  -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
-
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.4);
+
}
}
-
#cssmenu ul ul > li:hover > ul {
+
#cssmenu .has-sub .has-sub ul li a {
-
   opacity: 1;
+
   background: #b00c11;
-
  left: 190px;
+
   border-bottom: 1px dotted #d06d70;
-
   visibility: visible;
+
}
}
-
#cssmenu ul ul a:hover {
+
#cssmenu .has-sub .has-sub ul li a:hover {
-
   background-color: #cc2c24;
+
   background: #80090d;
-
  color: #f0f0f0;
+
}
}

Revision as of 02:16, 17 August 2013

Igemlogo.jpg
Protocols
PCR