summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorDavid Gay <eapoems@riseup.net>2023-10-31 00:40:50 -0400
committerDavid Gay <eapoems@riseup.net>2023-10-31 00:40:50 -0400
commitc68d91231c2be48dd4429df4f5fbaee37fbd954c (patch)
treea6d271c7e32fb63a0ad3b176326c6c9606b89ee3 /app/assets
parenta5c7206db0a63a577b4451dd353f40ed20a35b2c (diff)
Button and link styling
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/application.tailwind.css22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css
index c37a0f4..d0b2b0b 100644
--- a/app/assets/stylesheets/application.tailwind.css
+++ b/app/assets/stylesheets/application.tailwind.css
@@ -8,6 +8,18 @@
}
@layer base {
+ a {
+ @apply underline;
+ }
+
+ a:hover {
+ @apply text-red-600;
+ }
+
+ .nav-links a {
+ @apply no-underline;
+ }
+
.text-display {
font-family: "Pokemon Classic", sans-serif;
}
@@ -16,3 +28,13 @@
@apply text-display;
}
}
+
+@layer components {
+ .btn {
+ @apply px-4 py-2 border border-black cursor-pointer;
+ }
+
+ .btn-primary {
+ @apply btn bg-orange-900 text-orange-100;
+ }
+}