Team:Freiburg Bioware/css menu

From 2010.igem.org

(Difference between revisions)
Line 35: Line 35:
}
}
/* Drop-Down Start */
/* Drop-Down Start */
 +
 +
#menu {
 +
width: 960px;
 +
margin: 0px 0px 0px 0px;
 +
border: none;
 +
position: relative;
 +
z-index:2;
 +
margin: 0 0 0;
 +
text-align:center;
 +
top: -175px;
 +
filter:alpha(opacity=90); -moz-opacity: 0.90; opacity: 0.90;
 +
}
#menu {list-style-type:none; margin:40px auto 100px auto; padding:0; width:608px;}
#menu {list-style-type:none; margin:40px auto 100px auto; padding:0; width:608px;}
Line 50: Line 62:
#menu dd {margin:0; padding:0; color: #fff; font-size: 0.9em; text-align:left;}
#menu dd {margin:0; padding:0; color: #fff; font-size: 0.9em; text-align:left;}
-
#menu dt a, #menu dt a:visited {  
+
#menu dt a,  
 +
#menu dt a:visited {  
width: 120px;
width: 120px;
height: 35px;
height: 35px;
Line 63: Line 76:
outline:none;}
outline:none;}
-
/* #menu li:hover dt a, #menu a:hover dt a {color:#006; background:#fff; border:1px solid #08c; border-width:0 1px 1px 1px;} */
+
#menu li:hover dt a,  
-
#menu li:hover dt a, #menu a:hover dt a {
+
#menu a:hover dt a,
 +
#menu li:active dt a,  
 +
#menu a:active dt a {
color:#030659;
color:#030659;
background: transparent url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/8/88/Freiburg10_button_aho_120.jpg) no-repeat scroll center center;
background: transparent url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/8/88/Freiburg10_button_aho_120.jpg) no-repeat scroll center center;
-
border: none;
 
outline:none;
outline:none;
 +
}
 +
#menu dt.menu_button_left a,
 +
#menu dt.menu_button_left a:visited {
 +
background: url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/2/2f/Freiburg10_button_a_left_120.jpg);
 +
}
 +
#menu li:hover dt.menu_button_left a,
 +
#menu a:hover dt.menu_button_left a,
 +
#menu li:active dt.menu_button_left a,
 +
#menu a:active dt.menu_button_left a {
 +
background: url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/9/92/Freiburg10_button_aho_left_120.jpg);
 +
}
 +
#menu dt.menu_button_right a,
 +
#menu dt.menu_button_right a:visited {
 +
background: url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/a/a6/Freiburg10_button_a_right_120.jpg);
 +
}
 +
#menu li:hover dt.menu_button_right a,
 +
#menu a:hover dt.menu_button_right a,
 +
#menu li:active dt.menu_button_right a,
 +
#menu a:active dt.menu_button_right a {
 +
background: url(http://www.molbiotech.uni-freiburg.de/iGEM/wiki2010/images/f/f9/Freiburg10_button_aho_right_120.jpg);
}
}
Line 86: Line 120:
/* menu */
/* menu */
-
 
-
#menu {
 
-
width: 960px;
 
-
margin: 0px 0px 0px 0px;
 
-
border: none;
 
-
position: relative;
 
-
z-index:2;
 
-
margin: 0 0 0;
 
-
text-align:center;
 
-
top: -175px;
 
-
filter:alpha(opacity=90); -moz-opacity: 0.90; opacity: 0.90;
 
-
}
 
#content a#top {
#content a#top {

Revision as of 02:18, 7 October 2010