From 58b492c7fbb60a4283e5961fc24436405f577165 Mon Sep 17 00:00:00 2001 From: mattkae Date: Wed, 22 Jun 2022 21:21:18 -0400 Subject: Nice mobile version of the site --- index.css | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'index.css') diff --git a/index.css b/index.css index 41e4fab..0c2e614 100644 --- a/index.css +++ b/index.css @@ -1,7 +1,7 @@ body { width: 60vw; height: 100vh; - font-family: Arial, Helvetica, sans-serif; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: 16px; background-color: transparent; color: black; @@ -250,8 +250,8 @@ input:focus { } /* Phone screen adjustments */ -@media only screen and (device-width: 1280px), -only screen and (max-width:1280px) { +@media only screen and (device-width: 1440px), +only screen and (max-width:1440px) { header > h1 { font-size: 1.5rem; } @@ -259,12 +259,20 @@ only screen and (max-width:1280px) { body { width: 90vw !important; } - +} + +@media only screen and (device-width: 960px), +only screen and (max-width:960px) { #theme_selector { padding-bottom: 2rem !important; } .carousel_image_expanded_container > .carousel_image { - width: 100vw; + width: 80vw; + } + + #carousel > button { + font-size: 6rem; + top: calc(50% - 3rem); } } -- cgit v1.2.1