From b9ef4eb2faa38ff1592d3e252d6835fe9bc5c036 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sun, 26 Apr 2020 19:15:40 +0200 Subject: Made .btn own css class. --- static/style.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 07f25fa3..03e60cf3 100644 --- a/static/style.css +++ b/static/style.css @@ -91,26 +91,32 @@ html, body { "Buttons" for changing between weekly and monthly layout */ - .change-view { display: flex; flex-direction: row; justify-content: space-evenly; } -.change-view a { +.change-view .btn { + margin-top: 1ex; + margin-bottom: 1ex; +} + +.btn { padding: 0.5em; background-color: #3399ff; - text-decoration: none; color: white; box-shadow: 1ex 1ex gray; - margin-top: 1ex; - margin-bottom: 1ex; + /* if a */ + text-decoration: none; + + /* if button */ + border: none; } -.change-view a:active { +.btn:active { transform: translate(1ex, 1ex); box-shadow: none; } -- cgit v1.2.3