Merge pull request #14

Fixed cv view for mobile
This commit is contained in:
Rohit Pai 2022-01-11 21:33:14 +00:00 committed by GitHub
commit 36335dc752
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -43,27 +43,27 @@
/****** CV Styles *******/ /****** CV Styles *******/
section#curriculumvitae .cvGrid { section#curriculumVitae .cvGrid {
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
} }
section#curriculumvitae .cvGrid > div { section#curriculumVitae .cvGrid > div {
width: 100%; width: 100%;
} }
section#curriculumvitae .cvGrid > div:first-child { section#curriculumVitae .cvGrid > div:first-child {
padding-bottom: 2.5em; padding-bottom: 2.5em;
margin-bottom: 2.5em; margin-bottom: 2.5em;
border-bottom: 5px #FFFFFF solid; border-bottom: 5px #FFFFFF solid;
} }
section#curriculumvitae .cvGrid h2 { section#curriculumVitae .cvGrid h2 {
margin-left: 5em; margin-left: 5em;
} }
section#curriculumvitae .cvGrid .timeline { section#curriculumVitae .cvGrid .timeline {
margin: 0 auto; margin: 0 auto;
} }
@ -73,7 +73,7 @@
/*** Template Styles ****/ /*** Template Styles ****/
section#about, section#curriculumvitae h1 { section#about, section#curriculumVitae h1 {
padding: 0 1em; padding: 0 1em;
} }
@ -250,7 +250,7 @@
/****** CV Styles *******/ /****** CV Styles *******/
section#curriculumvitae .cvGrid { section#curriculumVitae .cvGrid {
padding: 0; padding: 0;
} }
@ -340,22 +340,22 @@
/****** CV Styles *******/ /****** CV Styles *******/
section#curriculumvitae .cvGrid .timeline, section#curriculumvitae .cvGrid .timeline#work { section#curriculumVitae .cvGrid .timeline, section#curriculumVitae .cvGrid .timeline#work {
margin: 0 auto; margin: 0 auto;
width: 100%; width: 100%;
} }
section#curriculumvitae .timeline:before { section#curriculumVitae .timeline:before {
border: none; border: none;
} }
section#curriculumvitae .timelineItem, section#curriculumvitae .timelineItem:nth-child(2n) { section#curriculumVitae .timelineItem, section#curriculumVitae .timelineItem:nth-child(2n) {
width: 95%; width: 95%;
padding: 0; padding: 0;
margin: 0 auto; margin: 0 auto;
} }
section#curriculumvitae .timelineItem:before { section#curriculumVitae .timelineItem:before {
right: unset; right: unset;
left: unset; left: unset;
border:none border:none
@ -376,7 +376,7 @@
/*** Template Styles ****/ /*** Template Styles ****/
section#about, section#curriculumvitae h1 { section#about, section#curriculumVitae h1 {
padding: 0 1em; padding: 0 1em;
} }

View File

@ -88,6 +88,6 @@ a.btn:active, form input[type="submit"]:active {
text-shadow: 0 6px 4px var(--mutedBlack); text-shadow: 0 6px 4px var(--mutedBlack);
} }
section#about, section#curriculumvitae h1 { section#about, section#curriculumVitae h1 {
padding: 0 5rem; padding: 0 5rem;
} }