From b296e4fe3f5e8c64459c4034160a631f518759c3 Mon Sep 17 00:00:00 2001 From: Elgius <114131653+Elgius@users.noreply.github.com> Date: Wed, 12 Apr 2023 13:50:15 +0500 Subject: [PATCH] added fonts + changes to tailwind files --- src/app.css | 12 ++++++++++++ src/routes/getPost/+page.svelte | 4 ++-- tailwind.config.js | 11 +++++++++++ 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/app.css b/src/app.css index b5c61c9..ad6c7ba 100644 --- a/src/app.css +++ b/src/app.css @@ -1,3 +1,15 @@ +@import url('https://fonts.googleapis.com/css2?family=Anuphan:wght@100;200;300;400;500;600;700&family=Bebas+Neue&display=swap'); + + + + @tailwind base; @tailwind components; @tailwind utilities; + + +@layer base{ + html { + font-family: 'Anuphan', sans-serif; + } +} \ No newline at end of file diff --git a/src/routes/getPost/+page.svelte b/src/routes/getPost/+page.svelte index 0a6c66d..f845e54 100644 --- a/src/routes/getPost/+page.svelte +++ b/src/routes/getPost/+page.svelte @@ -3,8 +3,8 @@
-

Honesty

-

by Fishie

+

Honesty

+

by Fishie

diff --git a/tailwind.config.js b/tailwind.config.js index 6460aaf..eb09704 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -2,7 +2,18 @@ export default { content: ['./src/**/*.{html,js,svelte,ts}'], theme: { + container: { + center: true, + padding: '1.25em', + screens:{ + 'xl': '1200px', + '2xl': '1200px', + }, + }, extend: {}, + fontFamily: { + signature: ['Bebas Neue','cursive'] + } }, plugins: [require('daisyui')], }