m |
|||
Line 94: | Line 94: | ||
} | } | ||
− | + | #menu{ | |
display: block; | display: block; | ||
text-align: right; | text-align: right; | ||
Line 102: | Line 102: | ||
} | } | ||
− | + | #menu > li{ | |
display: inline-block; | display: inline-block; | ||
vertical-align: middle; | vertical-align: middle; | ||
Line 113: | Line 113: | ||
} | } | ||
− | + | #menu .home{ | |
padding-left: 0; | padding-left: 0; | ||
} | } | ||
− | + | #menu a{ | |
display: inline-block; | display: inline-block; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
Line 127: | Line 127: | ||
} | } | ||
− | + | #menu a:hover { | |
background-color: #ffd8af; | background-color: #ffd8af; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
Line 149: | Line 149: | ||
} | } | ||
− | + | #menu li:hover .submenu1{ | |
display: block; | display: block; | ||
} | } | ||
Line 254: | Line 254: | ||
<div class="container menu"> | <div class="container menu"> | ||
<nav> | <nav> | ||
− | <ul | + | <ul id="menu"> |
<li class="home"> | <li class="home"> | ||
<a href="https://2018.igem.org/Team:Tartu_TUIT" class="active">home | <a href="https://2018.igem.org/Team:Tartu_TUIT" class="active">home |
Revision as of 03:57, 23 August 2018