From 587f4db08adcbd214037236c06c720ec6b38a0bc Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 31 Aug 2022 08:05:41 +0400 Subject: [PATCH] Style buttons as links. --- homepage/static/assets/css/main.css | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/homepage/static/assets/css/main.css b/homepage/static/assets/css/main.css index 668c5e8..daf4664 100644 --- a/homepage/static/assets/css/main.css +++ b/homepage/static/assets/css/main.css @@ -26,16 +26,25 @@ background-color: var(--secondary-color); color: var(--background-color); } -a { +a, +button { color: var(--primary-color); text-decoration: none; word-wrap: break-word; } -a:hover { +a:hover, +button:hover { color: var(--secondary-color); text-decoration: underline dotted; + cursor: pointer; transition: .5s; } +button { + background: none; + border: none; + font: inherit; + padding: 0; } + p { text-align: justify; line-height: var(--text-indent);