Team:Ravenwood Raptors

From 2014hs.igem.org

(Difference between revisions)
Line 44: Line 44:
/* Navigation */
/* Navigation */
#cssmenu {
#cssmenu {
-
  position: relative;
+
position: relative;
-
  height: 44px;
+
height: 44px;
-
  background: url('http://oi59.tinypic.com/2qvgkcw.jpg');
+
background: url('http://oi59.tinypic.com/2qvgkcw.jpg');
-
  width: auto;
+
width: auto;
}
}
#cssmenu ul {
#cssmenu ul {
-
  list-style: none;
+
list-style: none;
-
  padding: 0;
+
padding: 0;
-
  margin: 0;
+
margin: 0;
-
  line-height: 1;
+
line-height: 1;
}
}
#cssmenu > ul {
#cssmenu > ul {
-
  position: relative;
+
position: relative;
-
  display: block;
+
display: block;
-
  background: url('http://oi59.tinypic.com/2qvgkcw.jpg');
+
background: url('http://oi59.tinypic.com/2qvgkcw.jpg');
-
  height: 32px;
+
height: 32px;
-
  width: 100%;
+
width: 100%;
-
  z-index: 500;
+
z-index: 500;
}
}
#cssmenu > ul > li {
#cssmenu > ul > li {
-
  display: block;
+
display: block;
-
  position: relative;
+
position: relative;
-
  float: left;
+
float: left;
-
  margin: 0;
+
margin: 0;
-
  padding: 0;
+
padding: 0;
}
}
#cssmenu > ul > #menu-button {
#cssmenu > ul > #menu-button {
-
  display: none;
+
display: none;
}
}
#cssmenu ul li a {
#cssmenu ul li a {
-
  display: block;
+
display: block;
-
  font-family: Helvetica, sans-serif;
+
font-family: Helvetica, sans-serif;
-
  text-decoration: none;
+
text-decoration: none;
}
}
#cssmenu > ul > li > a {
#cssmenu > ul > li > a {
-
  font-size: 14px;
+
font-size: 14px;
-
  font-weight: bold;
+
font-weight: bold;
-
  padding: 15px 20px;
+
padding: 15px 20px;
-
  color: black;
+
color: black;
-
  text-transform: uppercase;
+
text-transform: uppercase;
-
  -webkit-transition: color 0.25s ease-out;
+
-webkit-transition: color 0.25s ease-out;
-
  -moz-transition: color 0.25s ease-out;
+
-moz-transition: color 0.25s ease-out;
-
  -ms-transition: color 0.25s ease-out;
+
-ms-transition: color 0.25s ease-out;
-
  -o-transition: color 0.25s ease-out;
+
-o-transition: color 0.25s ease-out;
-
  transition: color 0.25s ease-out;
+
transition: color 0.25s ease-out;
}
}
#cssmenu > ul > li.has-sub > a {
#cssmenu > ul > li.has-sub > a {
-
  padding-right: 32px;
+
padding-right: 32px;
}
}
#cssmenu > ul > li:hover > a {
#cssmenu > ul > li:hover > a {
-
  color: #9c9c9c;
+
color: #9c9c9c;
}
}
#cssmenu li.has-sub::after {
#cssmenu li.has-sub::after {
-
  display: block;
+
display: block;
-
  content: '';
+
content: '';
-
  position: absolute;
+
position: absolute;
-
  width: 0;
+
width: 0;
-
  height: 0;
+
height: 0;
}
}
#cssmenu > ul > li.has-sub::after {
#cssmenu > ul > li.has-sub::after {
-
  right: 10px;
+
right: 10px;
-
  top: 20px;
+
top: 20px;
-
  border: 5px solid transparent;
+
border: 5px solid transparent;
-
  border-top-color: black;
+
border-top-color: black;
}
}
#cssmenu > ul > li:hover::after {
#cssmenu > ul > li:hover::after {
-
  border-top-color: #9c9c9c;
+
border-top-color: #9c9c9c;
}
}
#indicatorContainer {
#indicatorContainer {
-
  position: absolute;
+
position: absolute;
-
  height: 12px;
+
height: 12px;
-
  width: 100%;
+
width: 100%;
-
  bottom: 0px;
+
bottom: 0px;
-
  overflow: hidden;
+
overflow: hidden;
-
  z-index: -1;
+
z-index: -1;
}
}
#pIndicator {
#pIndicator {
-
  position: absolute;
+
position: absolute;
-
  height: 0;
+
height: 0;
-
  width: 100%;
+
width: 100%;
-
  border: 12px solid transparent;
+
border: 12px solid transparent;
-
  border-top-color: #2b2f3a;
+
border-top-color: #2b2f3a;
-
  z-index: -2;
+
z-index: -2;
-
  -webkit-transition: left .25s ease;
+
-webkit-transition: left .25s ease;
-
  -moz-transition: left .25s ease;
+
-moz-transition: left .25s ease;
-
  -ms-transition: left .25s ease;
+
-ms-transition: left .25s ease;
-
  -o-transition: left .25s ease;
+
-o-transition: left .25s ease;
-
  transition: left .25s ease;
+
transition: left .25s ease;
}
}
#cIndicator {
#cIndicator {
-
  position: absolute;
+
position: absolute;
-
  height: 0;
+
height: 0;
-
  width: 100%;
+
width: 100%;
-
  border: 12px solid transparent;
+
border: 12px solid transparent;
-
  border-top-color: #2b2f3a;
+
border-top-color: #2b2f3a;
-
  top: -12px;
+
top: -12px;
-
  right: 100%;
+
right: 100%;
-
  z-index: -2;
+
z-index: -2;
}
}
#cssmenu ul ul {
#cssmenu ul ul {
-
  position: absolute;
+
position: absolute;
-
  left: -9999px;
+
left: -9999px;
-
  top: 70px;
+
top: 70px;
-
  opacity: 0;
+
opacity: 0;
-
  -webkit-transition: opacity .3s ease, top .25s ease;
+
-webkit-transition: opacity .3s ease, top .25s ease;
-
  -moz-transition: opacity .3s ease, top .25s ease;
+
-moz-transition: opacity .3s ease, top .25s ease;
-
  -ms-transition: opacity .3s ease, top .25s ease;
+
-ms-transition: opacity .3s ease, top .25s ease;
-
  -o-transition: opacity .3s ease, top .25s ease;
+
-o-transition: opacity .3s ease, top .25s ease;
-
  transition: opacity .3s ease, top .25s ease;
+
transition: opacity .3s ease, top .25s ease;
-
  z-index: 1000;
+
z-index: 1000;
}
}
#cssmenu ul ul ul {
#cssmenu ul ul ul {
-
  top: 37px;
+
top: 37px;
-
  padding-left: 5px;
+
padding-left: 5px;
}
}
#cssmenu ul ul li {
#cssmenu ul ul li {
-
  position: relative;
+
position: relative;
}
}
#cssmenu > ul > li:hover > ul {
#cssmenu > ul > li:hover > ul {
-
  left: auto;
+
left: auto;
-
  top: 44px;
+
top: 44px;
-
  opacity: 1;
+
opacity: 1;
}
}
#cssmenu ul ul li:hover > ul {
#cssmenu ul ul li:hover > ul {
-
  left: 170px;
+
left: 170px;
-
  top: 0;
+
top: 0;
-
  opacity: 1;
+
opacity: 1;
}
}
#cssmenu ul ul li a {
#cssmenu ul ul li a {
-
  width: 130px;
+
width: 130px;
-
  border-bottom: 1px solid #eee;
+
border-bottom: 1px solid #eee;
-
  padding: 10px 20px;
+
padding: 10px 20px;
-
  font-size: 12px;
+
font-size: 12px;
-
  color: #7a8189;
+
color: #7a8189;
-
  background: #fff;
+
background: #fff;
-
  -webkit-transition: all .35s ease;
+
-webkit-transition: all .35s ease;
-
  -moz-transition: all .35s ease;
+
-moz-transition: all .35s ease;
-
  -ms-transition: all .35s ease;
+
-ms-transition: all .35s ease;
-
  -o-transition: all .35s ease;
+
-o-transition: all .35s ease;
   transition: all .35s ease;
   transition: all .35s ease;
}
}
#cssmenu ul ul li:hover > a {
#cssmenu ul ul li:hover > a {
-
  background: #f6f6f6;
+
background: #f6f6f6;
-
  color: #8c9195;
+
color: #8c9195;
}
}
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul li.last > a {
#cssmenu ul ul li.last > a {
-
  border-bottom: 0;
+
border-bottom: 0;
}
}
.submenuArrow {
.submenuArrow {
-
  border: 6px solid transparent;
+
border: 6px solid transparent;
-
  width: 0;
+
width: 0;
-
  height: 0;
+
height: 0;
-
  border-bottom-color: #fff;
+
border-bottom-color: #fff;
-
  position: absolute;
+
position: absolute;
-
  top: -12px;
+
top: -12px;
}
}
#cssmenu ul ul li.has-sub::after {
#cssmenu ul ul li.has-sub::after {
-
  border: 4px solid transparent;
+
border: 4px solid transparent;
-
  border-left-color: #7a8189;
+
border-left-color: #7a8189;
-
  right: 10px;
+
right: 10px;
-
  top: 12px;
+
top: 12px;
-
  -moz-transition: all .2s ease;
+
-moz-transition: all .2s ease;
-
  -ms-transition: all .2s ease;
+
-ms-transition: all .2s ease;
-
  -o-transition: all .2s ease;
+
-o-transition: all .2s ease;
-
  transition: all .2s ease;
+
transition: all .2s ease;
-
  -webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
+
-webkit-transition: -webkit-transform 0.2s ease, right 0.2s ease;
}
}
#cssmenu ul ul li.has-sub:hover::after {
#cssmenu ul ul li.has-sub:hover::after {
-
  border-left-color: #fff;
+
border-left-color: #fff;
-
  right: -5px;
+
right: -5px;
-
  -webkit-transform: rotateY(180deg);
+
-webkit-transform: rotateY(180deg);
-
  -ms-transform: rotateY(180deg);
+
-ms-transform: rotateY(180deg);
-
  -moz-transform: rotateY(180deg);
+
-moz-transform: rotateY(180deg);
-
  -o-transform: rotateY(180deg);
+
-o-transform: rotateY(180deg);
-
  transform: rotateY(180deg);
+
transform: rotateY(180deg);
}
}
@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {
@media all and (max-width: 800px), only screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min--moz-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (-o-min-device-pixel-ratio: 2/1) and (max-width: 1024px), only screen and (min-device-pixel-ratio: 2) and (max-width: 1024px), only screen and (min-resolution: 192dpi) and (max-width: 1024px), only screen and (min-resolution: 2dppx) and (max-width: 1024px) {

Revision as of 22:13, 5 April 2014

Ravenwood Raptors