From fd34c4cf2ad0b7bbf0a26ec4a40e502b8453ad4d Mon Sep 17 00:00:00 2001 From: Hayley Witherell Date: Sun, 24 Nov 2024 14:22:05 -0700 Subject: [PATCH 1/4] Update preview text --- src/_includes/head.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_includes/head.liquid b/src/_includes/head.liquid index eb8c02a..2811ec0 100644 --- a/src/_includes/head.liquid +++ b/src/_includes/head.liquid @@ -11,7 +11,7 @@ > @@ -47,7 +47,7 @@ > Date: Sun, 24 Nov 2024 15:29:51 -0700 Subject: [PATCH 2/4] Add contact form --- src/contact.html | 7 ++++++- src/styles/style.css | 34 +++++++++++++++++++++++----------- 2 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/contact.html b/src/contact.html index efd8376..c3fc966 100644 --- a/src/contact.html +++ b/src/contact.html @@ -6,4 +6,9 @@

Contact

-

nditcommunity@gmail.com

+ diff --git a/src/styles/style.css b/src/styles/style.css index 590f7d7..5d76f5e 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -333,6 +333,25 @@ h6 { margin-bottom: 0.5em; } +/* iframes */ + +iframe { + border: 0; + width: 100%; + border-radius: 1rem; + background-color: var(--white); + overflow: hidden; +} + +.day-mode iframe { + box-shadow: var(--day-shadow); +} + +.night-mode iframe { + filter: invert(1) hue-rotate(180deg); + box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.45); +} + /* home */ .tagline { @@ -421,21 +440,14 @@ body.night-mode .join-btn:hover { .calendar { height: 20rem; - border: 0; - width: 100%; - border-radius: 1rem; - background-color: var(--white); padding: 1rem; - overflow: hidden; } -.day-mode .calendar { - box-shadow: var(--day-shadow); -} +/* contact */ -.night-mode .calendar { - filter: invert(1) hue-rotate(180deg); - box-shadow: 0px 4px 6px rgba(128, 128, 128, 0.45); +.contact-form { + height: 46rem; + padding: 1rem 0; } /* ---------- FOOTER ---------- */ From 827d58c51381d3a3954c54cd0ddf088ac2536967 Mon Sep 17 00:00:00 2001 From: Hayley Witherell Date: Sun, 24 Nov 2024 15:47:45 -0700 Subject: [PATCH 3/4] Make iframes more responsive --- src/contact.html | 6 ++---- src/events.html | 4 +++- src/styles/style.css | 9 ++++++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/contact.html b/src/contact.html index c3fc966..3efd72f 100644 --- a/src/contact.html +++ b/src/contact.html @@ -7,8 +7,6 @@

Contact

diff --git a/src/events.html b/src/events.html index e36c915..7ff1126 100644 --- a/src/events.html +++ b/src/events.html @@ -9,4 +9,6 @@

Events

class="calendar" src="https://calendar.google.com/calendar/embed?&showCalendars=0&showPrint=0&showDate=0&showNav=0&showTitle=0&src=bmRpdGNvbW11bml0eUBnbWFpbC5jb20&src=YWRkcmVzc2Jvb2sjY29udGFjdHNAZ3JvdXAudi5jYWxlbmRhci5nb29nbGUuY29t" scrolling="no" -> +> + Loading Google Calendar... + diff --git a/src/styles/style.css b/src/styles/style.css index 5d76f5e..f90a4a8 100644 --- a/src/styles/style.css +++ b/src/styles/style.css @@ -495,9 +495,16 @@ body.day-mode footer { } .calendar { - width: 17rem; + width: 19rem; min-height: 17rem; margin-top: 0.8rem; height: auto; + margin-left: -1rem; + transform: scale(0.9); + transform-origin: top center; + } + + .contact-form { + height: 50rem; } } From 63206e3b4819d472b9839bbb93815c1ee49b9271 Mon Sep 17 00:00:00 2001 From: Hayley Witherell Date: Sun, 24 Nov 2024 15:58:45 -0700 Subject: [PATCH 4/4] Prettify --- src/contact.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/contact.html b/src/contact.html index 3efd72f..f4a4d1e 100644 --- a/src/contact.html +++ b/src/contact.html @@ -6,7 +6,10 @@

Contact

-