Commit fb0e4da3 authored by Washington99's avatar Washington99

Initial bg edits

Base.html has been linked a css file that changes its bg to blue
parent e7cd1f8f
body{
background-color: red
}
#additional{
padding: 10px;
background-color: whitesmoke;
font-family: Verdana, Geneva, Tahoma, sans-serif;
box-shadow: 0px 2px 10px 0px rgb(80, 37, 21);
margin-left: 10%;
margin-right: 10%;
text-align: center;
border-style: double;
border-radius: 5px;
border-color: rgb(117, 54, 31);
border-width: 10px;
}
div.content{
padding: 10px;
background-color: whitesmoke;
font-family: Verdana, Geneva, Tahoma, sans-serif;
box-shadow: 50px;
margin-left: 20%;
margin-right: 20%;
text-align: center;
border-style: solid;
border-radius: 5px;
border-color: rgb(117, 54, 31);
border-width: 2px;
padding-bottom: 20px;
}
a.navBtn{
padding: 10px;
border-radius: 5px;
border-color: rgb(117, 54, 31);
border-width: 2px;
border-style: groove;
}
input[type=submit]{
background-color: rgb(58, 24, 2);
}
\ No newline at end of file
<!-- project/template/base.html --> <!-- project/template/base.html -->
<!DOCTYPE html> <!DOCTYPE html>
{% load static %}
<html lang="en"> <html lang="en">
<head> <head>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="{% static 'styles.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>
......
...@@ -119,7 +119,7 @@ USE_TZ = True ...@@ -119,7 +119,7 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# 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 = 'bookshelf/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