aboutsummaryrefslogtreecommitdiff
path: root/src/index.css
diff options
context:
space:
mode:
authorschererleander <leander@schererleander.de>2025-05-30 01:01:17 +0200
committerschererleander <leander@schererleander.de>2025-05-30 01:01:17 +0200
commitafdc982863b6cca573f1db58e1795aa8c45fabca (patch)
tree6b94d2ffdcb0e1b5ccbaf584c825763ab72ab99d /src/index.css
parent8f2c8393510dfefc22871661b0ef9964569e290b (diff)
rewrite site
Diffstat (limited to 'src/index.css')
-rw-r--r--src/index.css17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/index.css b/src/index.css
new file mode 100644
index 0000000..40a7f01
--- /dev/null
+++ b/src/index.css
@@ -0,0 +1,17 @@
+
+@import "tailwindcss";
+
+@custom-variant dark (&:where(.dark, .dark *));
+
+@layer base {
+ body { @apply bg-white dark:bg-black/95; }
+ span, p, a, li, code { @apply dark:text-gray-200; }
+ svg { @apply transform duration-200 ease-in-out hover:scale-110 dark:text-gray-200 hover:text-gray-400 hover:dark:text-white;}
+ h1 { @apply text-4xl font-bold mb-4 dark:text-gray-200; }
+ h2 { @apply text-2xl font-semibold mb-2 dark:text-gray-200; }
+ h3 { @apply text-xl font-semibold dark:text-gray-200; }
+
+ * {
+ transition: background-color 0.25s, color 0.25s, border-color 0.25s;
+ }
+} \ No newline at end of file