From 0d4604ddd641b2853756f58afefee69abb074212 Mon Sep 17 00:00:00 2001 From: mattkae Date: Sat, 10 Dec 2022 11:38:15 -0500 Subject: Updated how styles are calculated for the cv.pdf build --- resume.css | 123 ++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 82 insertions(+), 41 deletions(-) (limited to 'resume.css') diff --git a/resume.css b/resume.css index a706f31..0cbf4a1 100755 --- a/resume.css +++ b/resume.css @@ -28,33 +28,50 @@ header { padding-bottom: 1rem; } +#resume_container { + display: flex; + flex-direction: row; +} + #resume a { color: #343231; } +#resume_sidebar { + width: auto; + margin-right: 1rem; +} + #resume_header { - width: 100%; display: flex; flex-direction: row; align-items: center; justify-content: space-between; + flex-direction: column; + align-items: flex-start; + margin-bottom: 32px; } -#resume_header > h1 { - font-size: 24px; +.resume_header_name { + font-size: 48px; + font-variant: small-caps; + word-wrap: break-word; padding: 0; margin: 0; font-weight: 500; + margin-bottom: 32px; } #resume_header_contact { + margin-top: 16px; display: flex; flex-direction: row; + flex-direction: column; } #resume_header_contact span { - margin-right: 0.5rem; - margin-left: 0.5rem; + margin-top: 5px; + font-size: 16px; } #resume_header_contact i { @@ -73,7 +90,7 @@ header { font-weight: bold; padding: 0; margin: 0; - padding: 10px; + padding: 5px; background-color: #2E4C6D; color: white; } @@ -82,21 +99,6 @@ header { padding: 0.5rem; } -.skill-section { - width: 100%; - display: flex; - flex-direction: row; - justify-content: space-between; -} - -.skill-section > b { - width: 25%; -} - -.skill-section > div { - width: 75%; -} - .experience-header > div { display: flex; flex-direction: row; @@ -113,12 +115,69 @@ header { display: flex; flex-direction: row; justify-content: flex-start; - column-gap: 8px; } .experience-tech > svg { width: 20px; height: 20px; + margin-right: 8px; +} + +#skills_section { + display: flex; + flex-direction: column; +} + +.skills_section_item { + display: flex; + flex-direction: column; + margin-bottom: 24px; +} + +.skills_section_bar { + position: relative; + width: 204px; + height: 24px; + background-color: white; + border-radius: 3px; + border: 1px solid lightgray; +} + +.skills_section_bar_fill { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + background-image: linear-gradient(to right,#007acc, #00E091); + border-radius: 3px; +} + +.skills_section_bar_fill.one { + width: 20%; +} + +.skills_section_bar_fill.two { + width: 40%; +} + +.skills_section_bar_fill.three { + width: 60%; +} + +.skills_section_bar_fill.four { + width: 80%; +} + +.skills_section_bar_fill.five { + width: 100%; +} + +.skills_section_label { + width: 100%; + margin-top: 4px; + color: black; + font-size: 16px; } @@ -150,22 +209,4 @@ header { width: calc(100vw - 4rem); height: calc(100vh - 4rem); overflow: auto; -} - -/* Phone screen adjustments */ -@media only screen and (device-width: 960px), -only screen and (max-width:960px) { - #resume_header { - flex-direction: column; - align-items: flex-start; - } - - #resume_header_contact { - flex-direction: column; - } - - #resume_header_contact span { - margin: 0; - margin-top: 5px; - } -} +} \ No newline at end of file -- cgit v1.2.1