From 2fcb458c0229473309d085b65aae33d73430e65c Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Fri, 18 Aug 2023 20:42:38 +0100 Subject: Moves btn to /modules --- public/css/btn.css | 22 ---------------------- public/css/modules/btn.css | 22 ++++++++++++++++++++++ public/css/modules/index.css | 1 + public/main.css | 2 +- 4 files changed, 24 insertions(+), 23 deletions(-) delete mode 100644 public/css/btn.css create mode 100644 public/css/modules/btn.css create mode 100644 public/css/modules/index.css diff --git a/public/css/btn.css b/public/css/btn.css deleted file mode 100644 index 1df9f5a..0000000 --- a/public/css/btn.css +++ /dev/null @@ -1,22 +0,0 @@ -.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/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 diff --git a/public/main.css b/public/main.css index 9a66b34..efa6b5e 100644 --- a/public/main.css +++ b/public/main.css @@ -1,5 +1,5 @@ @import 'css/variables/index.css'; -@import 'css/btn.css'; +@import 'css/modules/index.css'; :root { scroll-behavior: smooth; -- cgit v1.2.3