Template:Team:KULeuven/Common2/Submenutest

From 2009.igem.org

(Difference between revisions)
 
(119 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: 15px;
+
     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%;
     position:absolute;
     position:absolute;
     left:0px;
     left:0px;
-
     top: 220px;
+
     top: 208px;
 +
    left:5px;
     float: left;
     float: left;
-
     background-color:none;
+
     background:url(https://static.igem.org/mediawiki/2009/b/be/Headerver2.png) no-repeat;
}
}
-
div#submenu2 a {
+
div#submenu ul {
 +
    position: relative;
 +
    margin-top:50px;
 +
}
 +
div#submenu ul a {
     display: block;
     display: block;
-
     background-color: black;
+
     background-color:none;
     color: white;
     color: white;
     padding: 3px 3px 3px 16px;
     padding: 3px 3px 3px 16px;
-
     margin: 0 5px 1px -14px;
+
     margin: 0 20px -2px -19px;
     text-decoration: none;
     text-decoration: none;
     font-weight: bold;
     font-weight: bold;
-
     border: 1px solid #499CCD;
+
     border: 1px solid white;
 +
    border-left:none;
 +
    border-right:none;
}
}
-
div#submenu2 a:hover {
+
div#submenu ul a:hover {
-
     color: #499CCD;
+
     color: Black;
-
     background-color: #424240;
+
     background-color: #C9D5E0;
    
    
}
}
-
div#submenu2 .selflink {
+
div#submenu ul .selflink {
     display: block;
     display: block;
-
     background-color: #424240;  
+
     background-color: #C9D5E0;  
-
     color: #499CCD;
+
     color: Black;
     padding: 3px 3px 3px 16px;
     padding: 3px 3px 3px 16px;
-
     margin: 0px 5px 1px -14px;
+
     margin: 0 20px -3px -19px;
     text-decoration: none;
     text-decoration: none;
     font-weight:bold;
     font-weight:bold;
-
     border: 1px solid #499CCD;
+
     border: 1px solid white;
 +
    border-left:none;
 +
    border-right:none;
}
}
-
div#submenu2 li {
+
div#submenu li {
     list-style: none;
     list-style: none;
     color: #1b1a44;
     color: #1b1a44;
Line 100: Line 109:
background-color: #275472;
background-color: #275472;
width: 100%;
width: 100%;
-
height:15px;
+
height:26px;
position: absolute;
position: absolute;
-
top:176px;
+
top:160px;
bottom: 0px;
bottom: 0px;
left: 0px;
left: 0px;
Line 112: Line 121:
.ddsmoothmenu ul{
.ddsmoothmenu ul{
z-index:100;
z-index:100;
-
margin: 0;
+
position:relative;
 +
margin:0;
 +
left:147px;
padding: 0;
padding: 0;
list-style-type: none;
list-style-type: none;
Line 120: Line 131:
/*Top level list items*/
/*Top level list items*/
.ddsmoothmenu ul li{
.ddsmoothmenu ul li{
-
position: relative;
+
position:relative;
 +
margin:2px 0 1px 0;
display: inline;
display: inline;
float: left;
float: left;
Line 128: Line 140:
.ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
.ddsmoothmenu ul li a, .ddsmoothmenu ul li strong.selflink {
display: block;
display: block;
-
background:none / *background of menu items (default state)*/
+
background:#275472; / *background of menu items (default state)*/
color: black;
color: black;
-
padding: 2px 8px;
+
margin-right:-1px;
 +
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;
}
}
Line 152: Line 169:
.ddsmoothmenu ul li a:hover{
.ddsmoothmenu ul li a:hover{
-
background: black; /*background of menu items during onmouseover (hover state)*/
+
background: #C9D5E0; /*background of menu items during onmouseover (hover state)*/
-
color: white;
+
color: Black;
}
}
Line 216: Line 233:
.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