summaryrefslogtreecommitdiff
path: root/src/styles
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-16 03:53:24 -0400
committerseth <[email protected]>2023-05-16 04:08:37 -0400
commit681cd8c1cc2904c562f9a58db3cbb657d58fb552 (patch)
tree9255f71e577fc82f079c16ff493f432ca5557284 /src/styles
parentbf4df962be338c08ae41bed94b1d60b2930fca9f (diff)
feat: rewrite with astro
Diffstat (limited to 'src/styles')
-rw-r--r--src/styles/global.sass52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/styles/global.sass b/src/styles/global.sass
new file mode 100644
index 0000000..5ee88cc
--- /dev/null
+++ b/src/styles/global.sass
@@ -0,0 +1,52 @@
+@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;700&display=swap')
+@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500&display=swap')
+
+@tailwind base
+@tailwind components
+@tailwind utilities
+@tailwind variants
+
+html
+ font-family: "Noto Sans", sans-serif
+
+h1
+ @apply text-2xl
+
+h2
+ @apply text-xl
+
+h3
+ @apply text-lg
+
+p,li
+ @apply text-base
+
+ code
+ @apply bg-base text-text p-[0.2em] text-sm rounded
+
+a
+ @apply underline decoration-inherit
+
+body
+ @apply bg-base p-10
+
+.astro-code
+ @apply p-3 rounded-xl
+
+.container
+ @apply bg-lavender flex flex-auto flex-col items-center justify-center w-fit mx-auto rounded-lg
+
+.content
+ @apply inline-block text-center p-5
+
+#blogpost
+ h1
+ @apply bg-base text-4xl mx-auto p-5 mb-5 mt-5 text-text text-center w-fit
+
+ h2
+ @apply bg-base text-xl mx-auto p-3 mb-5 mt-5 text-text text-center w-fit
+
+ h3
+ @apply bg-base text-lg mx-auto p-1 mb-5 mt-5 text-text text-center w-fit
+
+ @apply lg:max-w-6xl text-left items-center