diff --git a/core/models.py b/core/models.py deleted file mode 100644 index 5de958d..0000000 --- a/core/models.py +++ /dev/null @@ -1,7 +0,0 @@ -from django.db import models -from admin_ordering.models import OrderableModel -from tinymce.models import HTMLField -from core.utils import SingletonModel - - -# Create your models here. diff --git a/pdlzbs/settings.py b/pdlzbs/settings.py index 12886c6..10d2748 100644 --- a/pdlzbs/settings.py +++ b/pdlzbs/settings.py @@ -50,6 +50,7 @@ INSTALLED_APPS = [ 'db.gpb', 'db.tournaments', 'db.membership', + 'theme', 'core' ] + [ 'tailwind', @@ -59,7 +60,7 @@ INSTALLED_APPS = [ 'django_browser_reload' ] -TAILWIND_APP_NAME = 'core' +TAILWIND_APP_NAME = 'theme' MIDDLEWARE = [ 'django.middleware.security.SecurityMiddleware', diff --git a/theme/__init__.py b/theme/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/theme/apps.py b/theme/apps.py new file mode 100644 index 0000000..bec7464 --- /dev/null +++ b/theme/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + + +class ThemeConfig(AppConfig): + name = 'theme' diff --git a/core/static/css/dist/styles.css b/theme/static/css/dist/styles.css similarity index 99% rename from core/static/css/dist/styles.css rename to theme/static/css/dist/styles.css index fc2876d..6bb64ed 100644 --- a/core/static/css/dist/styles.css +++ b/theme/static/css/dist/styles.css @@ -1155,16 +1155,16 @@ select { margin: 0.5rem; } -.my-0 { - margin-top: 0px; - margin-bottom: 0px; -} - .mx-auto { margin-left: auto; margin-right: auto; } +.my-0 { + margin-top: 0px; + margin-bottom: 0px; +} + .mb-0 { margin-bottom: 0px; } @@ -1209,6 +1209,10 @@ select { display: none; } +.h-screen { + height: 100vh; +} + .h-\[40px\] { height: 40px; } @@ -1217,10 +1221,6 @@ select { height: 100%; } -.h-screen { - height: 100vh; -} - .max-h-12 { max-height: 3rem; } @@ -1337,6 +1337,11 @@ select { border-color: rgb(168 162 158 / var(--tw-border-opacity)); } +.bg-gray-50 { + --tw-bg-opacity: 1; + background-color: rgb(249 250 251 / var(--tw-bg-opacity)); +} + .bg-white { --tw-bg-opacity: 1; background-color: rgb(255 255 255 / var(--tw-bg-opacity)); @@ -1347,11 +1352,6 @@ select { background-color: rgb(250 250 249 / var(--tw-bg-opacity)); } -.bg-gray-50 { - --tw-bg-opacity: 1; - background-color: rgb(249 250 251 / var(--tw-bg-opacity)); -} - .p-2 { padding: 0.5rem; } @@ -1395,6 +1395,10 @@ select { font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; } +.text-5xl { + font-size: 3rem; +} + .text-4xl { font-size: 2.25rem; } @@ -1415,14 +1419,6 @@ select { font-size: 13px; } -.text-\[5rem\] { - font-size: 5rem; -} - -.text-5xl { - font-size: 3rem; -} - .text-\[2\.25rem\] { font-size: 2.25rem; } @@ -1439,14 +1435,14 @@ select { font-weight: 300; } -.font-medium { - font-weight: 500; -} - .font-extrabold { font-weight: 800; } +.font-medium { + font-weight: 500; +} + .lowercase { text-transform: lowercase; } @@ -1455,16 +1451,12 @@ select { font-style: italic; } -.leading-5 { - line-height: 1.25rem; -} - .leading-normal { line-height: 1.5; } -.leading-\[1\.1rem\] { - line-height: 1.1rem; +.leading-5 { + line-height: 1.25rem; } .tracking-normal { @@ -1538,10 +1530,6 @@ select { margin-bottom: 0px; } -.prose-h1\:text-center :is(:where(h1):not(:where([class~="not-prose"] *))) { - text-align: center; -} - .prose-h1\:font-light :is(:where(h1):not(:where([class~="not-prose"] *))) { font-weight: 300; } diff --git a/core/static_src/.gitignore b/theme/static_src/.gitignore similarity index 100% rename from core/static_src/.gitignore rename to theme/static_src/.gitignore diff --git a/core/static_src/package-lock.json b/theme/static_src/package-lock.json similarity index 100% rename from core/static_src/package-lock.json rename to theme/static_src/package-lock.json diff --git a/core/static_src/package.json b/theme/static_src/package.json similarity index 100% rename from core/static_src/package.json rename to theme/static_src/package.json diff --git a/core/static_src/postcss.config.js b/theme/static_src/postcss.config.js similarity index 100% rename from core/static_src/postcss.config.js rename to theme/static_src/postcss.config.js diff --git a/core/static_src/src/styles.css b/theme/static_src/src/styles.css similarity index 100% rename from core/static_src/src/styles.css rename to theme/static_src/src/styles.css diff --git a/core/static_src/tailwind.config.js b/theme/static_src/tailwind.config.js similarity index 100% rename from core/static_src/tailwind.config.js rename to theme/static_src/tailwind.config.js