Commit fca6ecb1 authored by Sharmaine Chua's avatar Sharmaine Chua

updated .gitignore, added templates and static

parent e2296d6f
h1 {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
color: #112f4d;
}
h2 {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
h3 {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
p {
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
body {
background-image: url(cavy.jpg);
background-position: right;
background-size: 20%;
background-repeat: repeat-y;
}
title {
min-width: 100px;
margin-top: 25px;
margin-left: 135px;
margin-bottom: 20px;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
{% load static %}
<head>
<link rel="stylesheet" href=" {% static '/css/style.css' %}">
</head>
<body style ="background-color: #afcaff;" >
<div class="home-container">
<div id="content">
{% block content %}{% endblock %}
</div>
</div>
</body>
</html>
\ No newline at end of file
...@@ -63,7 +63,7 @@ ROOT_URLCONF = 'widget_nicsbabes.urls' ...@@ -63,7 +63,7 @@ ROOT_URLCONF = 'widget_nicsbabes.urls'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [], 'DIRS': [os.path.join(BASE_DIR, 'templates')],
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
...@@ -125,6 +125,7 @@ USE_TZ = True ...@@ -125,6 +125,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/4.1/howto/static-files/ # https://docs.djangoproject.com/en/4.1/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/4.1/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.1/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