From 1b76fa3fe1f65c1d7d9a96b39f430581f4d481bb Mon Sep 17 00:00:00 2001 From: Blue Date: Mon, 29 Jul 2019 10:27:09 +0000 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'style/main.css'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Button unifying --- style/main.css | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/style/main.css b/style/main.css index c6e630e..ff77983 100644 --- a/style/main.css +++ b/style/main.css @@ -10,7 +10,7 @@ html, body { .button { width: 180px; - flex: auto; + border-radius: 5px; display: block; padding: 20px; background-color: #cde6ea; @@ -24,10 +24,6 @@ html, body { transition: background-color 0.2s ease; } -.button:hover { - background-color: rgba(0, 0, 0, 0.2); -} - nav { display: flex; overflow: hidden; @@ -53,7 +49,8 @@ nav > a.current { background-color: #5db9ef; } -nav > a:hover { +nav > a:hover, +.button:hover { background-color: rgba(0, 0, 0, 0.2); }