Commit f421774d authored by justin's avatar justin

feat: fixed css implementation and basic styling done

parent 67a092b6
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
:root {
--fg: #b7bdf8;
--bg: #24273a;
--desert: #b9baa3;
}
body {
background-color: var(--bg);
color: var(--fg);
}
a:visited {
color: var(--fg);
}
a:link {
color: var(--fg);
}
ul {
list-style-type: none;
}
h1 {
font-family: 'Poppins', sans-serif;
}
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="/static/style.css"> <link rel="stylesheet" href="{% static 'css/style.css' %}" />
<title>{% block title %}My amazing site{% endblock %}</title> <title>{% block title %}My amazing site{% endblock %}</title>
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
......
...@@ -123,8 +123,8 @@ USE_TZ = True ...@@ -123,8 +123,8 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# 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')] STATICFILES_DIRS = 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
......
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