From d5ff6672a55f9cd1df63fbed21c02d5bb1d10055 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 21 Jun 2015 15:38:55 +0200 Subject: Adding rounded corners to the menu --- menu.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/menu.css b/menu.css index 62fd30b..00684e2 100644 --- a/menu.css +++ b/menu.css @@ -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; -- cgit v1.2.3