From e6e17037af9d6041ae86ce11b5d7c722c9e604aa Mon Sep 17 00:00:00 2001 From: nek0 Date: Sun, 11 Mar 2018 03:50:08 +0100 Subject: [PATCH] make buttons similar to logo --- content/static/datenspuren/2018/style/style.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/content/static/datenspuren/2018/style/style.css b/content/static/datenspuren/2018/style/style.css index 939373d23..d356fbec4 100644 --- a/content/static/datenspuren/2018/style/style.css +++ b/content/static/datenspuren/2018/style/style.css @@ -57,9 +57,8 @@ nav ul { nav li { display: inline-block; text-align: center; - border: 2px solid lightgray; - border-radius: 22px; - background-color: #646464; + border: 5px solid white; + border-radius: 25px; margin-right: 20px; } @@ -67,15 +66,16 @@ nav li a:before { background: #b6ff00; content: ""; position: absolute; - top: 0; - left: 0; + top: 5px; + left: 5px; right: 0; bottom: 0; width: 0; + height: 35px; opacity: 0; transition: all 0.3s ease-out; transform-origin: 0 50%; - border-radius: 21px; + border-radius: 20px; z-index: -1; } @@ -85,7 +85,7 @@ nav li a:hover, nav li a:focus, nav li a:active { } nav li a:hover:before, nav li a:focus:before, nav li a:active:before { - width: 100%; + width: 113px; opacity: 1; border-radius: 20px; }