diff options
-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; } |