From 023ab8508cf893ce8a82b0a687fd09d172d98545 Mon Sep 17 00:00:00 2001 From: Greg Shuflin Date: Tue, 7 Mar 2023 16:53:21 -0800 Subject: [PATCH] Make site look good on mobile --- index.html | 3 ++- justfile | 7 ++++++- style.css | 4 ++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 3ee4ff1..0c8b1c7 100644 --- a/index.html +++ b/index.html @@ -1,8 +1,9 @@ - Greg Shuflin - Software Developer + + Greg Shuflin - Software Developer diff --git a/justfile b/justfile index 871dc11..6e14027 100644 --- a/justfile +++ b/justfile @@ -5,7 +5,12 @@ server := "realname-server.everydayimshuflin.com" resume_dir := "/home/greg/code/active/resume" resume_filename := "Greg Shuflin resume.pdf" -deploy: + +deploy-html: scp index.html favicon.png style.css self.jpg greg@{{server}}:"/srv/greg.everydayimshuflin.com/" + +deploy-resume-pdf: just {{resume_dir}}/build_resume scp -r "{{resume_dir}}/{{resume_filename}}" greg@{{server}}:"/srv/greg.everydayimshuflin.com/resume" + +deploy: deploy-html deploy-resume-pdf diff --git a/style.css b/style.css index e991360..2fb252f 100644 --- a/style.css +++ b/style.css @@ -4,21 +4,25 @@ h1 { font-family: Ubuntu; } +@media (min-width: 600px) { header { display: flex; justify-content: space-between; } +} #selfPhoto { margin-top: 20px; margin-right: 30px; } +@media (min-width: 80rem) { #main { margin-left:auto; margin-right:auto; width:960px; } +} section.important-links { font-size: large;