96 lines
2.0 KiB
CSS
96 lines
2.0 KiB
CSS
/****** CV Styles *******/
|
|
|
|
section#curriculumVitae{
|
|
background-color: var(--primaryDefault);
|
|
color: #FFFFFF;
|
|
padding: 2em 0;
|
|
}
|
|
|
|
section#curriculumVitae .cvGrid {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 0 1.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
section#curriculumVitae .cvGrid > div {
|
|
width: 45%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100%;
|
|
}
|
|
|
|
section#curriculumVitae .cvGrid h2 {
|
|
text-align: center;
|
|
}
|
|
|
|
section#curriculumVitae .timeline {
|
|
position: relative;
|
|
max-width: 30em;
|
|
gap: 1em;
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
}
|
|
|
|
section#curriculumVitae #work {
|
|
margin: 0 auto 0 8rem;
|
|
}
|
|
|
|
section#curriculumVitae .timeline:before {
|
|
content: "";
|
|
position: absolute;
|
|
height: 100%;
|
|
border: 4px var(--timelineItemBrdr) solid;
|
|
right: 194px;
|
|
top: 0;
|
|
}
|
|
|
|
section#curriculumVitae .timeline:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem {
|
|
border: 2px solid var(--timelineItemBrdr);
|
|
-webkit-border-radius: 10px;
|
|
-moz-border-radius: 10px;
|
|
border-radius: 10px;
|
|
padding: 0 1rem;
|
|
width: 50%;
|
|
position: relative;
|
|
background-color: var(--primaryHover);
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem:before, .timelineItem:after {
|
|
content: '';
|
|
position: absolute;
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem:before{
|
|
content: '';
|
|
right: -20px;
|
|
top: calc(50% - 5px);
|
|
border-style: solid;
|
|
border-color: var(--timelineItemBrdr) var(--timelineItemBrdr) transparent transparent;
|
|
border-width: 20px;
|
|
transform: rotate(45deg);
|
|
}
|
|
section#curriculumVitae .timelineItem:nth-child(2n) {
|
|
margin-left: 21em;
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem:nth-child(2n):before {
|
|
right: auto;
|
|
left: -20px;
|
|
border-color: transparent transparent var(--timelineItemBrdr) var(--timelineItemBrdr);
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem h3 {
|
|
font-weight: normal;
|
|
}
|
|
|
|
section#curriculumVitae .timelineItem span {
|
|
color: hsl(0, 0%, 90%);
|
|
} |