Team:RAMNOTIREN CALGARY/Stylesheets/indexcss.css

From 2014hs.igem.org

body{

   background-color: #d6d6d6;

}

  1. globalWrapper {
   position: relative;
   font-size: 127%;
   width: 850px //100%;
   margin: 0px;
   padding: 0px;
   padding-bottom: 0px;
   padding-left: 0px;
   padding-right: 30px;
   /*background-color: #D6D6D6;*/
   background-image:url('https://static.igem.org/mediawiki/2014hs/3/3d/Dnabgtrwl.png');
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size:100% auto;

}

  1. main-content {
   position: relative;
   width:  850px;
   margin: 0 auto;
   padding: 5px 5px 5px 5px;;
   background: transparent;
   color: black;
  1. border-left: 1px solid #ffffff;
  2. border-right: 1px solid #ffffff;
  3. line-height: 1.5em;

}


  1. topmenubar {
   position: relative;
   white-space: nowrap;
   top: -8px;
   left: -50px;
   width: 967px;
   z-index: 5;
   font-family: arial, verdana, "sans-serif";
   font-size: 70%;
   line-height: 2em;

}

.topleft-menu, .topleft-menu a {

   color: transparent;
   left: 0px;
   text-align: left;
   text-transform: lowercase;
   text-decoration: none;

}

.topleft-menu:hover {

   color: white;
   background-color: #bbbbbb;

}

.topright-menu, .right-menu a {

   right: 0px;
   text-align: right;
   color: white;

}

  1. topmenubar ul {
   color: #555555;
   list-style: none;

}

  1. topmenubar li {
   display: inline;
   position: relative;
   cursor: pointer;
   padding-left: 0px;
   padding-right: 0px;

}

.topleft-menu li a {

   padding: 0px 6px 0px 0px;

}

.topleft-menu .selected {

  1. color: #bbbbbb;

}

  1. .left-menu .selected:hover {
  2. color: white;

}

.topleft-menu:hover a {

   color: white;

}

/*css for slider*/

  1. slides {
   position:relative;
   left: -50px;
   height:280px;
   width: 840px
   

}

  1. slides IMG {
       position:absolute;
       opacity:0.0;
       top:0px;    
       left:0px;
       z-index:1;    

}

  1. slides .current {
   z-index:3;
   opacity:1.0;

}

  1. slides .previous {
   z-index:2;

}

.progress {

margin-top:-270px; margin-left:20px; position:absolute;

}

.progress li{ border:1px solid rgba(0,0,0,0.9); border-radius:3px; margin-left: 5px; float:left; display:block; position:relative; z-index:10; background-color:rgba(255,255,255,0.4);

  line-height:1.0em;

}

.progress li a{

   padding-left: 6px;
   padding-right: 6px;
   font-size:12px;
   line-height:1.0em;

}

.progress li a:hover {

text-decoration:none; }

.progress .current { background-color:white; }

/*end of css for slider*/

  1. menu, #menu ul {
   margin: 0;
   padding: 0px;
   list-style: none;

}

  1. menu {
   position: relative;
   top: 0px;
   left: -50px;
   width: 968px;
   margin: 0px auto;
   border: 1px solid #FFF; /*barely change border color*/
   background-color: #853399;
   background-image: linear-gradient(#853399, #6f2981); /*changes the color of the menu bar itself*/
   border-radius: 100px;
   /*box-shadow: 0 1px 1px #853399;*/

}

  1. menu:before,
  2. menu:after {
   content: "";
   display: table;

}

  1. menu:after {
   clear: both;

}

  1. menu {
   zoom:1;

}

  1. menu li {
   float: left; 
   /*border-right: 1px solid #FFF; changes color of lines separating each category*/
   /*box-shadow: 1px 0 0 #FFF; */
   position: relative;

}

  1. menu a {
   float: right;
   padding: 10px 44px;
   color: #FFF;
   font: bold 15px Arial, Helvetica;
   text-decoration: none;
   text-shadow: 0 1px 0 #000;

}

  1. menu li:hover > a {
   color: #ffc750;

}

  • html #menu li a:hover { /* IE6 only */
   color: #fafafa;

}

  1. menu 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: linear-gradient(#853399, #6f2981);
   box-shadow: 0 -1px 0 rgba(255,255,255,.3);  
   border-radius: 3px;
   transition: all .4s ease-in-out;

}

  1. menu li:hover > ul {
   opacity: 1;
   visibility: visible;
   margin: 0;

}

  1. menu ul ul {
   top: 0;
   left: 150px;
   margin: 0 0 0 20px;
   _margin: 0; /*IE6 only*/
   box-shadow: -1px 0 0 rgba(255,255,255,.3);      

}

  1. menu ul li {
   float: none;
   display: block;
   border: 0;
   _line-height: 0; /*IE6 only*/
   box-shadow: 0 1px 0 #FFF, 0 1px 0 #FFF;

}

  1. menu ul li:last-child {
   box-shadow: none;    

}

  1. menu ul a {
   padding: 10px;
   width: 130px;
   _height: 10px; /*IE6 only*/
   display: block;
   white-space: nowrap;
   float: none;
   text-transform: none;

}

  1. menu ul a:hover {
   background-color: #0186ba;
   background-image: linear-gradient(#660066, #660066);

}

  1. title-area{
   float: right;
   width: 600px;

}

  1. page-wrap{
   position: relative;

}

.scrollup {

   width: 40px;
   height: 40px;
   position: fixed;
   bottom: 80px;
   left: 70px;
   display: none;
   text-indent: -9999px;
   background: url('https://static.igem.org/mediawiki/2014hs/3/3d/Arrows1.png') no-repeat; /*icon_top.png*/
   background-color: transparent;

}

  1. test{
  position: fixed;
   bottom: 50px;
   right: 50px; 

}