diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:42:38 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:42:38 +0100 |
| commit | 2fcb458c0229473309d085b65aae33d73430e65c (patch) | |
| tree | 2dd6151a48b5284815abd30c9e44bf48d884f6c4 /public/css/modules/btn.css | |
| parent | fb5aed0ad45f431fecc1e38336fc77c4e40ff5fc (diff) | |
Moves btn to /modules
Diffstat (limited to 'public/css/modules/btn.css')
| -rw-r--r-- | public/css/modules/btn.css | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/public/css/modules/btn.css b/public/css/modules/btn.css new file mode 100644 index 0000000..1df9f5a --- /dev/null +++ b/public/css/modules/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 |
