From 5c542c40e8de52c298a8fe3a71fb23f1adb9e5e8 Mon Sep 17 00:00:00 2001 From: 3eef8a28f26fb2bcc514e6f1938929a1f931762 <116031952+3eef8a28f26fb2bcc514e6f1938929a1f931762@users.noreply.github.com> Date: Fri, 10 Feb 2023 22:11:51 -0500 Subject: [PATCH] Fix CSS --- css/home.css | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 css/home.css diff --git a/css/home.css b/css/home.css new file mode 100644 index 000000000..b57f3187e --- /dev/null +++ b/css/home.css @@ -0,0 +1,45 @@ +#home-title { + left: 30vw; + aspect-ratio: 337/181; + position: relative; + margin-top: 10vmin; + width: 40vw; +} + +.home-search { + /* min-height: 3vmin; */ + top: 0vmin; + position: relative; + font-size: 2rem; + margin: 10vmin auto; + margin-top: 5vmin; + width: 50vmin; + display: block; + padding: 1.6vmin; + padding-left: 1.8rem; + padding-right: 1.8rem; +} + +#home-footer { + text-align: center; +} + +#home-footer a { + text-decoration: none; + border-bottom: solid; + border-width: 0.05rem; + vertical-align: center; +} + +#github-icon { + height: 1.2rem; + margin-bottom: 0.1rem; +} + + +@media (max-aspect-ratio: 5/4), (orientation: portrait) { + #home-title { + left: 12.5vw; + width: 75vw; + } +}