Add styles (kinda sorta)

This commit is contained in:
Salt 2025-01-19 01:30:48 -06:00
parent d2f73e7c86
commit 1d045084d8
3 changed files with 19 additions and 3 deletions

View File

@ -120,6 +120,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/5.1/howto/static-files/
STATIC_URL = 'static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
# Default primary key field type
# https://docs.djangoproject.com/en/5.1/ref/settings/#default-auto-field

9
static/styles.css Normal file
View File

@ -0,0 +1,9 @@
/*
* styles.css
*/
body {
background: white;
color: black;
}

View File

@ -1,11 +1,17 @@
{% load static %}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>3D2A File Index</title>
<link rel="stylesheet" href="{% static 'styles.css' %}">
<title>{% block title %}3D2A File Index{% endblock %}</title>
</head>
<body>
{% block content %}
{% endblock content %}
<div id="sitebar">
</div>
<div id="content">
{% block content %}
{% endblock %}
</div>
</body>
</html>