Commit f69a8009 authored by Ysabella Panghulan's avatar Ysabella Panghulan

fixed code styling and typos

parent 659f7d8a
Pipeline #3050 canceled with stages
No preview for this file type
...@@ -50,4 +50,4 @@ class Books(models.Model): ...@@ -50,4 +50,4 @@ class Books(models.Model):
return self.title return self.title
def get_absolute_url(self): def get_absolute_url(self):
return reverse('book-details', kwargs={'pk': self.pk}) return reverse('book-details', kwargs={'pk': self.pk})
\ No newline at end of file
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{% block header %} {% block header %}
<h2> Welcome to <span class="highlight">Bella's</span></h2> <h2> Welcome to <span class="highlight">Bella's</span></h2>
<h2> Database of Favorite Books & Authors </h2> <h2> Database of Favorite Books & Authors!</h2>
{% endblock %} {% endblock %}
{% block body %} {% block body %}
......
...@@ -70,4 +70,4 @@ li:hover { ...@@ -70,4 +70,4 @@ li:hover {
padding: 0.2rem; padding: 0.2rem;
min-width: 5rem; min-width: 5rem;
} }
} }
\ No newline at end of file \ No newline at end of file
body { body {
padding: 3.5rem; padding: 3.5rem;
} }
h2 { h2 {
text-transform: uppercase; text-transform: uppercase;
font-size: 30px; font-size: 30px;
...@@ -21,6 +22,7 @@ h2 { ...@@ -21,6 +22,7 @@ h2 {
background-color: #b39aff; background-color: #b39aff;
border-radius: 0.4rem; border-radius: 0.4rem;
} }
h3 { h3 {
font-size: medium; font-size: medium;
display: block; display: block;
...@@ -32,4 +34,4 @@ h3 { ...@@ -32,4 +34,4 @@ h3 {
font-size: small; font-size: small;
padding: 0.2rem; padding: 0.2rem;
} }
} }
\ No newline at end of file \ No newline at end of file
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