Template:Team:KULeuven/Common2/Submenutest

From 2009.igem.org

(Difference between revisions)
 
(75 intermediate revisions not shown)
Line 4: Line 4:
div#header2 {
div#header2 {
-
     height: 176px;
+
     height: 160px;
     background-color: none;
     background-color: none;
-
     background: url(https://static.igem.org/mediawiki/2009/3/3a/Header2.2.png) no-repeat;  
+
     background: url(https://static.igem.org/mediawiki/2009/0/02/Header2.3.png) no-repeat;  
     background-position: top left;
     background-position: top left;
     position: relative;
     position: relative;
     vertical-align: bottom;
     vertical-align: bottom;
-
     margin-bottom: 40px;
+
     margin-bottom: 30px;
}
}
Line 16: Line 16:
     position: absolute;
     position: absolute;
     top: 30px;
     top: 30px;
-
     left: 125px;
+
     left: 115px;
-
     font-size: 250%;
+
     font-size: 220%;
     z-index: 1;
     z-index: 1;
     font-family: "Times New Roman"; /*,Georgia,Serif; */
     font-family: "Times New Roman"; /*,Georgia,Serif; */
-
     font-weight: bolder;
+
     font-weight: bold;
-
    font-style: oblique;
+
     color: white;
     color: white;
}
}
Line 29: Line 28:
     top: 75px;
     top: 75px;
     left: 200px;
     left: 200px;
-
     font-size: 250%;
+
     font-size: 300%;
     z-index: 1;
     z-index: 1;
     font-family: "Times New Roman"; /*,Georgia,Serif; */
     font-family: "Times New Roman"; /*,Georgia,Serif; */
Line 44: Line 43:
div#slogan2 {
div#slogan2 {
     position: absolute;
     position: absolute;
-
     top: 100px;
+
     top: 110px;
     left: 220px;
     left: 220px;
-
     font-size: 150%;
+
     font-size: 180%;
     z-index: 1;
     z-index: 1;
     font-family: "Times New Roman"; /*,Georgia,Serif; */
     font-family: "Times New Roman"; /*,Georgia,Serif; */
Line 54: Line 53:
}
}
-
div#submenu2 {
+
div#submenu {
     width: 147px;
     width: 147px;
     height:100%;
     height:100%;
     position:absolute;
     position:absolute;
     left:0px;
     left:0px;
-
     top: 226px;
+
     top: 208px;
     left:5px;
     left:5px;
     float: left;
     float: left;
Line 65: Line 64:
}
}
-
div#submenu2 ul {
+
div#submenu ul {
     position: relative;
     position: relative;
     margin-top:50px;
     margin-top:50px;
}
}
-
div#submenu2 ul a {
+
div#submenu ul a {
     display: block;
     display: block;
     background-color:none;
     background-color:none;
Line 82: Line 81:
}
}
-
div#submenu2 ul a:hover {
+
div#submenu ul a:hover {
     color: Black;
     color: Black;
     background-color: #C9D5E0;
     background-color: #C9D5E0;
Line 88: Line 87:
}
}
-
div#submenu2 ul .selflink {
+
div#submenu ul .selflink {
     display: block;
     display: block;
     background-color: #C9D5E0;  
     background-color: #C9D5E0;  
Line 101: Line 100:
}
}
-
div#submenu2 li {
+
div#submenu li {
     list-style: none;
     list-style: none;
     color: #1b1a44;
     color: #1b1a44;
}
}
-
div#ddsmoothmenu{
+
.ddsmoothmenu{
font: bold 12px Verdana;
font: bold 12px Verdana;
background-color: #275472;
background-color: #275472;
width: 100%;
width: 100%;
-
height:28px;
+
height:26px;
position: absolute;
position: absolute;
-
top:176px;
+
top:160px;
bottom: 0px;
bottom: 0px;
left: 0px;
left: 0px;
Line 120: Line 119:
}
}
-
div#ddsmoothmenu ul{
+
.ddsmoothmenu ul{
z-index:100;
z-index:100;
-
position: absolute;
+
position:relative;
-
left: 135px;
+
margin:0;
 +
left:147px;
padding: 0;
padding: 0;
list-style-type: none;
list-style-type: none;
Line 130: Line 130:
/*Top level list items*/
/*Top level list items*/
-
div#ddsmoothmenu ul li{
+
.ddsmoothmenu ul li{
-
position: relative;
+
position:relative;
 +
margin:2px 0 1px 0;
display: inline;
display: inline;
float: left;
float: left;
Line 137: Line 138:
/*Top level menu link items style*/
/*Top level menu link items style*/
-
div#ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
+
.ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
display: block;
display: block;
background:#275472; / *background of menu items (default state)*/
background:#275472; / *background of menu items (default state)*/
color: black;
color: black;
margin-right:-1px;
margin-right:-1px;
-
padding: 2px 8px;
+
padding: 2px 8px 2px 8px;
border: 1px solid white;
border: 1px solid white;
border-bottom: none;
border-bottom: none;
border-top:none;
border-top:none;
-
color: #499ccd;
+
color: black;
text-decoration: none;
text-decoration: none;
}
}
 +
.ddsmoothmenu ul li strong.selflink {
 +
Background-color:#C9D5E0;
 +
}
-
 
+
* html .ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
-
* html div#ddsmoothmenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
+
display: inline-block;
display: inline-block;
}
}
Line 160: Line 163:
}
}
-
div#ddsmoothmenu ul li a.xxxselected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
+
.ddsmoothmenu ul li a.xxxselected{ /*CSS class that's dynamically added to the currently active menu items' LI A element*/
background: black;  
background: black;  
color: white;
color: white;
}
}
-
div#ddsmoothmenu ul li a:hover{
+
.ddsmoothmenu ul li a:hover{
background: #C9D5E0; /*background of menu items during onmouseover (hover state)*/
background: #C9D5E0; /*background of menu items during onmouseover (hover state)*/
color: Black;
color: Black;
Line 171: Line 174:
/*1st sub level menu*/
/*1st sub level menu*/
-
div#ddsmoothmenu ul li ul{
+
.ddsmoothmenu ul li ul{
position: absolute;
position: absolute;
left: 0;
left: 0;
Line 179: Line 182:
/*Sub level menu list items (undo style from Top level List Items)*/
/*Sub level menu list items (undo style from Top level List Items)*/
-
div#ddsmoothmenu ul li ul li{
+
.ddsmoothmenu ul li ul li{
display: list-item;
display: list-item;
float: none;
float: none;
Line 185: Line 188:
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
/*All subsequent sub menu levels vertical offset after 1st level sub menu */
-
div#ddsmoothmenu ul li ul li ul{
+
.ddsmoothmenu ul li ul li ul{
top: 0;
top: 0;
}
}
/* Sub level menu links style */
/* Sub level menu links style */
-
div#ddsmoothmenu ul li ul li a{
+
.ddsmoothmenu ul li ul li a{
font: normal 13px Verdana;
font: normal 13px Verdana;
width: 160px; /*width of sub menus*/
width: 160px; /*width of sub menus*/
Line 200: Line 203:
/* Holly Hack for IE \*/
/* Holly Hack for IE \*/
-
* html div#ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
+
* html .ddsmoothmenu{height: 1%;} /*Holly Hack for IE7 and below*/
/* ######### CSS classes applied to down and right arrow images  ######### */
/* ######### CSS classes applied to down and right arrow images  ######### */
-
div#downarrowclass{
+
.downarrowclass{
position: absolute;
position: absolute;
top: 12px;
top: 12px;
Line 211: Line 214:
}
}
-
div#rightarrowclass{
+
.rightarrowclass{
position: absolute;
position: absolute;
top: 6px;
top: 6px;
Line 219: Line 222:
/* ######### CSS for shadow added to sub menus  ######### */
/* ######### CSS for shadow added to sub menus  ######### */
-
div#ddshadow{
+
.ddshadow{
position: absolute;
position: absolute;
left: 0;
left: 0;
Line 228: Line 231:
}
}
-
div#toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
+
.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
opacity: 0.8;
 +
}
 +
 +
div#ContactUs{
 +
position: relative;
 +
top:-23px;
 +
left:860px ;
 +
float: left;
 +
z-index: 1;
 +
background-color:none;
 +
height:26px;
 +
}
 +
 +
div#ContactUs a {
 +
font: bold 12px Verdana;
 +
color: white;
 +
text-decoration: none;
 +
margin: 2px 0 2px 0;
 +
padding: 3px 20px 3px 3px;
 +
border-left:1px solid white;
 +
}
 +
 +
div#ContactUs a:hover {
 +
color: Black;
 +
background-color: #C9D5E0;
}
}
-->
-->
</style>
</style>
</html>
</html>

Latest revision as of 07:48, 10 October 2009