Added CSS Styling

parent 0e576868
...@@ -120,6 +120,7 @@ USE_TZ = True ...@@ -120,6 +120,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/ # https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
......
body {
background-color: palegoldenrod;
color:red;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
}
h2 {
font-size: large;
color: darkorchid;
}
li {
font-size: large;
color: mediumpurple;
}
\ No newline at end of file
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<link rel='stylesheet' href='{% static "style/main.css" %}'/>
</head>
<body> <body>
{% block content%} {% block content%}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment