summaryrefslogtreecommitdiff
path: root/public/css/modules
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/modules')
-rw-r--r--public/css/modules/btn.css22
-rw-r--r--public/css/modules/index.css1
2 files changed, 23 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
diff --git a/public/css/modules/index.css b/public/css/modules/index.css
new file mode 100644
index 0000000..78fbd69
--- /dev/null
+++ b/public/css/modules/index.css
@@ -0,0 +1 @@
+@import './btn.css'; \ No newline at end of file