Team:DTU-Denmark/test page css.css

From 2014.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 10: Line 10:
body {
body {
background-image:url(http://www2.compute.dtu.dk/~apek/ITSOL2014/images/dtuLogo.jpg);
background-image:url(http://www2.compute.dtu.dk/~apek/ITSOL2014/images/dtuLogo.jpg);
-
background-position: 50% 5px;
+
background-position: 52% 5px;
background-repeat: no-repeat;
background-repeat: no-repeat;
}
}

Latest revision as of 23:37, 4 July 2014

/*image preloader*/

  1. preloader {
       width: 0px;
       height: 0px;
       display: inline;
       background-image: url(Menubar-iGEMgreen-wide.png);

}

/*customer start*/ body { background-image:url(http://www2.compute.dtu.dk/~apek/ITSOL2014/images/dtuLogo.jpg); background-position: 52% 5px; background-repeat: no-repeat; }

/*Menu bar*/

  1. bodyContent {display:block; position:relative; top:250px;}
  1. searchform {visibility:hidden;}
  2. animat {

margin: 0px auto; height: 110px; position: relative; text-align:center; }

  1. animat p {

visibility: hidden; display: block; height:20px; position: relative; text-align: center; font: bold 20px broadway; }

  1. animat span:hover p {visibility: visible;}
  2. animat span{

z-index: 100; display: block; text-align: center; position: relative; margin: 0 auto; width: 80px; height: 81px;

       left:-1px;

}

.navigater ul { position: relative; left: 0px;

 	z-index:100;

text-align: center; display: inline; list-style: none; }

/*Menu bar*/ .navigater ul li {

 z-index:100;
 font: bold 14px/20PX helvetica;
 display: inline-block;
 margin: 0 5px;
 padding-bottom: 18px;
 position: relative;
 width: 126px;
 height: 32px;
 background-repeat:no-repeat;
 text-align:center;
 -webkit-transition: background-image 0.2s;
 -moz-transition: background-image 0.2s;
 -ms-transition: background-image 0.2s;
 -o-transition: background-image 0.2s;
 transition: background-image 0.2s;

}

/*Menu bar text*/ .navigater ul li span{ color: rgb(252,241,206); display: block; font-size:12px/16px; width: 126px; height: 14px; padding-bottom:18px; padding-top: 18px; text-align:center; text-decoration:none; } .navigater ul li span:hover{

       cursor:default;

} /*Dropdown menu text*/ .navigater ul li a:link{ color: rgb(252,241,206); display: block; font-size:16px/20px; width: 126px; height: 14px; padding-bottom:18px; padding-top: 18px; text-align:center; text-decoration:none; } .navigater ul li a:hover {text-decoration:none; background-color: transparent;} .navigater ul li a:visited {text-decoration:none; background-color: transparent;}

.navigater ul li:hover { z-index:100; color: #fff; -webkit-transition: background-image 0.2s; -moz-transition: background-image 0.2s; -ms-transition: background-image 0.2s; -o-transition: background-image 0.2s; transition: background-image 0.2s; }

/*Dropdown menues*/ .navigater ul li ul { z-index:100; position: absolute; top: 46px; left: -18px; width: 120px; display: none; opacity: 0;

       background: #559a57;

visibility: hidden; -webkit-transiton: opacity 0.2s; -moz-transition: opacity 0.2s; -ms-transition: opacity 0.2s; -o-transition: opacity 0.2s; -transition: opacity 0.2s; }

.navigater ul li ul li {

z-index:100; width: 126px; margin:0px 0px 5px 0px; display: block;

       padding: 0px;

}

.navigater ul li ul li a:link{ width: 120px; font-size:12px;

       padding-bottom: 9px;
       padding-top: 9px;
       margin:0px;

}

.navigater ul li ul li:hover {

       background-image:url(WIKI-light.png);

background-repeat: no-repeat; background-position: 50% 60%;

}

/*Drop down menues*/ .navigater ul li:hover ul {

 z-index:100;
 display: block;
 opacity: 0.95;
 visibility: visible;

}

  1. PROJECT { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. PROJECT:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}
  1. PARTS { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. PARTS:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}
  1. HUMANPRACTICES { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. HUMANPRACTICES:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}
  1. NOTEBOOK { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. NOTEBOOK:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}
  1. TEAM { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. TEAM:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}
  1. SPONSORS { background: url(https://static.igem.org/mediawiki/2014/1/12/Menubar-wide.png);}
  2. SPONSORS:hover { background-image: url(https://static.igem.org/mediawiki/2014/7/77/Menubar-iGEMgreen-wide.png);}


/* color separately end */

  1. contant {

}

  1. address {

position: fixed; }

/*--customer end */