Difference between revisions of "Team:METU Turkey/Galery"
Line 16: | Line 16: | ||
} | } | ||
− | ul.nav { | + | ul.nav { |
+ | |||
+ | background-color: aqua; | ||
+ | } | ||
− | ul.nav li a {display: block; text-decoration: none; color: #333; padding: 5px; | + | ul.nav li a { |
+ | display: block; | ||
+ | text-decoration: none; | ||
+ | color: #333; | ||
+ | padding: 5px; | ||
+ | |||
+ | |||
+ | } | ||
− | ul.nav > li:hover {border: 1px solid #666; | + | ul.nav > li:hover { |
+ | border: 1px solid #666; | ||
+ | |||
+ | } | ||
− | ul.nav li a:hover {background: #ccc; | + | ul.nav li a:hover { |
+ | background: #ccc; | ||
+ | |||
+ | } | ||
− | ul.nav > li {display: inline-block; position: relative; | + | ul.nav > li { |
+ | display: inline-block; | ||
+ | position: relative; | ||
+ | |||
+ | } | ||
− | ul.nav > li ul {display: none; position: absolute; left: -1px; | + | ul.nav > li ul { |
+ | display: none; | ||
+ | position: absolute; | ||
+ | left: -1px; | ||
+ | |||
+ | border-top-color: #fff; | ||
+ | margin-top: 1px; | ||
+ | width: 365px; | ||
+ | } | ||
− | ul.nav > li:hover ul {display: block;} | + | ul.nav > li:hover ul { |
+ | display: block; | ||
+ | } | ||
− | ul.nav > li ul li {display: inline-block;} | + | ul.nav > li ul li { |
+ | display: inline-block; | ||
+ | } | ||
Revision as of 22:43, 4 September 2015