From 4df0e4a754ea5e1fb0d05a4e08a53cd49e9fce16 Mon Sep 17 00:00:00 2001 From: Tomas Bankauskas Date: Thu, 4 Apr 2024 15:23:09 +0300 Subject: Added Daisy UI and basic components (#3) * added daisyui * added Footer.astro * updated Header.astro, added Card.astro, etc * small adjustments --- src/styles/globals.css | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 src/styles/globals.css (limited to 'src/styles') diff --git a/src/styles/globals.css b/src/styles/globals.css new file mode 100644 index 0000000..8846f57 --- /dev/null +++ b/src/styles/globals.css @@ -0,0 +1,37 @@ +@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;800&display=swap'); + +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + + :not(pre) > code { + @apply px-1 py-0.5 font-mono rounded bg-neutral-900 text-yellow-200; + font-size: 0.9em; + } + + h1 { + @apply mb-6 text-4xl font-bold tracking-tight sm:text-5xl; + } +} + +a { + @apply underline +} + +.markdown { + @apply mb-1; +} + +.alert .markdown { + @apply mb-0; +} + +.markdown p { + @apply mb-3; +} + +.btn:disabled { + @apply text-neutral-400 bg-neutral-700; +} \ No newline at end of file -- cgit v1.2.3