Increase content footer top margin

This commit is contained in:
Helen Chong 2024-08-05 01:53:40 +08:00
parent 00cbafdabc
commit cab3d74faf
4 changed files with 5 additions and 4 deletions

View File

@ -33,9 +33,9 @@ isContentDivided: true
{{ group.templateContent | safe }} {{ group.templateContent | safe }}
{% if group.data.updated %} {% if group.data.updated %}
<p style="margin-top: 3em;">(This {{ group.data.title }} list was last updated on {{ group.data.updated | formatDate }})</p> <p class="update-info">(This {{ group.data.title }} list was last updated on {{ group.data.updated | formatDate }})</p>
{% endif %} {% endif %}
<a href="#linktabs" class="tab__btn" style="margin-top: 2em;">Back to tabs</a> <a href="#linktabs" class="tab__btn tab__back">Back to tabs</a>
</section> </section>
{%- endfor %} {%- endfor %}
</article> </article>

View File

@ -4,4 +4,4 @@ layout: main/content
{{ content | safe }} {{ content | safe }}
<p>(This {{ keyword }} was last updated on {{ updated | formatDate }})</p> <p class="update-info">(This {{ keyword }} was last updated on {{ updated | formatDate }})</p>

View File

@ -182,11 +182,11 @@ p + .adoptables { margin-top: 1em; }
} }
.tab__btn:hover { background-color: #d5c2d6; } .tab__btn:hover { background-color: #d5c2d6; }
.tab__btn:focus { .tab__btn:focus {
outline: 0.2em solid var(--clr-title-border); outline: 0.2em solid var(--clr-title-border);
outline-offset: 0.15em; outline-offset: 0.15em;
} }
.tab__back { margin-top: 3em; }
/* Web ring */ /* Web ring */
.webring { .webring {

View File

@ -2,6 +2,7 @@
.bold-text { font-weight: 700; } .bold-text { font-weight: 700; }
.center-text { text-align: center; } .center-text { text-align: center; }
.inline-img { display: inline-block; } .inline-img { display: inline-block; }
.update-info { margin-top: 3em; }
.center-el { .center-el {
display: grid; display: grid;