From 0eeba66b38f121920788b251236a320991846ff2 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Sat, 2 Nov 2024 21:39:43 +1100 Subject: [PATCH] Add helper scripts --- new_theme/static/css/dist/styles.css | 8 ++++---- run_server.sh | 5 +++++ run_tailwind.sh | 6 ++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100755 run_server.sh create mode 100755 run_tailwind.sh diff --git a/new_theme/static/css/dist/styles.css b/new_theme/static/css/dist/styles.css index d3ebc32..41b8910 100644 --- a/new_theme/static/css/dist/styles.css +++ b/new_theme/static/css/dist/styles.css @@ -806,14 +806,14 @@ video { min-width: 100%; } -.max-w-3xl { - max-width: 48rem; -} - .max-w-4xl { max-width: 56rem; } +.max-w-6xl { + max-width: 72rem; +} + .max-w-7xl { max-width: 80rem; } diff --git a/run_server.sh b/run_server.sh new file mode 100755 index 0000000..992239a --- /dev/null +++ b/run_server.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -eu +source 3.12/bin/activate +echo "Starting Django development server..." +python manage.py runserver diff --git a/run_tailwind.sh b/run_tailwind.sh new file mode 100755 index 0000000..c5b17b4 --- /dev/null +++ b/run_tailwind.sh @@ -0,0 +1,6 @@ +#!/bin/bash +set -eu +source 3.12/bin/activate + +echo "Starting Tailwind CSS compiler..." +python manage.py tailwind start