From 3622894dfba1cc3256b4f4f1081ad6781ce61894 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Sat, 21 Apr 2018 01:01:19 -0400 Subject: [PATCH] Mobile style tweaks.: --- style.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/style.css b/style.css index 8861b2a..3ff1aa7 100644 --- a/style.css +++ b/style.css @@ -34,6 +34,7 @@ main { #me { max-height: 60vh; + max-width: 80vw; border-radius: 50%; background-color: rgb(54, 193, 82); @@ -55,6 +56,8 @@ h1, h2 { animation-fill-mode: forwards; transform: scale(0); + + text-align: center; } h1 { font-size: 1.6em; } @@ -101,4 +104,13 @@ h2 span { color: rgb(54, 193, 82); font-weight: bold;} @keyframes init_me2 { 0% { transform: translate(-50%, -50%) scale(0); } 100% { transform: translate(-50%, -50%) scale(1); } +} + +@media screen and (max-width: 360px) { + body { + overflow-x: hidden; + } + #links a svg.fa-3x { + font-size: 2em; + } } \ No newline at end of file