diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 19:38:57 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 19:38:57 +0100 |
| commit | 490447fc142ea0fdb0389a3964ce75a3f72b6ed3 (patch) | |
| tree | 517399a4efe09cbda077925266799ef29af4fb87 /public/css/btn.css | |
| parent | 873263efd06201981f9047011079d07dba97745a (diff) | |
Pulls out .btn block
Diffstat (limited to 'public/css/btn.css')
| -rw-r--r-- | public/css/btn.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/public/css/btn.css b/public/css/btn.css new file mode 100644 index 0000000..1df9f5a --- /dev/null +++ b/public/css/btn.css @@ -0,0 +1,22 @@ +.btn { + color: var(--text-color); + border: solid 2px var(--text-color); + font-weight: 500; + text-decoration: underline; + padding-inline: 0.5rem; + padding-block: 0.25rem; + background-color: transparent; + transition: + background-color 300ms, + text-decoration-color 300ms, + transform 50ms; + } + + .btn:hover { + background-color: var(--background-highlight-color); + text-decoration-color: transparent; + } + + .btn:active { + transform: scale(1.1, 1.1); + }
\ No newline at end of file |
