AbdelGawad (Talk | contribs) |
AbdelGawad (Talk | contribs) |
||
Line 12: | Line 12: | ||
body{ background:#ccc; margin:0;} | body{ background:#ccc; margin:0;} | ||
#container{width:100%; margin:0 auto; background:#fff;} | #container{width:100%; margin:0 auto; background:#fff;} | ||
− | #header{width:100%; height: | + | #header{width:100%; height:100px;border-bottom:1px solid #c7c7c7;Background:#333;} |
#logo{float:left; width:40px; height:40px; margin:10px;background:#ccc;} | #logo{float:left; width:40px; height:40px; margin:10px;background:#ccc;} | ||
#top_info{float:right; width:100px; height:40px; background:#666; border:1px solid #c7c7c7; margin:10px;} | #top_info{float:right; width:100px; height:40px; background:#666; border:1px solid #c7c7c7; margin:10px;} | ||
#navbar{height:50px;clear:both;} | #navbar{height:50px;clear:both;} | ||
− | . | + | .igem_2017_menu_wrapper{ |
overflow: hidden; | overflow: hidden; | ||
background-color: #333; | background-color: #333; | ||
Line 22: | Line 22: | ||
} | } | ||
− | . | + | .igem_2017_menu_wrapper a { |
float: left; | float: left; | ||
font-size: 16px; | font-size: 16px; | ||
Line 31: | Line 31: | ||
} | } | ||
− | . | + | .submenu_wrapper{ |
float: left; | float: left; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
− | . | + | .submenu_wrapper .dropbtn { |
font-size: 16px; | font-size: 16px; | ||
border: none; | border: none; | ||
Line 49: | Line 49: | ||
} | } | ||
− | . | + | .submenu_button { |
display: none; | display: none; | ||
position: absolute; | position: absolute; | ||
Line 58: | Line 58: | ||
} | } | ||
− | . | + | .submenu_button a { |
float: none; | float: none; | ||
color: white; | color: white; | ||
Line 67: | Line 67: | ||
} | } | ||
− | . | + | .submenu_button a:hover { |
background-color: #ddd; | background-color: #ddd; | ||
} | } | ||
− | . | + | .submenu_wrapper:hover .submenu_button { |
display: block; | display: block; | ||
} | } | ||
Line 87: | Line 87: | ||
<div id="top_info">Top_Info</div> | <div id="top_info">Top_Info</div> | ||
<div id="navbar"> | <div id="navbar"> | ||
− | <div class=" | + | <div class="igem_2017_menu_wrapper"> |
− | + | ||
− | <a href=" | + | <div class="menu_button" id="display_menu_control"> |
− | <div class=" | + | MENU |
− | <button class="dropbtn"> | + | </div> |
− | <div class=" | + | |
− | + | <a href="https://2017.igem.org/Team:AFCM-Egypt">HOME</a> | |
− | + | <div class="submenu_wrapper"> | |
− | + | <button class="dropbtn">TEAM</button> | |
− | + | <div class="submenu_button"> | |
+ | <a href="https://2017.igem.org/Team:AFCM-Egypt/Team">Team</a | ||
+ | <a href="https://2017.igem.org/Team:AFCM-Egypt/Collaborations">Collaborations</a> | ||
+ | </div> | ||
</div> | </div> | ||
− | + | <div class="submenu_wrapper"> | |
+ | <button class="dropbtn">PROJECT</button> | ||
+ | <div class="submenu_button"> | ||
+ | <a href="https://2017.igem.org/Team:AFCM-Egypt/Description">Description</a | ||
+ | <a href="https://2017.igem.org/Team:AFCM-Egypt/Design">Design</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 04:12, 9 August 2017
LOGO
Top_Info
One Col