Team:RAMNOTIREN CALGARY/Stylesheets/indexcss.css

From 2014hs.igem.org

(Difference between revisions)
 
(46 intermediate revisions not shown)
Line 1: Line 1:
 +
body{
 +
    background-color: #d6d6d6;
 +
}
 +
#globalWrapper {
#globalWrapper {
     position: relative;
     position: relative;
Line 7: Line 11:
     padding-bottom: 0px;
     padding-bottom: 0px;
     padding-left: 0px;
     padding-left: 0px;
-
     padding-right: 100px;
+
     padding-right: 30px;
-
#   background:url('https://static.igem.org/mediawiki/2014hs/0/00/Dnabg.jpg');
+
    /*background-color: #D6D6D6;*/
-
background-repeat: no-repeat;
+
    background-image:url('https://static.igem.org/mediawiki/2014hs/3/3d/Dnabgtrwl.png');
-
background-attachment: fixed;
+
    background-repeat: no-repeat;
-
background-size:100% auto;
+
    background-attachment: fixed;
 +
    background-size:100% auto;
}
}
Line 26: Line 31:
}
}
-
 
-
body {
 
-
        display:inherit;
 
-
        background-image: url('http://www.wallsave.com/wallpapers/1280x1024/technology/180359/technology-free-archive-math-science-180359.jpg');
 
-
        background-size: 100%;
 
-
        background-repeat: no-repeat;
 
-
        background-attachment:fixed;
 
-
#      color: black;
 
-
#      font: x-small sans-serif;
 
-
#      margin: 0;
 
-
#      padding: 0;
 
-
#      height:100%;
 
-
}
 
#topmenubar {
#topmenubar {
Line 282: Line 274:
     width: 600px;
     width: 600px;
}
}
-
 
-
/*Beginning of sidebar code. Work on fixing this*/
 
-
#sidebar{
 
-
    position: fixed; /*fixed*/
 
-
    top: 372px; /*393px*/
 
-
    left: 149px; /* -11%47px*/
 
-
    width: 300px;
 
-
    padding: 10px;
 
-
}
 
-
 
-
#sidebar a{
 
-
    text-decoration: none;
 
-
}
 
-
 
-
#sidebar ul{
 
-
    background: #eee;
 
-
    padding: 10px;
 
-
    list-style: none;
 
-
}
 
-
 
-
#sidebar li{
 
-
    margin: 0 0 0 20px;
 
-
}
 
-
 
-
#list{
 
-
    list-style: none;
 
-
    text-decoration: none;
 
-
    float: left;
 
-
    background-color: #0186ba;
 
-
}
 
-
 
-
#list li{
 
-
    text-decoration: none;
 
-
}
 
-
 
-
/*end of sidebar code. Work on setting it left of the page and mking the text body relative and next to the sidebar rather than next to it.*/
 
        
        
#page-wrap{
#page-wrap{
Line 323: Line 279:
}
}
-
 
-
.buttons {
 
-
    clear: both;
 
-
    position: relative;
 
-
    width: 968px;
 
-
    margin-bottom: 12px;
 
-
}
 
-
 
-
.buttons a, .buttons a div {
 
-
    width: 320px;
 
-
    height: 155px;
 
-
    float: left;
 
-
    margin-bottom: 12px;
 
-
}
 
-
 
-
.buttons div h2 {
 
-
    padding: 20px 20px 0px;
 
-
    position: relative;
 
-
    top: -155px;
 
-
}
 
-
 
-
.buttons div p {
 
-
    padding: 0px 20px;
 
-
    position: relative;
 
-
    top: -155px;
 
-
}
 
-
 
-
#button1 {
 
-
    margin-right: 0px;
 
-
    background: #ffc750;
 
-
}
 
-
 
-
#button6 {
 
-
    margin-right: 0px;
 
-
    background: #40b6c4;
 
-
}
 
-
/*
 
-
#button1:hover #button6:hover {
 
-
    background: #94FF7D;
 
-
}
 
-
*/
 
-
#button2 {
 
-
    margin-right: 0px;
 
-
    background: #ff8541;
 
-
}
 
-
 
-
#button5 {
 
-
        margin-right: 0px;
 
-
        background: #bd4078;
 
-
}
 
-
 
-
/*
 
-
#button2:hover, #button5:hover {
 
-
    background: #7DD7FF;
 
-
}
 
-
*/
 
-
 
-
#button3 {
 
-
    margin: 0px;
 
-
    background: #595959;
 
-
}
 
-
 
-
#button4{
 
-
        margin: 0px;
 
-
        background: #9900CC;
 
-
}
 
-
 
-
/*
 
-
#button3:hover, #button4:hover {
 
-
    background: #FFE44F;
 
-
}
 
-
*/
 
.scrollup {
.scrollup {
Line 400: Line 284:
     height: 40px;
     height: 40px;
     position: fixed;
     position: fixed;
-
     bottom: 50px;
+
     bottom: 80px;
-
     right: 30px;
+
     left: 70px;
     display: none;
     display: none;
     text-indent: -9999px;
     text-indent: -9999px;
-
     background: url('arrows.png') no-repeat; /*icon_top.png*/
+
     background: url('https://static.igem.org/mediawiki/2014hs/3/3d/Arrows1.png') no-repeat; /*icon_top.png*/
     background-color: transparent;
     background-color: transparent;
}
}

Latest revision as of 06:06, 20 June 2014

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; 

}