Commit f9d25cdc authored by Elaiza Bolislis's avatar Elaiza Bolislis

Modified templates and created a style.css file for the site's styling.

parent 911ccf94
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Add Author"> <p><input type="submit" value="Add Author"></p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="post"> <form method="post">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<input type="submit" value="Add Book"> <p><input type="submit" value="Add Book"></p>
</form> </form>
{% endblock %} {% endblock %}
\ No newline at end of file
body {
font-family: 'Courier New';
text-align: center;
}
h1 {
color: rgb(1, 83, 1);
font-size: 250%;
}
ul li {
list-style-position: inside;
}
\ No newline at end of file
{% load static %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang=""> <html lang="">
<head> <head>
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="{% static 'style.css' %}">
<title>{% block title %}{% endblock %}</title> <title>{% block title %}{% endblock %}</title>
</head> </head>
......
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