diff options
| author | Tomas Bankauskas <tbdizainas@gmail.com> | 2024-04-04 15:23:09 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 15:23:09 +0300 |
| commit | 4df0e4a754ea5e1fb0d05a4e08a53cd49e9fce16 (patch) | |
| tree | d695b3f987ccf7113ba73b467a94082457be63ea /src/styles/globals.css | |
| parent | 5c66b0550a6e3bd6b558da4229bcb6be2d9244f6 (diff) | |
Added Daisy UI and basic components (#3)
* added daisyui
* added Footer.astro
* updated Header.astro, added Card.astro, etc
* small adjustments
Diffstat (limited to 'src/styles/globals.css')
| -rw-r--r-- | src/styles/globals.css | 37 |
1 files changed, 37 insertions, 0 deletions
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 |
