diff options
author | Joris Guyonvarch | 2015-06-21 15:38:55 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-06-21 15:38:55 +0200 |
commit | d5ff6672a55f9cd1df63fbed21c02d5bb1d10055 (patch) | |
tree | a828e21b87359b01445061136b54e300bda6d51c | |
parent | fbe72a96f6be21a9de7ddfbc01fb5a29cc9aa6cd (diff) |
Adding rounded corners to the menu
-rw-r--r-- | menu.css | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -15,6 +15,21 @@ nav > ul { table-layout: fixed; } +nav > ul > li:first-child > a { + border-top-left-radius: 10px; + border-bottom-left-radius: 10px; +} + +nav ul ul li:last-child a { + border-bottom-left-radius: 10px; + border-bottom-right-radius: 10px; +} + +nav > ul > li:last-child a:first-child { + border-top-right-radius: 10px; + border-bottom-right-radius: 10px; +} + nav li { display: table-cell; margin-bottom: 0px; |