Improved base.html navbar and added css
This commit is contained in:
@@ -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'
|
||||
7
benchcoach/static/base.css
Normal file
7
benchcoach/static/base.css
Normal file
@@ -0,0 +1,7 @@
|
||||
body {
|
||||
padding-top: 5rem;
|
||||
}
|
||||
.starter-template {
|
||||
padding: 3rem 1.5rem;
|
||||
text-align: center;
|
||||
}
|
||||
Reference in New Issue
Block a user