make buttons similar to logo

This commit is contained in:
nek0 2018-03-11 03:50:08 +01:00
parent 1263d1a210
commit e6e17037af
1 changed files with 7 additions and 7 deletions

View File

@ -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;
}