From dd8ef8e13d62d5721ca395cedf2ff094c07d3742 Mon Sep 17 00:00:00 2001 From: mo8it Date: Tue, 30 May 2023 14:24:25 +0200 Subject: [PATCH] Add Tailwind config --- input.css | 33 +++++++++++++++++++++++++++++++++ tailwind.config.js | 8 ++++++++ 2 files changed, 41 insertions(+) create mode 100644 input.css create mode 100644 tailwind.config.js diff --git a/input.css b/input.css new file mode 100644 index 0000000..a012584 --- /dev/null +++ b/input.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + h1 { + @apply text-4xl mt-3 mb-3 font-bold; + } + h2 { + @apply text-3xl mt-4 mb-1.5 font-bold; + } + h3 { + @apply text-2xl mt-5 mb-1.5 font-bold; + } + h4 { + @apply text-xl mt-6 mb-1.5 font-bold; + } + p { + @apply mb-2; + } + a { + @apply underline hover:decoration-orange-400 transition duration-300; + } + ul { + @apply mt-2 mb-3 ml-1 list-disc list-inside marker:text-sky-600; + } + li { + @apply my-0.5; + } + hr { + @apply my-5 rounded-full; + } +} diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..a70e2f5 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["./templates/**/*.html"], + theme: { + extend: {}, + }, + plugins: [], +};