Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/_layouts/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
scrolling="no"
style="margin: 0 0 1rem; border-radius: 0px !important; background-color: transparent;"></iframe>
{% include 'shop_carousel.njk' %}
<div class="tdbc-row tdbc-ink--light tdbc-mx-auto">
<div class="tdbc-row tdbc-ink--light tdbc-mx-auto footer__meta">
<p class="tdbc-mb-none">&copy; 2005-{% year %}
{{ meta.siteName }}</p>
<span class="tdbc-row tdbc-row--center-content">
Expand Down
24 changes: 24 additions & 0 deletions src/css/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,30 @@ ul.tdbc-column-container {
}
}

.footer__meta {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
text-align: center;
width: 100%;

> * {
width: 100%;
}

@media (min-width: 80ch) {
flex-direction: row;
align-items: center;
justify-content: center;
text-align: inherit;

> * {
width: auto;
}
}
}

hr {
margin-top: 4rem;
margin-bottom: 4rem;
Expand Down