aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-06-21 15:38:55 +0200
committerJoris Guyonvarch2015-06-21 15:38:55 +0200
commitd5ff6672a55f9cd1df63fbed21c02d5bb1d10055 (patch)
treea828e21b87359b01445061136b54e300bda6d51c
parentfbe72a96f6be21a9de7ddfbc01fb5a29cc9aa6cd (diff)
Adding rounded corners to the menu
-rw-r--r--menu.css15
1 files changed, 15 insertions, 0 deletions
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;