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