Commit 229c0c20 authored by Andre Dalwin C. Tan's avatar Andre Dalwin C. Tan

Updated CSS

parent ff945914
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button type="submit">Submit</button> <button type="submit" class="submit">Submit</button>
</form> </form>
{% endblock %} {% endblock %}
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button type="submit">Submit</button> <button type="submit" class="submit">Submit</button>
</form> </form>
{% endblock %} {% endblock %}
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<li>{{ object.bio }}</li> <li>{{ object.bio }}</li>
<form action="./edit"> <form action="./edit">
<button type="submit">Edit Author</button> <button type="submit" class="submit">Edit Author</button>
</form> </form>
</ul> </ul>
</div> </div>
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<li>{{ object.blurb }}</li> <li>{{ object.blurb }}</li>
<form action="./edit"> <form action="./edit">
<button type="submit">Edit Book</button> <button type="submit" class="submit">Edit Book</button>
</form> </form>
</ul> </ul>
......
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button type="submit">Submit</button> <button type="submit" class="submit">Submit</button>
</form> </form>
{% endblock %} {% endblock %}
...@@ -7,6 +7,6 @@ ...@@ -7,6 +7,6 @@
<form method="POST"> <form method="POST">
{% csrf_token %} {% csrf_token %}
{{ form.as_p }} {{ form.as_p }}
<button type="submit">Submit</button> <button type="submit" class="submit">Submit</button>
</form> </form>
{% endblock %} {% endblock %}
...@@ -16,4 +16,9 @@ ...@@ -16,4 +16,9 @@
<a href="/books">Books</a> <a href="/books">Books</a>
<a href="/authors">Authors</a> <a href="/authors">Authors</a>
</section> </section>
<section class="footer">
<a href="/books/add">Add Book</a>
<a href="/authors/add">Add Author</a>
</section>
{% endblock %} {% endblock %}
No preview for this file type
...@@ -11,6 +11,21 @@ body { ...@@ -11,6 +11,21 @@ body {
height: 100vh; height: 100vh;
width: 100vw; width: 100vw;
} }
.submit{
color: #fcfaf4;
border: 2px;
border-radius: 20px;
padding: 15px 40px;
background: #F67280;
font-size: large;
text-decoration: none;
transition: scale 0.5s ease;
}
.submit:hover{
scale:1.2;
}
.info{ .info{
width: 50vw; width: 50vw;
display: flex; display: flex;
...@@ -49,4 +64,5 @@ ul > a:hover{ ...@@ -49,4 +64,5 @@ ul > a:hover{
} }
li{ li{
list-style-type: none; list-style-type: none;
} }
\ 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