diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-26 19:15:40 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-26 19:21:01 +0200 |
commit | b9ef4eb2faa38ff1592d3e252d6835fe9bc5c036 (patch) | |
tree | 42f11d26c2fd59aa42573e0d27837dd7c96de5af /static/style.css | |
parent | Text event CSS better generalized. (diff) | |
download | calp-b9ef4eb2faa38ff1592d3e252d6835fe9bc5c036.tar.gz calp-b9ef4eb2faa38ff1592d3e252d6835fe9bc5c036.tar.xz |
Made .btn own css class.
Diffstat (limited to 'static/style.css')
-rw-r--r-- | static/style.css | 18 |
1 files changed, 12 insertions, 6 deletions
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; } |