From 0ae8a9b75118f442b714c8ae0724854ff81209c0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0=E1=85=A0?=
=?UTF-8?q?=E1=85=A0=E1=85=A0=E1=85=A0?=
<29128703+milksense@users.noreply.github.com>
Date: Sat, 22 Jul 2023 22:05:38 +0000
Subject: [PATCH] feat: improve expand icons and footer (#141)
---
src/layout/Footer/FooterHost.svelte | 15 +++++++++++++--
src/layout/Footer/FooterSection.svelte | 11 +++++++++--
src/routes/contributors/ContributorSection.svelte | 2 +-
static/icons/expand_less.svg | 1 +
static/icons/expand_more.svg | 1 +
5 files changed, 25 insertions(+), 5 deletions(-)
create mode 100644 static/icons/expand_less.svg
create mode 100644 static/icons/expand_more.svg
diff --git a/src/layout/Footer/FooterHost.svelte b/src/layout/Footer/FooterHost.svelte
index 9e60cd2..9118dbd 100644
--- a/src/layout/Footer/FooterHost.svelte
+++ b/src/layout/Footer/FooterHost.svelte
@@ -106,6 +106,13 @@
align-items: center;
}
+ @media screen and (max-width: 768px) {
+ .footer-bottom {
+ flex-wrap: wrap;
+ gap: 1rem;
+ }
+ }
+
#logo-name {
font-size: 1.4rem;
color: var(--white);
@@ -119,7 +126,7 @@
.footer-bottom a {
text-decoration: none;
color: var(--grey-five);
- font-weight: 500;
+ font-weight: 600;
}
li {
@@ -131,7 +138,7 @@
li a {
color: var(--accent-color);
- font-weight: 500;
+ font-weight: 600;
font-size: 0.95rem;
}
@@ -193,4 +200,8 @@
}
}
+ svg {
+ padding-left: 15px;
+ padding-right: 15px;
+ }
diff --git a/src/layout/Footer/FooterSection.svelte b/src/layout/Footer/FooterSection.svelte
index 363e499..8c66643 100644
--- a/src/layout/Footer/FooterSection.svelte
+++ b/src/layout/Footer/FooterSection.svelte
@@ -19,7 +19,10 @@
{title}
- {expanded ? '-' : '+'}
+
{#if expanded}