Team:McMaster-Ontario/css

From 2012.igem.org

(Difference between revisions)
Line 142: Line 142:
}
}
-
#menu li ul{
 
-
  list-style: none outside none;
 
-
  display:none;
 
-
  position: absolute;
 
-
  margin : 0px;
 
-
  padding: 0px;
 
-
}
 
-
 
-
#menu ul ul {
 
-
  padding: 0px;
 
-
}
 
-
 
-
#menu li ul li{
 
-
  margin : 0px;
 
-
  width:inherit;
 
-
  font-weight: normal;
 
-
}
 
-
 
-
#menu li ul li:hover {
 
-
  height:auto;
 
-
  float:none;
 
-
  text-align:left;
 
-
}
 
-
 
-
 
-
#menu ul li {
 
-
  clear: both;
 
-
}
 
-
 
-
#menu a {
 
-
  display: block;
 
-
  color: white;
 
-
}
 
-
 
-
#menu a:hover {
 
-
  text-decoration:none;
 
-
}
 
-
 
-
#menu li:hover {
 
-
  background-color:#B41111;
 
-
  height: 27px;
 
-
  border-top-right-radius: 5px;
 
-
  border-top-left-radius: 5px;
 
-
}
 
-
 
-
 
-
#menu li:hover ul {
 
-
    display:block;
 
-
}
 
.box_round table  {
.box_round table  {
   background-color: transparent;
   background-color: transparent;
Line 200: Line 151:
  height : 200px;
  height : 200px;
}
}
-
 
table {
table {
Line 215: Line 165:
   background-color: transparent;
   background-color: transparent;
}
}
-
 
#catlinks {
#catlinks {
Line 266: Line 215:
   width: 975px;
   width: 975px;
   text-align: center;
   text-align: center;
 +
}
 +
 +
.rollover a{ 
 +
  display: inline-block; 
 +
  width : 200px;
 +
  margin: 20px;
 +
  height : 200px;
 +
  border-radius : 12px;
 +
  margin: 20px 20px 20px 20px;
 +
  box-shadow:5px 5px 5px #666;
 +
}
 +
 +
 +
#rollover-image {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -88px -200px;
 +
}
 +
 +
#rollover-image:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -177px -100px;
 +
}
 +
 +
#rollover-image-2 {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -328px -200px;
 +
}
 +
 +
#rollover-image-2:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -401px -100px;
 +
}
 +
 +
#rollover-image-3 {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -572px -200px;
 +
}
 +
 +
#rollover-image-3:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -640px -100px;
 +
}
 +
 +
#rollover-image-4 {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -812px -440px;
 +
}
 +
 +
#rollover-image-4:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -869px -356px;
 +
}
 +
 +
#rollover-image-5 {
 +
  background-image:url(http://2012.igem.org/wiki/images/0/0d/SocialBrick12.jpg)
 +
}
 +
 +
#rollover-image-5:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/b/b2/SocialBrick22.jpg)
 +
}
 +
 +
#rollover-image-6 {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -328px -440px;
 +
}
 +
 +
#rollover-image-6:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -385px -356px;
 +
}
 +
 +
#rollover-image-7 {
 +
  background-image:url(http://2012.igem.org/wiki/images/e/ea/UP12Buttons.jpg);
 +
  background-position: -100px -440px;
 +
}
 +
 +
#rollover-image-7:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/1/1f/UP12Buttons_red.jpg);
 +
  background-position: -169px -356px;
 +
}
 +
 +
#rollover-image-8 {
 +
  background-image:url(http://2012.igem.org/wiki/images/b/b3/Virusmodule1-2-1.jpg);
 +
}
 +
 +
#rollover-image-8:hover {
 +
  background-image:url(http://2012.igem.org/wiki/images/a/af/Virusmodule1-1.jpg);
 +
}
 +
 +
#totop {
 +
  background-image:url(http://2012.igem.org/wiki/images/0/0d/Pfeil.png);
 +
  filter:alpha(opacity=50);
 +
  height: 76px;
 +
  width: 75px;
 +
  position: fixed;
 +
  right: 10px;
 +
  z-index: -20;
 +
}
 +
 +
#search-controls {
 +
  width: auto;
 +
  top: -4px;
 +
  right: 200px;
 +
  z-index: 15;
 +
}
 +
 +
input.searchButton {
 +
  color: #ffffff;
 +
}
 +
 +
#menu_center {
 +
  float:right;
 +
  position:relative;
 +
  left:-50%;
 +
  text-align:left;
 +
}
 +
 +
input.searchButton:hover {
 +
  color: #B41111;
}
}

Revision as of 01:23, 15 February 2013