Template:WarHead3

From 2009.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 366: Line 366:
.war_div_top {
.war_div_top {
-
     width: 690px;
+
     width: 668px;
-
     height: 33px;
+
     height: 12px;
     background:url(https://static.igem.org/mediawiki/2009/c/c7/War_div_frame_top.png) no-repeat;
     background:url(https://static.igem.org/mediawiki/2009/c/c7/War_div_frame_top.png) no-repeat;
     position: relative;
     position: relative;
Line 374: Line 374:
.war_div_bottom {
.war_div_bottom {
-
     width: 690px;
+
     width: 668px;
-
     height: 33px;
+
     height: 15px;
     background:url(https://static.igem.org/mediawiki/2009/a/ae/War_div_frame_bottom.png) no-repeat;
     background:url(https://static.igem.org/mediawiki/2009/a/ae/War_div_frame_bottom.png) no-repeat;
     position: relative;
     position: relative;
     float: left;
     float: left;
 +
    padding-bottom: 20px;
}
}
.war_div_frame {
.war_div_frame {
-
     width: 660px;
+
     width: 610px;
 +
    padding-left: 30px;
     position: relative;
     position: relative;
     float: left;
     float: left;
Line 388: Line 390:
     text-align: justify;
     text-align: justify;
     background:url(https://static.igem.org/mediawiki/2009/5/5d/War_div_frame.png) repeat-y;
     background:url(https://static.igem.org/mediawiki/2009/5/5d/War_div_frame.png) repeat-y;
-
     padding: 30px;
+
     padding-right: 30px;
 +
 
}
}
.war_menu_frame_top {
.war_menu_frame_top {
-
     width: 190px;
+
     width: 210px;
     height: 28px;
     height: 28px;
     background:url(https://static.igem.org/mediawiki/2009/2/24/War_menu_frame_top.png) no-repeat;
     background:url(https://static.igem.org/mediawiki/2009/2/24/War_menu_frame_top.png) no-repeat;
     position: relative;
     position: relative;
     float: left;
     float: left;
 +
margin-left: 0px;
}
}
Line 402: Line 406:
.war_menu_frame_bottom {
.war_menu_frame_bottom {
-
     width: 190px;
+
     width: 230px;
-
     height: 78px;
+
     height: 91px;
     background:url(https://static.igem.org/mediawiki/2009/7/70/War_menu_frame_bottom.png) no-repeat;
     background:url(https://static.igem.org/mediawiki/2009/7/70/War_menu_frame_bottom.png) no-repeat;
     position: relative;
     position: relative;
Line 410: Line 414:
.war_menu_frame {
.war_menu_frame {
-
     width: 190px;
+
     width: 230px;
     margin: 0px 0px 0px;
     margin: 0px 0px 0px;
     position: relative;
     position: relative;
Line 417: Line 421:
     text-align: justify;
     text-align: justify;
     background:url(https://static.igem.org/mediawiki/2009/f/fe/War_menu_frame.gif) repeat-y;
     background:url(https://static.igem.org/mediawiki/2009/f/fe/War_menu_frame.gif) repeat-y;
-
     padding: 0px;
+
     padding: 13px;
}
}
Line 424: Line 428:
width: 200px;
width: 200px;
position: relative;
position: relative;
-
left: 33px;
+
left: 15px;
 +
 
}
}
Line 430: Line 435:
background-image: url(https://static.igem.org/mediawiki/2009/b/b9/War_top.png);
background-image: url(https://static.igem.org/mediawiki/2009/b/b9/War_top.png);
width: 975px;
width: 975px;
-
height: 198px;
+
height: 224px;
float : left;
float : left;
position: relative:
position: relative:
Line 439: Line 444:
#war_content {
#war_content {
-
width: 750px;
+
width: 740px;
position: relative;
position: relative;
-
left: 30px;
+
left: 40px;
float: left;
float: left;
}
}
Line 450: Line 455:
float: left;
float: left;
width:670px;
width:670px;
 +
}
}
Line 455: Line 461:
height: 36px;
height: 36px;
background: url(https://static.igem.org/mediawiki/2009/2/2c/War_button_main.png) no-repeat;
background: url(https://static.igem.org/mediawiki/2009/2/2c/War_button_main.png) no-repeat;
-
float: left;
+
padding-left: 20px;
-
padding-left: 0px;
+
padding-right: 0px;
padding-right: 0px;
padding-top: 10px;
padding-top: 10px;
margin: 0 0 0 0;
margin: 0 0 0 0;
margin-left: 5px;
margin-left: 5px;
-
display: block;
 
width: 100%;
width: 100%;
-
text-align: center;
+
font-size: 14px;
}
}
 +
#war_menu li.sub:hover a {
 +
background: url(https://static.igem.org/mediawiki/2009/c/cb/War_button_sub_onmouseover.png) no-repeat;
 +
 +
}
 +
 +
#war_menu li.main:hover a {
 +
background: url(https://static.igem.org/mediawiki/2009/3/3d/War_button_main_onmouseover.png) no-repeat;
 +
 +
}
#war_menu li.sub a {
#war_menu li.sub a {
height: 32px;
height: 32px;
background: url(https://static.igem.org/mediawiki/2009/c/cf/War_button_sub.png) no-repeat;
background: url(https://static.igem.org/mediawiki/2009/c/cf/War_button_sub.png) no-repeat;
-
float: left;
+
font-size: 12px;
padding-left: 0px;
padding-left: 0px;
padding-right: 0px;
padding-right: 0px;
padding-top: 10px;
padding-top: 10px;
margin: 0 0 0 0;
margin: 0 0 0 0;
-
margin-left: 15px;
+
}
 +
 
 +
#war_menu li.sub a, #war_menu li.main a {
display: block;
display: block;
width: 100%;
width: 100%;
text-align: center;
text-align: center;
 +
 +
color: white;
 +
font-weight: bold;
 +
float: left;
 +
}
 +
 +
#war_menu li.sub a:hover,#war_menu li.main a:hover {
 +
color: navy;
 +
text-decoration: none;
}
}
Line 487: Line 511:
list-style: none;
list-style: none;
text-align: center;
text-align: center;
 +
align: center;
}
}
-
#war_menu li {align: center;}
+
#war_menu li {
 +
text-align: center;
 +
width: 170px;
 +
}
 +
 
 +
#war_menu li.sub {
 +
padding-left: 20px;
 +
 
 +
}
</style>
</style>
 +
<script>
 +
function changeDivBackground (thisArea, thisURL) {
 +
 +
document.getElememtById(thisArea).style.backgroundImage = "url("+ thisURL + ")";
 +
 +
}
 +
</script>
 +
 +
</html>
</html>
Line 499: Line 541:
<div id="war_topbar"></div>
<div id="war_topbar"></div>
<div id="war_menu">
<div id="war_menu">
-
<div class="war_menu_frame_top"></div>
 
<div class="war_menu_frame">
<div class="war_menu_frame">
<ul>
<ul>
Line 506: Line 547:
<li class="main">[[Team:Warsaw/Team|The Team]]
<li class="main">[[Team:Warsaw/Team|The Team]]
</li>
</li>
-
<li class="sub">[[Team:Warsaw/Team/Supervisors|Supervisors]]</li>
+
<li class="sub" onmouseover>[[Team:Warsaw/Team/Supervisors|Supervisors]]</li>
<li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]]</li>
<li class="sub">[[Team:Warsaw/Team/Miecznikowa|The M. Group]]</li>
<li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]]</li>
<li class="sub">[[Team:Warsaw/Team/Pawinskiego|The P. Group]]</li>

Latest revision as of 23:17, 12 October 2009