(Created page with "<html> <style> →******************************** DEFAULT WIKI SETTINGS *******************************: #sideMenu, #top_title {display:none;} #content { padd...") |
|||
Line 5: | Line 5: | ||
/********************************* DEFAULT WIKI SETTINGS ********************************/ | /********************************* DEFAULT WIKI SETTINGS ********************************/ | ||
− | #sideMenu, #top_title {display:none;} | + | /*#sideMenu, #top_title {display:none;}*/ |
− | #content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;} | + | /*#content { padding:0px; width:1000px; margin-top:-7px; margin-left:0px;}*/ |
− | body {background-color:white; } | + | /*body {background-color:white; }*/ |
− | #bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; } | + | /*#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5 { margin-bottom: 0px; }*/ |
/********************************* MENU ********************************/ | /********************************* MENU ********************************/ | ||
Line 14: | Line 14: | ||
/* Remove margins and padding from the list, and add a black background color */ | /* Remove margins and padding from the list, and add a black background color */ | ||
+ | body { | ||
+ | /*background:white;*/ | ||
+ | /*url('body-bg.jpg');*/ | ||
+ | } | ||
− | + | .clearfix:after { | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
display:block; | display:block; | ||
− | + | clear:both; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | /*----- Menu Outline -----*/ | |
− | + | .menu-wrap { | |
− | box-shadow: | + | /*width:100%;*/ |
− | + | box-shadow:0px 1px 3px rgba(255, 197, 0, 0.2); | |
− | + | color: #3e0a11; | |
− | + | ||
− | + | ||
} | } | ||
− | . | + | |
− | + | .menu { | |
+ | /*width:1000px;*/ | ||
+ | |||
+ | margin:0px auto; | ||
} | } | ||
− | . | + | |
− | + | .menu li { | |
− | + | margin:0px; | |
− | + | list-style:none; | |
+ | /*font-family:'Ek Mukta';*/ | ||
} | } | ||
− | . | + | |
− | + | .menu a { | |
− | + | transition:all linear 0.15s; | |
+ | color:#919191; | ||
+ | background-color: black; | ||
} | } | ||
− | . | + | |
− | + | .menu li:hover > a, .menu .current-item > a { | |
− | + | text-decoration:none; | |
+ | color: #be740d; | ||
} | } | ||
− | . | + | |
− | + | .menu .arrow { | |
+ | font-size:11px; | ||
+ | line-height:0%; | ||
} | } | ||
− | . | + | |
− | + | /*----- Top Level -----*/ | |
+ | .menu > ul > li { | ||
+ | float:left; | ||
+ | display:inline-block; | ||
+ | position:relative; | ||
+ | font-size:16px; | ||
+ | color: black; | ||
} | } | ||
− | . | + | |
− | + | .menu > ul > li > a { | |
+ | padding:10px 40px; | ||
+ | display:inline-block; | ||
+ | text-shadow:0px 1px 0px rgba(0,0,0,0.4); | ||
} | } | ||
− | . | + | |
− | + | .menu > ul > li:hover > a, .menu > ul > .current-item > a { | |
− | + | background:#2e2728; | |
} | } | ||
− | . | + | |
− | + | /*----- Bottom Level -----*/ | |
+ | .menu li:hover .sub-menu { | ||
+ | z-index:1; | ||
+ | opacity:1; | ||
} | } | ||
− | . | + | |
− | + | .sub-menu { | |
+ | width:120%; | ||
+ | padding:5px 0px; | ||
+ | position:absolute; | ||
+ | top:100%; | ||
+ | left:0px; | ||
+ | z-index:-1; | ||
+ | opacity:0; | ||
+ | transition:opacity linear 0.15s; | ||
+ | box-shadow:0px 2px 3px rgba(0,0,0,0.2); | ||
+ | background:#2e2728; | ||
} | } | ||
+ | .sub-menu li { | ||
+ | display:block; | ||
+ | font-size:14px; | ||
+ | } | ||
− | . | + | .sub-menu li a { |
− | + | padding:10px 30px; | |
− | + | display:block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .sub-menu li a:hover, .sub-menu .current-item a { | |
− | . | + | background:#3e3436; |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | |||
Line 147: | Line 130: | ||
− | <div class=" | + | <div class="menu-wrap" > |
− | <nav> | + | <nav class="menu"> |
− | |||
− | <ul | + | <ul class="clearfix"> |
<li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg">HOME </a> </li> | <li class="menu_item"> <a href="https://2016.igem.org/Team:Freiburg">HOME </a> </li> | ||
− | <li class="menu_item"> < | + | <li class="menu_item"> |
− | <ul class=" | + | <a href="#"> TEAM <span class="arrow">▼</span></a> |
+ | <ul class="sub-menu"> | ||
<li> <a href=" https://2016.igem.org/Team:Freiburg/Team"> Team </a> </li> | <li> <a href=" https://2016.igem.org/Team:Freiburg/Team"> Team </a> </li> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Collaborations">* Collaborations </a> </li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Collaborations">* Collaborations </a> </li> | ||
Line 164: | Line 147: | ||
</li> | </li> | ||
− | <li class="menu_item"> < | + | <li class="menu_item"> |
− | <ul class=" | + | <a href="#"> PROJECT <span class="arrow">▼</span> </a> |
+ | <ul class="sub-menu"> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Description"> * Description </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Description"> * Description </a></li> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Design"> * Design </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Design"> * Design </a></li> | ||
Line 176: | Line 160: | ||
</li> | </li> | ||
− | <li class="menu_item"> < | + | <li class="menu_item"> |
− | <ul class=" | + | <a href="#"> PARTS <span class="arrow">▼</span></a> |
+ | <ul class="sub-menu"> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Parts">Parts </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Parts">Parts </a></li> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Basic_Part"> * Basic Parts </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Basic_Part"> * Basic Parts </a></li> | ||
Line 192: | Line 177: | ||
− | <li class="menu_item"> < | + | <li class="menu_item"> |
− | <ul class=" | + | <a href="#"> HUMAN PRACTICES <span class="arrow">▼</span> </a> |
+ | <ul class="sub-menu"> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Human_Practices"> Human Practices </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Human_Practices"> Human Practices </a></li> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/HP/Silver">* Silver </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/HP/Silver">* Silver </a></li> | ||
Line 203: | Line 189: | ||
− | <li class="menu_item"> < | + | <li class="menu_item"> |
− | <ul class=" | + | <a href="#"> AWARDS <span class="arrow">▼</span> </a> |
+ | <ul class="sub-menu"> | ||
<li><a href="https://2016.igem.org/Team:Freiburg/Entrepreneurship"> * Entrepreneurship </a></li> | <li><a href="https://2016.igem.org/Team:Freiburg/Entrepreneurship"> * Entrepreneurship </a></li> | ||
<li> <a href="https://2016.igem.org/Team:Freiburg/Hardware"> * Hardware </a></li> | <li> <a href="https://2016.igem.org/Team:Freiburg/Hardware"> * Hardware </a></li> |
Revision as of 13:30, 27 July 2016