Improved base.html navbar and added css

This commit is contained in:
2021-11-09 20:27:03 -06:00
parent f686a93852
commit e7375e6319
3 changed files with 41 additions and 16 deletions

View File

@@ -42,7 +42,9 @@ INSTALLED_APPS = [
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'bootstrap5'
'bootstrap5',
'crispy_forms',
'benchcoach'
]
MIDDLEWARE = [
@@ -132,4 +134,6 @@ STATIC_URL = '/static/'
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
CRISPY_TEMPLATE_PACK = 'bootstrap4'

View File

@@ -0,0 +1,7 @@
body {
padding-top: 5rem;
}
.starter-template {
padding: 3rem 1.5rem;
text-align: center;
}