From e0623406972e197dd9aa79eb2c79f20ce000f72e Mon Sep 17 00:00:00 2001 From: Annevd <144004647+Annevd@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:58:33 +0100 Subject: [PATCH] #301 small refactor --- src/lib/molecules/home-campus.svelte | 10 +++++----- src/lib/molecules/home-partners.svelte | 14 +++++++------- src/lib/organisms/agenda.svelte | 7 +++---- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/src/lib/molecules/home-campus.svelte b/src/lib/molecules/home-campus.svelte index b0cf7c2..7c7b6d2 100644 --- a/src/lib/molecules/home-campus.svelte +++ b/src/lib/molecules/home-campus.svelte @@ -48,21 +48,21 @@ margin-bottom: 1em; } - /* MEDIA QUERY TABLET = 430px */ + /* MEDIA QUERY MOBILE = 430px */ @media (min-width: 26.8rem) { h2 { flex-direction: row; } } - /* MEDIA QUERY TABLET = 686px */ + /* MEDIA QUERY TABLET S = 686px */ @media (min-width: 42.125rem) { h2 span:nth-of-type(1) { margin-right: 0.2em; } } - /* MEDIA QUERY TABLET = 768px */ + /* MEDIA QUERY TABLET M = 768px */ @media (min-width: 48rem) { section { padding: 0 var(--section-padding-x) var(--section-padding-y); @@ -76,7 +76,7 @@ } } - /* MEDIA QUERY TABLET = 1100px */ + /* MEDIA QUERY LAPTOP = 1100px */ @media (min-width: 68.75rem) { section { padding: 0 9em var(--section-padding-y); @@ -87,7 +87,7 @@ } } - /* MEDIA QUERY TABLET = 1250px */ + /* MEDIA QUERY TABLET L = 1250px */ @media (min-width: 78.1rem) { section { height: 70vh; diff --git a/src/lib/molecules/home-partners.svelte b/src/lib/molecules/home-partners.svelte index 0d04bb8..9258cda 100644 --- a/src/lib/molecules/home-partners.svelte +++ b/src/lib/molecules/home-partners.svelte @@ -72,13 +72,6 @@ } } - /* MEDIA QUERY DESKTOP = 1500px */ - @media (min-width: 93.75rem) { - section{ - padding: var(--section-padding-y) 15em; - } - } - /* MEDIA QUERY TABLET = 1250px */ @media (min-width: 78.1rem) { p{ @@ -86,4 +79,11 @@ } } + /* MEDIA QUERY DESKTOP = 1500px */ + @media (min-width: 93.75rem) { + section{ + padding: var(--section-padding-y) 15em; + } + } + \ No newline at end of file diff --git a/src/lib/organisms/agenda.svelte b/src/lib/organisms/agenda.svelte index 7c97369..9bf268f 100644 --- a/src/lib/organisms/agenda.svelte +++ b/src/lib/organisms/agenda.svelte @@ -16,7 +16,6 @@ background: var(--main-color-beige); z-index: 2; max-width: 100%; - min-height: 70vh; overflow: hidden; padding: var(--section-padding-y) 0 var(--section-padding-y) 1rem; } @@ -54,8 +53,8 @@ /* MEDIA QUERY DESKTOP = 1500px */ @media (min-width: 93.75rem) { - /* section { - padding: 4rem 15em; - } */ + section { + padding: var(--section-padding-y) 15em; + } }