Skip to content

Commit

Permalink
changed color of welcome greeting: name color changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Shane committed Feb 18, 2021
1 parent 5023c4d commit 7462f72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/main/templates/main/home.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{% extends 'main.html' %}
{% block context %}
<h1 style="text-align: center">Welcome <strong>{{user}}</strong></h1>
<h1 style="text-align: center">Welcome <strong class='main-color'>{{user}}</strong></h1>
<section class="container">
{% for picture in page_obj %}
<div class = "column">
<a href="{% url 'detail' picture.id%}" target = "_blank"><img src="{{picture.image.url}}" width="500px" alt="failure" style='width:100%'></a>
</div>
{% endfor %}
</section>
<section style="position: absolute; bottom: 10px; text-align: center">
<section>
<div class="pagination" >
<span class="step-links">
<span class="step-links footer">
{% if page_obj.has_previous %}
<a href="?page=1">&laquo; first</a>
<a href="?page={{ page_obj.previous_page_number }}">previous</a>
Expand Down

0 comments on commit 7462f72

Please sign in to comment.