diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-27 00:34:31 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2020-04-27 00:34:31 +0200 |
commit | b3d5d8708367aef395d5ad8eb9c0c1a4e0fc24b5 (patch) | |
tree | b2a5c820453eccb20e39e0526e07ab4ae677894c /static | |
parent | Export ICS interval. (diff) | |
download | calp-b3d5d8708367aef395d5ad8eb9c0c1a4e0fc24b5.tar.gz calp-b3d5d8708367aef395d5ad8eb9c0c1a4e0fc24b5.tar.xz |
Made btn shadow-height variable.
Diffstat (limited to 'static')
-rw-r--r-- | static/style.css | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css index f51c75ce..76f68b6b 100644 --- a/static/style.css +++ b/static/style.css @@ -6,6 +6,7 @@ html { --editmode: 1.0; --event-font-size: 8pt; --gray: #757575; + --btn-height: 0.5ex; } html, body { @@ -107,7 +108,7 @@ html, body { background-color: #3399ff; color: white; - box-shadow: 1ex 1ex gray; + box-shadow: var(--btn-height) var(--btn-height) gray; /* if a */ text-decoration: none; @@ -117,7 +118,7 @@ html, body { } .btn:active { - transform: translate(1ex, 1ex); + transform: translate(var(--btn-height), var(--btn-height)); box-shadow: none; } |