Skip to content

Commit

Permalink
Add 200x40 version of site button
Browse files Browse the repository at this point in the history
  • Loading branch information
helenclx committed Sep 7, 2024
1 parent cf0de22 commit 3334c03
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
7 changes: 4 additions & 3 deletions src/_includes/global/footer.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
<footer class="footer">
<img src="/assets/icons/helenchong-88x31.png" alt="Helen Chong's 88x31 website button" width="88" height="31">
<div class="widgets site-btns">
<img src="/assets/icons/helenchong-88x31.png" alt="Helen Chong's 88×31 website button" width="88" height="31">
<img src="/assets/icons/helenchong-200x40.png" alt="Helen Chong's 200×40 website button" width="200" height="40">
</div>

{% include "global/socials.njk" %}

Expand Down Expand Up @@ -33,6 +36,4 @@
align-tems: center;
box-shadow: var(--bs-footer);
}

.footer img { margin: 0 auto 0.8em; }
{% endcss %}
6 changes: 6 additions & 0 deletions src/assets/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
padding-left: 0.5em;
}

/* Site buttons */
.site-btns {
align-items: center;
gap: 0.5em;
}

/* Breadcumbs */
.breadcrumbs {
list-style-type: "";
Expand Down
1 change: 0 additions & 1 deletion src/assets/css/general.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ h4 { font-size: var(--fs-h4); }
h2:has(+ *[class]:not(.heading-anchor)), .h2:has(+ *[class]),
h3:has(+ *[class]:not(.heading-anchor)), .h3:has(+ *[class]) { margin-bottom: 0.5em; }

img, picture { height: auto; }
:focus { outline: 0.15em solid currentColor; }

code {
Expand Down
5 changes: 3 additions & 2 deletions src/assets/css/socials.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/* Socials Style */
.socials {
grid-area: scial;
justify-self: center;
margin: 0 auto;
display: grid;
place-content: center;
margin-top: 0.7em;
}

.socials__links {
Expand Down
Binary file added src/assets/icons/helenchong-200x40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3334c03

Please sign in to comment.