Изменить 'style/main.css'

Button unifying
This commit is contained in:
Blue 2019-07-29 10:27:09 +00:00
parent 1d701a3d3f
commit 1b76fa3fe1

View File

@ -10,7 +10,7 @@ html, body {
.button { .button {
width: 180px; width: 180px;
flex: auto; border-radius: 5px;
display: block; display: block;
padding: 20px; padding: 20px;
background-color: #cde6ea; background-color: #cde6ea;
@ -24,10 +24,6 @@ html, body {
transition: background-color 0.2s ease; transition: background-color 0.2s ease;
} }
.button:hover {
background-color: rgba(0, 0, 0, 0.2);
}
nav { nav {
display: flex; display: flex;
overflow: hidden; overflow: hidden;
@ -53,7 +49,8 @@ nav > a.current {
background-color: #5db9ef; background-color: #5db9ef;
} }
nav > a:hover { nav > a:hover,
.button:hover {
background-color: rgba(0, 0, 0, 0.2); background-color: rgba(0, 0, 0, 0.2);
} }