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>
<html lang="en">
<head>
<link rel="stylesheet" href="/static/style.css">
<link rel="stylesheet" href="{% static 'css/style.css' %}" />
<title>{% block title %}My amazing site{% endblock %}</title>
{% block styles %}{% endblock %}
</head>
......@@ -11,4 +12,4 @@
</div>
{% block scripts %}{% endblock %}
</body>
</html>
\ No newline at end of file
</html>
......@@ -123,8 +123,8 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
STATIC_URL = 'static/'
STATICFILES_DIRS = BASE_DIR, "static"
# Default primary key field type
# 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