From 408fb2bbc2999a45268e7218d776afa53d30df1b Mon Sep 17 00:00:00 2001 From: Jason Streifling Date: Sun, 7 Jan 2024 10:06:47 +0100 Subject: [PATCH] Tailwind CSS eingebunden --- .gitignore | 4 ++++ static/css/input.css | 3 +++ tailwind.config.js | 9 +++++++++ templates/index.html | 1 + 4 files changed, 17 insertions(+) create mode 100644 static/css/input.css create mode 100644 tailwind.config.js diff --git a/.gitignore b/.gitignore index c464b21..284ba53 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,7 @@ tmp test.sql static/test.jpg static/test.mp4 +node_modules +static/css/output.css +package.json +package-lock.json diff --git a/static/css/input.css b/static/css/input.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/static/css/input.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..08b53bc --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,9 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["./templates/*.html"], + theme: { + extend: {}, + }, + plugins: [], +} + diff --git a/templates/index.html b/templates/index.html index 25b0e3f..71540f9 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,6 +16,7 @@ + Sicherheitsunterweisung