Template:WarHead3
From 2009.igem.org
(Difference between revisions)
Line 379: | Line 379: | ||
position: relative; | position: relative; | ||
float: left; | float: left; | ||
+ | padding-bottom: 20px; | ||
} | } | ||
.war_div_frame { | .war_div_frame { | ||
- | width: | + | width: 610px; |
padding-left: 30px; | padding-left: 30px; | ||
position: relative; | position: relative; | ||
Line 394: | Line 395: | ||
.war_menu_frame_top { | .war_menu_frame_top { | ||
- | width: | + | 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 404: | Line 406: | ||
.war_menu_frame_bottom { | .war_menu_frame_bottom { | ||
- | width: | + | width: 230px; |
- | height: | + | 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 412: | Line 414: | ||
.war_menu_frame { | .war_menu_frame { | ||
- | width: | + | width: 230px; |
margin: 0px 0px 0px; | margin: 0px 0px 0px; | ||
position: relative; | position: relative; | ||
Line 419: | 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: | + | padding: 13px; |
} | } | ||
Line 426: | Line 428: | ||
width: 200px; | width: 200px; | ||
position: relative; | position: relative; | ||
- | left: | + | left: 15px; |
+ | |||
} | } | ||
Line 432: | 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: | + | height: 224px; |
float : left; | float : left; | ||
position: relative: | position: relative: | ||
Line 458: | 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; | ||
- | + | padding-left: 20px; | |
- | padding-left: | + | |
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; | ||
- | |||
width: 100%; | width: 100%; | ||
- | + | font-size: 14px; | |
- | font-size: | + | |
- | + | ||
- | + | ||
} | } | ||
+ | #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; | ||
- | + | 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; | ||
- | + | } | |
+ | |||
+ | #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; | color: white; | ||
font-weight: bold; | font-weight: bold; | ||
- | } | + | float: left; |
+ | } | ||
#war_menu li.sub a:hover,#war_menu li.main a:hover { | #war_menu li.sub a:hover,#war_menu li.main a:hover { | ||
- | color: | + | color: navy; |
+ | text-decoration: none; | ||
} | } | ||
Line 500: | 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 512: | 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"> | <div class="war_menu_frame"> | ||
<ul> | <ul> | ||
Line 519: | 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> |
Revision as of 23:11, 12 October 2009