Template:Team:UW/CSS

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
<style type="text/css">
<style type="text/css">
-
#contentSub, #footer-box, #catlinks, #search-controls,#p-logo, .printfooter, .visualClear {display: none;} /*-- hides default wiki settings --*/
 
-
.firstHeading {
+
   /*-- hides default wiki settings --*/
-
   height:2px;
+
   #contentSub, #footer-box, #catlinks, #search-controls,#p-logo, .printfooter, .visualClear {display: none;}
-
   visibility:hidden;
+
-
}
+
-
h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
+
  .firstHeading {
 +
    height:2px;
 +
    visibility:hidden;
 +
  }
-
#top-section { /*-- styling for default menu bar (edit, page, history, etc.) --*/
+
  h1, h2, h3, h4, h5 { font-family: Georgia, Times, "Times New Roman", serif;}
-
  background-color: #383838;
+
-
  border: 0 none;
+
-
  height: 14px;
+
-
  z-index: 100;
+
-
  top: 0;
+
-
  position: fixed;
+
-
  width: 975px;
+
-
  left: 50%;
+
-
  margin-left: -487px;
+
-
}
+
 +
  /*-- styling for default menu bar (edit, page, history, etc.) --*/
 +
  #top-section {
 +
    background-color: #383838;
 +
    border: 0 none;
 +
    height: 14px;
 +
    z-index: 100;
 +
    top: 0;
 +
    position: fixed;
 +
    width: 975px;
 +
    left: 50%;
 +
    margin-left: -487px;
 +
  }
-
#menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover { /*-- styling for default menu bar links (edit, page, history, etc.) --*/
+
  /*-- styling for default menu bar links (edit, page, history, etc.) --*/
-
  color: #727272;
+
  #menubar a:link, #menubar a:active, #menubar a:visited, #menubar a:hover, #menubar:hover {
-
  text-decoration: none;
+
    color: #727272;
-
  background-color: transparent;
+
    text-decoration: none;
-
}
+
    background-color: transparent;
 +
  }
-
body {
+
  body {
-
  background-color: #fff;
+
    background-color: #fff;
-
}
+
  }
-
#globalWrapper, #content { /*-- changes default wiki settings --*/
+
  /*-- changes default wiki settings --*/
-
   width: 100%;
+
   #globalWrapper, #content {
-
  height: 100%;
+
    width: 100%;
-
  border: 0px;
+
    height: 100%;
-
  background-color: transparent;
+
    border: 0px;
-
  margin: 0px;
+
    background-color: transparent;
-
  padding: 0px;
+
    margin: 0px;
-
}
+
    padding: 0px;
 +
  }
-
html, body, .wrapper { /*-- changes default wiki settings --*/
+
  /*-- changes default wiki settings --*/
-
   width: 100%;
+
   html, body, .wrapper {
-
  height: 100%;
+
    width: 100%;
-
  background: File:Washington_background.JPG no-repeat center center fixed;
+
    height: 100%;
-
  -webkit-background-size: cover;
+
    background: File:Washington_background.JPG no-repeat center center fixed;
-
  -moz-background-size: cover;
+
    -webkit-background-size: cover;
-
  -o-background-size: cover;
+
    -moz-background-size: cover;
-
  background-size: cover;
+
    -o-background-size: cover;
-
  z-index: -6;
+
    background-size: cover;
-
}
+
    z-index: -6;
 +
  }
-
#contentcontainer { /*-- creates container for all content on page --*/
+
  /*-- creates container for all content on page --*/
-
   font-family: Arial, Helvetica, sans-serif;
+
   #contentcontainer {
-
  font-weight: normal;
+
    font-family: Arial, Helvetica, sans-serif;
-
  font-size: 14px;
+
    font-weight: normal;
-
  color: #414141;
+
    font-size: 14px;
-
  width: 960px;
+
    color: #414141;
-
  margin-left: auto;
+
    width: 960px;
-
  margin-right: auto;
+
    margin-left: auto;
-
  background-color: #transparent;
+
    margin-right: auto;
-
  margin-top: 0px;
+
    background-color: #transparent;
-
}
+
    margin-top: 0px;
 +
  }
-
.sidemenu, .sidemenu li {
+
  .sidemenu, .sidemenu li {
-
  list-style-type: none;
+
    list-style-type: none;
-
  list-style-image: none;
+
    list-style-image: none;
-
  font-family: verdana;
+
    font-family: verdana;
-
  text-decoration: none;
+
    text-decoration: none;
-
  color:#000;
+
    color:#000;
-
  font-size: 14px;
+
    font-size: 14px;
-
}
+
  }
-
.sidemenu li {display: block;}
+
  .sidemenu li {display: block;}
-
.sidemenu a {
+
  .sidemenu a {
-
  text-decoration:none;
+
    text-decoration:none;
-
  color: #000;
+
    color: #000;
-
  display: block;
+
    display: block;
-
  width: 180px;
+
    width: 180px;
-
  height: 100%;
+
    height: 100%;
-
  padding: 3px 5px;
+
    padding: 3px 5px;
-
  transition: .25s ease-in-out;
+
    transition: .25s ease-in-out;
-
  -moz-transition: .25s ease-in-out;
+
    -moz-transition: .25s ease-in-out;
-
  -webkit-transition: .25s ease-in-out;
+
    -webkit-transition: .25s ease-in-out;
-
}
+
  }
-
.sidemenu a.greyout { color: #909090; }
+
  .sidemenu a.greyout { color: #909090; }
-
.sidemenu a:hover {
+
  .sidemenu a:hover {
-
  color:#666;
+
    color:#666;
-
  background-color: #d9f5aa;
+
    background-color: #d9f5aa;
-
}
+
  }
-
.sub-sidemenu {font-size: 10px; margin-bottom: 20px; color: #666; display: none;}
+
  .sub-sidemenu {font-size: 10px; margin-bottom: 20px; color: #666; display: none;}
-
.sub-sidemenu a {color: #666;}
+
  .sub-sidemenu a {color: #666;}
-
div.underconst
+
  div.underconst {
-
{
+
    padding:10px;
-
  padding:10px;
+
    border-radius:5px;
-
  border-radius:5px;
+
    background-color:pink;
-
  background-color:pink;
+
    text-align:center;
-
  text-align:center;
+
  }
-
}
+
-
a.anchor{display: block; position: relative; top: -80px; visibility: hidden;}
+
  a.anchor{display: block; position: relative; top: -80px; visibility: hidden;}
-
.contentpara {margin-bottom: 30px;}
+
  .contentpara {margin-bottom: 30px;}
-
span.email{font-family: monospace; font-weight: normal;}
+
  span.email{font-family: monospace; font-weight: normal;}
-
fieldset {border: 1px solid #337f53;}
+
  fieldset {border: 1px solid #337f53;}
-
.greyout {color: #A0A0A0;}
+
  .greyout {color: #A0A0A0;}
-
.highlightme {background-color: #FFFF00;}
+
  .highlightme {background-color: #FFFF00;}
-
#alertContainer { margin-bottom: 10px; width: 936px;}
+
  #alertContainer { margin-bottom: 10px; width: 936px;}
-
#annContainer {margin-left: 8px;}
+
  #annContainer {margin-left: 8px;}
-
#newsContainer {border: 1px solid #ccc;}
+
  #newsContainer {border: 1px solid #ccc;}
-
.newsTitle {
+
  .newsTitle {
-
  display: block;
+
    display: block;
-
  color: #414141;
+
    color: #414141;
-
  font-size: 25px;
+
    font-size: 25px;
-
  font-family: Georgia, Times, "Times New Roman", serif;
+
    font-family: Georgia, Times, "Times New Roman", serif;
-
  padding: 10px 15px 5px 10px;
+
    padding: 10px 15px 5px 10px;
-
  border-bottom: 1px solid #ccc;
+
    border-bottom: 1px solid #ccc;
-
  margin-bottom: 0px;
+
    margin-bottom: 0px;
-
}
+
  }
-
.newsItem {
+
  .newsItem {
-
  border-bottom: 1px solid #ccc;
+
    border-bottom: 1px solid #ccc;
-
  display: block;
+
    display: block;
-
  padding: 5px 15px 0px 10px;
+
    padding: 5px 15px 0px 10px;
-
  margin-bottom: 0px;
+
    margin-bottom: 0px;
-
}
+
  }
-
.newsItem h3 {
+
  .newsItem h3 {
-
  width: auto;
+
    width: auto;
-
  display: inline;
+
    display: inline;
-
  font-size: 14px;
+
    font-size: 14px;
-
  font-family: Arial, Helvetica, sans-serif;
+
    font-family: Arial, Helvetica, sans-serif;
-
  padding: 0px;
+
    padding: 0px;
-
  margin: 0px;
+
    margin: 0px;
-
}
+
  }
-
.newsItem img {
+
  .newsItem img {
-
  float: right;
+
    float: right;
-
  clear: right;
+
    clear: right;
-
  width: 80px;
+
    width: 80px;
-
  padding-left: 15px;
+
    padding-left: 15px;
-
  display: inline-block;
+
    display: inline-block;
-
}
+
  }
-
.newsItem .newsDate {
+
  .newsItem .newsDate {
-
  font-style: italic;
+
    font-style: italic;
-
  font-size: 14px;
+
    font-size: 14px;
-
  display: inline-block;
+
    display: inline-block;
-
  color: #FFF;
+
    color: #FFF;
-
  float: right;
+
    float: right;
-
  padding: 0px 0px 10px 15px;
+
    padding: 0px 0px 10px 15px;
-
}
+
  }
-
.newsItem p, .newsItem ul, .newsItem li {
+
  .newsItem p, .newsItem ul, .newsItem li {
-
  padding: 0px;
+
    padding: 0px;
-
  margin-left: 20px;
+
    margin-left: 20px;
-
  font-size: 12px;
+
    font-size: 12px;
-
  line-height: 1.2;
+
    line-height: 1.2;
-
}
+
  }
-
.newsItem p {margin-top: 10px;}
+
  .newsItem p {margin-top: 10px;}
-
.annItem {
+
  .annItem {
-
  border: 2px solid #414141;
+
    border: 2px solid #414141;
-
  display: block;
+
    display: block;
-
  padding: 0px 15px 10px 10px;
+
    padding: 0px 15px 10px 10px;
-
  margin-bottom: 18px;
+
    margin-bottom: 18px;
-
  position: relative;
+
    position: relative;
-
  height: 160px;
+
    height: 160px;
-
  vertical-align: middle;
+
    vertical-align: middle;
-
}
+
  }
-
.annItem .annCentered {
+
  .annItem .annCentered {
-
  display: table-cell;
+
    display: table-cell;
 +
    vertical-align: middle;
 +
    height: 160px;
 +
  }
 +
  .annCentered h3 {
 +
    padding: 0px;
 +
    display: block;
 +
    margin-left: auto;
 +
    margin-right: auto;
 +
    text-align: center;
 +
  }
 +
  .igemlogopos{
 +
    position:absolute;
 +
    right:-15px;
 +
    z-index:30;
 +
    top: 18px;
 +
  }
 +
  .annItem ul, .annItem li {padding: 0px; margin: 0px;}
 +
  .annItem li {list-style: none; margin: 5px}
 +
  .centerImg{  background:#E8E8E8; margin:auto; width:100%; }
 +
  #igemuwmenu, #igemuwmenu ul {
 +
    margin: 0;
 +
    padding: 0;
 +
    list-style: none;
 +
  }
-
   vertical-align: middle;
+
   #igemuwmenu {
-
  height: 160px;
+
    width: 700px;
-
}
+
    margin: 10px auto;
 +
    border: 3px solid #dfb42c;
 +
    background-color: #b8860b;
 +
    background-image: -moz-linear-gradient(#4b2e84, #85754d );
 +
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4b2e84), to(#85754d ));
 +
    background-image: -webkit-linear-gradient(#4b2e84, #85754d );
 +
    background-image: -o-linear-gradient(#4b2e84, #85754d );
 +
    background-image: -ms-linear-gradient(#4b2e84, #85754d );
 +
    background-image: linear-gradient(#4b2e84, #85754d );
 +
    -moz-border-radius: 6px;
 +
    -webkit-border-radius: 6px;
 +
    border-radius: 6px;
 +
    -moz-box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
 +
    -webkit-box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
 +
    box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
 +
    display: inline-block;
 +
    white-space: nowrap;
 +
  }
-
.annCentered h3 {
+
   #igemuwmenu:before,
-
   padding: 0px;
+
   #igemuwmenu:after {
-
   display: block;
+
    content: "";
-
  margin-left: auto;
+
    display: table;
-
  margin-right: auto;
+
   }
-
   text-align: center;
+
-
}
+
-
.igemlogopos{
+
   #igemuwmenu:after {
-
   position:absolute;
+
    clear: both;
-
  right:-15px;
+
   }
-
  z-index:30;
+
-
  top: 18px;
+
-
}
+
-
 
+
-
.annItem ul, .annItem li {padding: 0px; margin: 0px;}
+
-
.annItem li {list-style: none; margin: 5px}
+
-
.centerImg{  background:#E8E8E8; margin:auto; width:100%; }
+
-
 
+
-
#igemuwmenu, #igemuwmenu ul {
+
-
  margin: 0;
+
-
   padding: 0;
+
-
  list-style: none;
+
-
}
+
-
#igemuwmenu {
+
   #igemuwmenu {
-
   width: 700px;
+
    zoom:1;
-
  margin: 10px auto;
+
   }
-
  border: 3px solid #dfb42c;
+
-
  background-color: #b8860b;
+
-
  background-image: -moz-linear-gradient(#4b2e84, #85754d );
+
-
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4b2e84), to(#85754d ));
+
-
  background-image: -webkit-linear-gradient(#4b2e84, #85754d );
+
-
  background-image: -o-linear-gradient(#4b2e84, #85754d );
+
-
  background-image: -ms-linear-gradient(#4b2e84, #85754d );
+
-
  background-image: linear-gradient(#4b2e84, #85754d );
+
-
  -moz-border-radius: 6px;
+
-
  -webkit-border-radius: 6px;
+
-
  border-radius: 6px;
+
-
  -moz-box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
+
-
  -webkit-box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
+
-
  box-shadow: 0 1px 1px #fff, 0 1px 0 #666 inset;
+
-
  display: inline-block;
+
-
  white-space: nowrap;
+
-
}
+
-
 
+
-
#igemuwmenu:before,
+
-
#igemuwmenu:after {
+
-
  content: "";
+
-
   display: table;
+
-
}
+
-
 
+
-
#igemuwmenu:after {
+
-
  clear: both;
+
-
}
+
-
#igemuwmenu {
+
   #igemuwmenu li {
-
   zoom:1;
+
    border-right: 1px solid #222;
-
}
+
    -moz-box-shadow: 1px 0 0 #444;
-
 
+
    -webkit-box-shadow: 1px 0 0 #2E0854;
-
#igemuwmenu li {
+
    box-shadow: 1px 0 0 #2E0854;
-
  border-right: 1px solid #222;
+
-
  -moz-box-shadow: 1px 0 0 #444;
+
-
  -webkit-box-shadow: 1px 0 0 #2E0854;
+
-
  box-shadow: 1px 0 0 #2E0854;
+
-
  position: relative;
+
-
  display: inline-block;
+
-
  white-space: nowrap;
+
-
}
+
-
 
+
-
#igemuwmenu a {
+
-
  padding: 12px 20px;
+
-
  color: #dfb42c;
+
-
  text-transform: uppercase;
+
-
  font: bold 11.4px Arial, Helvetica;
+
-
  text-decoration: none;
+
-
  text-shadow: 0 1px 0 #000;
+
-
  display: inline-block;
+
-
  white-block: nowrap;
+
-
}
+
-
 
+
-
#igemuwmenu li:hover > a {
+
-
  color: #fafafa;
+
-
}
+
-
 
+
-
*html #igemuwmenu li a:hover { /* IE6 only */
+
-
  color: #fafafa;
+
-
}
+
-
 
+
-
#igemuwmenu ul {
+
-
  margin: 20px 0 0 0;
+
-
  _margin: 0; /*IE6 only*/
+
-
  opacity: 0;
+
-
  visibility: hidden;
+
-
  position: absolute;
+
-
  top: 38px;
+
-
  left: 0;
+
-
  z-index: 1;
+
-
  background: #fff;
+
-
  background: -moz-linear-gradient(#4b2e84, #85754d );
+
-
  background-image: -webkit-gradient(linear, left top, left bottom, from(#4b2e84), to(#85754d ));
+
-
  background: -webkit-linear-gradient(#4b2e84, #85754d );
+
-
  background: -o-linear-gradient(#4b2e84, #85754d );
+
-
  background: -ms-linear-gradient(#4b2e84, #85754d );
+
-
  background: linear-gradient(#4b2e84, #85754d );
+
-
  -moz-box-shadow: 0 -1px rgba(255,255,255,1);
+
-
  -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,1);
+
-
  box-shadow: 0 -1px 0 rgba(255,255,255,1);
+
-
  -moz-border-radius: 3px;
+
-
  -webkit-border-radius: 3px;
+
-
  border-radius: 3px;
+
-
  -webkit-transition: all .2s ease-in-out;
+
-
  -moz-transition: all .2s ease-in-out;
+
-
  -ms-transition: all .2s ease-in-out;
+
-
  -o-transition: all .2s ease-in-out;
+
-
  transition: all .2s ease-in-out;
+
-
}
+
-
 
+
-
#igemuwmenu li:hover > ul {
+
-
  opacity: 1;
+
-
  visibility: visible;
+
-
  margin: 0;
+
-
}
+
-
 
+
-
#igemuwmenu ul ul {
+
-
  top: 0;
+
-
  left: 150px;
+
-
  margin: 0 0 0 20px;
+
-
  _margin: 0; /*IE6 only*/
+
-
  -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
+
-
  -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
+
-
  box-shadow: -1px 0 0 rgba(255,255,255,1);
+
-
}
+
-
 
+
-
#igemuwmenu ul li {
+
-
  float: none;
+
-
  display: block;
+
-
  border: 0;
+
-
  _line-height: 0; /*IE6 only*/
+
-
  -moz-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
  -webkit-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
  box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
}
+
-
#igemuwmenu ul li.active {
+
-
  float: none;
+
-
  display: block;
+
-
  border: 0;
+
-
  _line-height: 0; /*IE6 only*/
+
-
  -moz-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
  -webkit-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
  box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
+
-
}
+
-
 
+
-
 
+
-
#igemuwmenu ul li:last-child {
+
-
  -moz-box-shadow: none;
+
-
  -webkit-box-shadow: none;
+
-
  box-shadow: none;
+
-
}
+
-
 
+
-
#igemuwmenu ul a {
+
-
  padding: 10px;
+
-
  width: 130px;
+
-
  _height: 10px; /*IE6 only*/
+
-
  display: block;
+
-
  white-space: nowrap;
+
-
  float: none;
+
-
  text-transform: none;
+
-
}
+
-
 
+
-
#igemuwmenu ul a.selected {
+
-
  padding: 10px;
+
-
  width: 130px;
+
-
  _height: 10px; /*IE6 only*/
+
-
  display: block;
+
-
  white-space: nowrap;
+
-
  float: none;
+
-
  text-transform: none;
+
-
}
+
-
 
+
-
#igemuwmenu ul a:hover {
+
-
  background-color: #785D84;
+
-
  background-image: -moz-linear-gradient(#94749a,  #785D84);
+
-
  background-image: -webkit-gradient(linear, left top, left bottom, from(#94749a), to(#785D84));
+
-
  background-image: -webkit-linear-gradient(#94749a, #785D84);
+
-
  background-image: -o-linear-gradient(#94749a, #785D84);
+
-
  background-image: -ms-linear-gradient(#94749a, #785D84);
+
-
  background-image: linear-gradient(#94749a, #785D84);
+
-
}
+
-
 
+
-
#igemuwmenu ul li:first-child > a {
+
-
  -moz-border-radius: 3px 3px 0 0;
+
-
  -webkit-border-radius: 3px 3px 0 0;
+
-
  border-radius: 3px 3px 0 0;
+
-
}
+
-
 
+
-
#igemuwmenu ul li:first-child > a:after {
+
-
  content: '';
+
-
  position: absolute;
+
-
  left: 40px;
+
-
  top: -6px;
+
-
  border-left: 6px solid transparent;
+
-
  border-right: 6px solid transparent;
+
-
  border-bottom: 6px solid #2E0854;
+
-
}
+
-
 
+
-
#igemuwmenu ul ul li:first-child a:after {
+
-
  left: -6px;
+
-
  top: 50%;
+
-
  margin-top: -6px;
+
-
  border-left: 0;
+
-
  border-bottom: 6px solid transparent;
+
-
  border-top: 6px solid transparent;
+
-
  border-right: 6px solid #FFFFFF;
+
-
}
+
-
 
+
-
#igemuwmenu ul li:first-child a:hover:after {
+
-
  border-bottom-color: #2E0854;
+
-
}
+
-
 
+
-
#igemuwmenu ul li:last-child > a {
+
-
  -moz-border-radius: 0 0 3px 3px;
+
-
  -webkit-border-radius: 0 0 3px 3px;
+
-
  border-radius: 0 0 3px 3px;
+
-
}
+
-
 
+
-
/* Mobile */
+
-
#igemuwmenu-trigger {
+
-
  display: none;
+
-
}
+
-
 
+
-
@media screen and (max-width: 600px) {
+
-
 
+
-
  /* nav-wrap */
+
-
  #igemuwmenu-wrap {
+
     position: relative;
     position: relative;
 +
    display: inline-block;
 +
    white-space: nowrap;
   }
   }
-
   #igemuwmenu-wrap * {
+
   #igemuwmenu a {
-
     -moz-box-sizing: border-box;
+
     padding: 12px 20px;
-
     -webkit-box-sizing: border-box;
+
    color: #dfb42c;
-
     box-sizing: border-box;
+
    text-transform: uppercase;
 +
    font: bold 11.4px Arial, Helvetica;
 +
    text-decoration: none;
 +
     text-shadow: 0 1px 0 #000;
 +
    display: inline-block;
 +
     white-block: nowrap;
   }
   }
-
  /* menu icon */
+
   #igemuwmenu li:hover > a {
-
   #igemuwmenu-trigger {
+
     color: #fafafa;
-
    display: block; /* show menu icon */
+
-
    height: 40px;
+
-
    line-height: 40px;
+
-
    cursor: pointer;
+
-
    padding: 0 0 0 35px;
+
-
    border: 1px solid #222;
+
-
     color: #ffffff;
+
-
    font-weight: bold;
+
-
    background-color: #b8860b;
+
-
    -moz-border-radius: 6px;
+
-
    -webkit-border-radius: 6px;
+
-
    border-radius: 6px;
+
-
    -moz-box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
+
-
    -webkit-box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
+
-
    box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
+
   }
   }
-
   /* main nav */
+
   *html #igemuwmenu li a:hover { /* IE6 only */
-
  #igemuwmenu {
+
     color: #fafafa;
-
     margin: 0; padding: 10px;
+
-
    position: absolute;
+
-
    top: 40px;
+
-
    width: 100%;
+
-
    z-index: 1;
+
-
    background-color: #2E0854;
+
-
    display: none;
+
-
    -moz-box-shadow: none;
+
-
    -webkit-box-shadow: none;
+
-
    box-shadow: none;
+
   }
   }
-
   #igemuwmenu:after {
+
   #igemuwmenu ul {
-
     content: '';
+
     margin: 20px 0 0 0;
 +
    _margin: 0; /*IE6 only*/
 +
    opacity: 0;
 +
    visibility: hidden;
     position: absolute;
     position: absolute;
-
     left: 25px;
+
    top: 38px;
-
     top: -8px;
+
     left: 0;
-
     border-left: 8px solid transparent;
+
     z-index: 1;
-
     border-right: 8px solid transparent;
+
    background: #fff;
-
     border-bottom: 8px solid #2E0854;
+
    background: -moz-linear-gradient(#4b2e84, #85754d );
 +
    background-image: -webkit-gradient(linear, left top, left bottom, from(#4b2e84), to(#85754d ));
 +
    background: -webkit-linear-gradient(#4b2e84, #85754d );
 +
     background: -o-linear-gradient(#4b2e84, #85754d );
 +
    background: -ms-linear-gradient(#4b2e84, #85754d );
 +
    background: linear-gradient(#4b2e84, #85754d );
 +
    -moz-box-shadow: 0 -1px rgba(255,255,255,1);
 +
    -webkit-box-shadow: 0 -1px 0 rgba(255,255,255,1);
 +
    box-shadow: 0 -1px 0 rgba(255,255,255,1);
 +
    -moz-border-radius: 3px;
 +
     -webkit-border-radius: 3px;
 +
     border-radius: 3px;
 +
    -webkit-transition: all .2s ease-in-out;
 +
    -moz-transition: all .2s ease-in-out;
 +
    -ms-transition: all .2s ease-in-out;
 +
    -o-transition: all .2s ease-in-out;
 +
    transition: all .2s ease-in-out;
   }
   }
-
   #igemuwmenu ul {
+
   #igemuwmenu li:hover > ul {
-
     position: static;
+
     opacity: 1;
     visibility: visible;
     visibility: visible;
-
    opacity: 1;
 
     margin: 0;
     margin: 0;
-
    background: none;
 
-
    -moz-box-shadow: none;
 
-
    -webkit-box-shadow: none;
 
-
    box-shadow: none;
 
   }
   }
   #igemuwmenu ul ul {
   #igemuwmenu ul ul {
-
     margin: 0 0 0 20px !important;
+
    top: 0;
-
     -moz-box-shadow: none;
+
    left: 150px;
-
     -webkit-box-shadow: none;
+
     margin: 0 0 0 20px;
-
     box-shadow: none;
+
    _margin: 0; /*IE6 only*/
 +
     -moz-box-shadow: -1px 0 0 rgba(255,255,255,.3);
 +
     -webkit-box-shadow: -1px 0 0 rgba(255,255,255,.3);
 +
     box-shadow: -1px 0 0 rgba(255,255,255,1);
   }
   }
-
   #igemuwmenu li {
+
   #igemuwmenu ul li {
-
     position: static;
+
     float: none;
     display: block;
     display: block;
 +
    border: 0;
 +
    _line-height: 0; /*IE6 only*/
 +
    -moz-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
 +
    -webkit-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
 +
    box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
 +
  }
 +
  #igemuwmenu ul li.active {
     float: none;
     float: none;
 +
    display: block;
     border: 0;
     border: 0;
-
     margin: 5px;
+
     _line-height: 0; /*IE6 only*/
-
     -moz-box-shadow: none;
+
     -moz-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
-
     -webkit-box-shadow: none;
+
     -webkit-box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
-
     box-shadow: none;
+
     box-shadow: 0 1px 0 #b8860b, 0 2px 0 #fff;
   }
   }
-
   #igemuwmenu ul li{
+
   #igemuwmenu ul li:last-child {
-
    margin-left: 20px;
+
     -moz-box-shadow: none;
     -moz-box-shadow: none;
     -webkit-box-shadow: none;
     -webkit-box-shadow: none;
Line 523: Line 359:
   }
   }
-
   #igemuwmenu a{
+
   #igemuwmenu ul a {
 +
    padding: 10px;
 +
    width: 130px;
 +
    _height: 10px; /*IE6 only*/
     display: block;
     display: block;
 +
    white-space: nowrap;
     float: none;
     float: none;
-
     padding: 0;
+
     text-transform: none;
-
    color: #fff;
+
   }
   }
-
   #igemuwmenu a:hover{
+
   #igemuwmenu ul a.selected {
-
     color: #FFFFFF;
+
     padding: 10px;
 +
    width: 130px;
 +
    _height: 10px; /*IE6 only*/
 +
    display: block;
 +
    white-space: nowrap;
 +
    float: none;
 +
    text-transform: none;
   }
   }
-
   #igemuwmenu ul a{
+
   #igemuwmenu ul a:hover {
-
     padding: 0;
+
     background-color: #785D84;
-
     width: auto;
+
    background-image: -moz-linear-gradient(#94749a,  #785D84);
 +
    background-image: -webkit-gradient(linear, left top, left bottom, from(#94749a), to(#785D84));
 +
    background-image: -webkit-linear-gradient(#94749a, #785D84);
 +
    background-image: -o-linear-gradient(#94749a, #785D84);
 +
    background-image: -ms-linear-gradient(#94749a, #785D84);
 +
     background-image: linear-gradient(#94749a, #785D84);
   }
   }
-
   #igemuwmenu ul a:hover{
+
   #igemuwmenu ul li:first-child > a {
-
     background: none;
+
    -moz-border-radius: 3px 3px 0 0;
 +
    -webkit-border-radius: 3px 3px 0 0;
 +
    border-radius: 3px 3px 0 0;
 +
  }
 +
 
 +
  #igemuwmenu ul li:first-child > a:after {
 +
     content: '';
 +
    position: absolute;
 +
    left: 40px;
 +
    top: -6px;
 +
    border-left: 6px solid transparent;
 +
    border-right: 6px solid transparent;
 +
    border-bottom: 6px solid #2E0854;
   }
   }
-
  #igemuwmenu ul li:first-child a:after,
 
   #igemuwmenu ul ul li:first-child a:after {
   #igemuwmenu ul ul li:first-child a:after {
-
     border: 0;
+
    left: -6px;
 +
    top: 50%;
 +
    margin-top: -6px;
 +
     border-left: 0;
 +
    border-bottom: 6px solid transparent;
 +
    border-top: 6px solid transparent;
 +
    border-right: 6px solid #FFFFFF;
   }
   }
-
}
+
  #igemuwmenu ul li:first-child a:hover:after {
 +
    border-bottom-color: #2E0854;
 +
  }
-
@media screen and (min-width: 600px) {
+
   #igemuwmenu ul li:last-child > a {
-
   #igemuwmenu {
+
     -moz-border-radius: 0 0 3px 3px;
-
     display: block !important;
+
    -webkit-border-radius: 0 0 3px 3px;
 +
    border-radius: 0 0 3px 3px;
   }
   }
-
}
 
-
/* iPad */
+
  /* Mobile */
-
.no-transition {
+
  #igemuwmenu-trigger {
-
  -webkit-transition: none;
+
    display: none;
-
   -moz-transition: none;
+
   }
-
  -ms-transition: none;
+
-
  -o-transition: none;
+
-
  transition: none;
+
-
  opacity: 1;
+
-
  visibility: visible;
+
-
  display: none;
+
-
}
+
-
#igemuwmenu li:hover > .no-transition {
+
  @media screen and (max-width: 600px) {
-
  display: block;
+
-
}
+
-
</style>
+
    /* nav-wrap */
 +
    #igemuwmenu-wrap {
 +
      position: relative;
 +
    }
-
<!--main content -->
+
    #igemuwmenu-wrap * {
 +
      -moz-box-sizing: border-box;
 +
      -webkit-box-sizing: border-box;
 +
      box-sizing: border-box;
 +
    }
-
<body>
+
    /* menu icon */
 +
    #igemuwmenu-trigger {
 +
      display: block; /* show menu icon */
 +
      height: 40px;
 +
      line-height: 40px;
 +
      cursor: pointer;
 +
      padding: 0 0 0 35px;
 +
      border: 1px solid #222;
 +
      color: #ffffff;
 +
      font-weight: bold;
 +
      background-color: #b8860b;
 +
      -moz-border-radius: 6px;
 +
      -webkit-border-radius: 6px;
 +
      border-radius: 6px;
 +
      -moz-box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
 +
      -webkit-box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
 +
      box-shadow: 0 1px 1px #fff, 0 1px 0 #fff inset;
 +
    }
-
<table width="70%" align="center">
+
    /* main nav */
 +
    #igemuwmenu {
 +
      margin: 0; padding: 10px;
 +
      position: absolute;
 +
      top: 40px;
 +
      width: 100%;
 +
      z-index: 1;
 +
      background-color: #2E0854;
 +
      display: none;
 +
      -moz-box-shadow: none;
 +
      -webkit-box-shadow: none;
 +
      box-shadow: none;
 +
    }
 +
    #igemuwmenu:after {
 +
      content: '';
 +
      position: absolute;
 +
      left: 25px;
 +
      top: -8px;
 +
      border-left: 8px solid transparent;
 +
      border-right: 8px solid transparent;
 +
      border-bottom: 8px solid #2E0854;
 +
    }
-
<!--welcome box -->
+
    #igemuwmenu ul {
 +
      position: static;
 +
      visibility: visible;
 +
      opacity: 1;
 +
      margin: 0;
 +
      background: none;
 +
      -moz-box-shadow: none;
 +
      -webkit-box-shadow: none;
 +
      box-shadow: none;
 +
    }
-
  <tr>
+
    #igemuwmenu ul ul {
-
  <a href="https://2014.igem.org/Team:Washington"><img class="centerImg" src="https://static.igem.org/mediawiki/2014/f/fc/Washington_banner5.jpg" width="900" ></a><a href="https://2014.igem.org/Main_Page" target="_blank"><img src="https://static.igem.org/mediawiki/2014/9/94/Igemlogo_officiallogo.png" width="147" height="120" align="right" class="igemlogopos" position:="" absolute;="" top:="" 5em;="" align:="" right;="" ;="" z-index:7;"=""></a>
+
      margin: 0 0 0 20px !important;
-
    <p style="position: absolute; top: 5em; right: 25; width: 400px; padding: 4px; background-color: transparent; font-weight: bold; font-size: 30px; color: #FFFFFF;">
+
      -moz-box-shadow: none;
 +
      -webkit-box-shadow: none;
 +
      box-shadow: none;
 +
    }
-
     University of Washington iGEM 2014
+
     #igemuwmenu li {
-
    </p>
+
      position: static;
-
  </tr>
+
      display: block;
 +
      float: none;
 +
      border: 0;
 +
      margin: 5px;
 +
      -moz-box-shadow: none;
 +
      -webkit-box-shadow: none;
 +
      box-shadow: none;
 +
    }
-
  <tr> <td colspan="3"  height="5px"> </td></tr>
+
    #igemuwmenu ul li{
-
  <!-- end welcome box -->
+
      margin-left: 20px;
-
  <tr>
+
      -moz-box-shadow: none;
 +
      -webkit-box-shadow: none;
 +
      box-shadow: none;
 +
    }
-
     <!--navigation menu -->
+
     #igemuwmenu a{
-
     <td align="left" colspan="3">
+
      display: block;
 +
      float: none;
 +
      padding: 0;
 +
      color: #fff;
 +
     }
-
      <table  width="100%">
+
    #igemuwmenu a:hover{
-
        <tr heigth="15px"></tr>
+
      color: #FFFFFF;
-
        <tr heigth="75px">
+
    }
-
          <nav id="igemuwmenu-wrap">
+
    #igemuwmenu ul a{
 +
      padding: 0;
 +
      width: auto;
 +
    }
-
            <ul id="igemuwmenu">
+
    #igemuwmenu ul a:hover{
 +
      background: none;
 +
    }
-
              <li>
+
    #igemuwmenu ul li:first-child a:after,
-
                <a href="https://2014.igem.org/Team:Washington">Home</a>
+
    #igemuwmenu ul ul li:first-child a:after {
-
                <ul>
+
      border: 0;
-
                  <li><a href="https://2014.igem.org/Team:Washington">UW 2014</a></li>
+
    }
-
                  <li><a href="https://2013.igem.org/Team:Washington">UW 2013</a></li>
+
-
                  <li><a href="https://2012.igem.org/Team:Washington">UW 2012</a></li>
+
-
                  <li><a href="https://2011.igem.org/Team:Washington">UW 2011</a></li>
+
-
                  <li><a href="https://2010.igem.org/Team:Washington">UW 2010</a></li>
+
-
                  <li><a href="https://2009.igem.org/Team:Washington">UW 2009</a></li>
+
-
                  <li><a href="https://2008.igem.org/Team:University_of_Washington">UW 2008</a></li>
+
-
                  <li><a href="https://2013.igem.org/Main_Page">iGEM Homepage</a></li>
+
-
                </ul>
+
-
              </li>
+
 +
  }
-
              <li>
+
  @media screen and (min-width: 600px) {
-
              <a href="https://2014.igem.org/Team:Washington/Our_Project">Our Project</a>
+
    #igemuwmenu {
-
              <ul>
+
      display: block !important;
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Background">Background</a></li>
+
    }
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Systems">Our Systems</a></li>
+
  }
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Methods">Methods</a></li>
+
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Results">Results</a></li>
+
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Future">Future Plans</a></li>
+
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Parts">Parts Submitted</a></li>
+
-
                <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Sources">Scientific Sources</a></li>
+
-
              </ul>
+
-
              </li>
+
-
              <li>
+
  /* iPad */
-
                <a href="https://2014.igem.org/Team:Washington/Temporary">Temp</a>
+
  .no-transition {
-
              </li>
+
    -webkit-transition: none;
 +
    -moz-transition: none;
 +
    -ms-transition: none;
 +
    -o-transition: none;
 +
    transition: none;
 +
    opacity: 1;
 +
    visibility: visible;
 +
    display: none;
 +
  }
-
              <li>
+
  #igemuwmenu li:hover > .no-transition {
-
              <a href="https://2014.igem.org/Team:Washington/Outreach">Outreach</a>
+
    display: block;
 +
  }
-
              </li>
+
</style>
-
              <li>
+
<!--              -->
-
              <a href="https://2014.igem.org/Team:Washington/Protocols">Protocols</a>
+
<!-- Main Content -->
-
              </li>
+
<!--              -->
-
              <li>
+
<body>
-
              <a href="https://2014.igem.org/Team:Washington/Safety">Safety</a>
+
-
              </li>
+
-
              <li>
+
  <!-- Table for the entire content (to split it vertically, weird) -->
-
              <a href="https://2014.igem.org/Team:Washington/Our_Team">Our Team</a>
+
  <table width="70%" align="center">
-
              </li>
+
-
             </ul>
+
  <!-- Banner  -->
-
          </nav>
+
    <tr>
 +
      <a href="https://2014.igem.org/Team:Washington"><img class="centerImg" src="https://static.igem.org/mediawiki/2014/f/fc/Washington_banner5.jpg" width="900" ></a>
 +
      <a href="https://2014.igem.org/Main_Page" target="_blank"><img src="https://static.igem.org/mediawiki/2014/9/94/Igemlogo_officiallogo.png" width="147" height="120" align="right" class="igemlogopos" position:="" absolute;="" top:="" 5em;="" align:="" right;="" ;="" z-index:7;"=""></a>
 +
      <p style="position: absolute; top: 5em; right: 25; width: 400px; padding: 4px; background-color: transparent; font-weight: bold; font-size: 30px; color: #FFFFFF;">University of Washington iGEM 2014</p>
 +
    </tr>
 +
 
 +
    <!-- Spacer -->
 +
    <tr>
 +
      <td colspan="3"  height="5px"></td>
 +
    </tr>
 +
 
 +
    <!-- Navigation Bar -->
 +
    <tr>
 +
      <td align="left" colspan="3">
 +
        <table  width="100%">
 +
          <tr heigth="15px"></tr>
 +
          <tr heigth="75px">
 +
             <nav id="igemuwmenu-wrap">
 +
              <ul id="igemuwmenu">
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington">Home</a>
 +
                  <ul>
 +
                    <li><a href="https://2014.igem.org/Team:Washington">UW 2014</a></li>
 +
                    <li><a href="https://2013.igem.org/Team:Washington">UW 2013</a></li>
 +
                    <li><a href="https://2012.igem.org/Team:Washington">UW 2012</a></li>
 +
                    <li><a href="https://2011.igem.org/Team:Washington">UW 2011</a></li>
 +
                    <li><a href="https://2010.igem.org/Team:Washington">UW 2010</a></li>
 +
                    <li><a href="https://2009.igem.org/Team:Washington">UW 2009</a></li>
 +
                    <li><a href="https://2008.igem.org/Team:University_of_Washington">UW 2008</a></li>
 +
                    <li><a href="https://2013.igem.org/Main_Page">iGEM Homepage</a></li>
 +
                  </ul>
 +
                </li>
 +
 
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington/Our_Project">Our Project</a>
 +
                  <ul>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Background">Background</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Systems">Our Systems</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Methods">Methods</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Results">Results</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Future">Future Plans</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Parts">Parts Submitted</a></li>
 +
                    <li><a href="https://2014.igem.org/Team:Washington/Our_Project#Sources">Scientific Sources</a></li>
 +
                  </ul>
 +
                </li>
 +
 
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington/Outreach">Outreach</a>
 +
                </li>
 +
 
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington/Protocols">Protocols</a>
 +
                </li>
 +
 
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington/Safety">Safety</a>
 +
                </li>
 +
 
 +
                <li>
 +
                  <a href="https://2014.igem.org/Team:Washington/Our_Team">Our Team</a>
 +
                </li>
 +
              </ul>
 +
            </nav>
 +
          </tr>
 +
        </table>
 +
      </td>
     </tr>
     </tr>
   </table>
   </table>

Revision as of 02:09, 16 October 2014

University of Washington iGEM 2014