From 95a4ab3e3ad512e0cb42d16e211fae54001ae09c Mon Sep 17 00:00:00 2001 From: Nye Evans Date: Fri, 1 Jan 2021 14:22:26 +0000 Subject: [PATCH] formatted slideshows for mobile (font may need tweaking)) --- Pages/Mainpage.css | 59 ++++++++++++++++++++++++++++++++++++++++++++++ Pages/index.html | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) diff --git a/Pages/Mainpage.css b/Pages/Mainpage.css index e69a59a..8b29d2b 100644 --- a/Pages/Mainpage.css +++ b/Pages/Mainpage.css @@ -202,6 +202,65 @@ h2, h3{ border-radius: 0; font-size: 3vw; } + + #programGallery{ + height: 70vh; + width: 100%; + + + margin-left: 0; + margin-right: 0; + } + + #personalGallery{ + height: 70vh; + width: 100%; + + margin-left: 0; + margin-right: 0; + } + + .GalleryImage{ /*all images should be 700x700*/ + grid-column: 1/13; + grid-row: 2/7; + border-bottom-left-radius: 0; + + object-fit: cover; + + width: 100%; + height: 100%; + } + + .GalleryTitle{ + grid-column: 1/13; + grid-row: 1; + + padding: 5px; + + font-size: 5vh; + + border-radius: 0; + } + + .GalleryCaption{ + grid-column: 1/13; + grid-row: 7/12; + + border-radius: 0; + font-size: 3.2vw; + } + + .GalleryLeftArrow{ + grid-column: 1; + grid-row: 11; + font-size: 7vw; + } + + .GalleryRightArrow{ + grid-column: 12; + grid-row: 11; + font-size: 7vw; + } } diff --git a/Pages/index.html b/Pages/index.html index 661f8d3..ded7fc2 100644 --- a/Pages/index.html +++ b/Pages/index.html @@ -40,7 +40,7 @@
-

Image Title Personal

+

Image Title Unrelated

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.