Skip to content

Commit

Permalink
Adjust site footer margin and content
Browse files Browse the repository at this point in the history
  • Loading branch information
bdsl committed Mar 1, 2020
1 parent 827a54f commit 00dc37b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
3 changes: 2 additions & 1 deletion css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ body > div {
}

#footer {
margin-top: 1em;
margin-top: 3em;
margin-bottom: 2em;
padding: 1em;
border: 2px solid #b0b0b0;
background-color: #dcdcdc;
Expand Down
10 changes: 3 additions & 7 deletions templates/layout.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@
{{ body | raw }}
</article>



<div id="previous">
{% if previousPage %}
<a href="{{ previousPage.filename }}.html">← {{ previousPage.title }} ←</a>
Expand All @@ -59,22 +57,20 @@
{% endif %}
</div>



<div id="next">
{% if nextPage %}
<a href="{{ nextPage.filename }}.html">→ {{ nextPage.title }} →</a>
{% endif %}
</div>


<div style="clear: both"/>

<div id="footer">
<div id="byline">
<em>
Copyright Barney Laurance <br>
Site generated from sources at {{ "now"|date("H:i", "Europe/London") }} London time on
&copy; Barney Laurance <br>
Site generated from <a href="https://github.com/bdsl/phpTutorial">sources</a>
at {{ "now"|date("H:i", "Europe/London") }} London time on
{{ "now"|date("D d M Y", "Europe/London")}}.
</em>
</div>
Expand Down

0 comments on commit 00dc37b

Please sign in to comment.