feat: overhaul

This commit is contained in:
2026-02-22 19:58:13 +00:00
parent 3a625a1874
commit bdf5c0d4d7
18 changed files with 666 additions and 157 deletions

View File

@@ -0,0 +1,245 @@
@import "/src/styles/helpers";
.section {
@include lightSection;
@include regularFont;
padding: 3rem 1rem;
overflow-x: hidden;
@media (max-width: 768px) {
padding: 2rem 1rem;
}
h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 3rem;
color: $accent_colour;
}
}
.mainContent {
display: flex;
flex-direction: column;
gap: 3rem;
max-width: 1400px;
margin: 0 auto;
@media (min-width: 1280px) {
flex-direction: row;
gap: 1.5rem;
align-items: flex-start;
}
}
.currentWorkSection {
flex: 1;
padding: 0 1rem;
@media (min-width: 1280px) {
flex: 0 0 54%;
padding-right: 1.5rem;
padding-left: 0;
border-right: 2px solid $accent_colour;
}
h2 {
text-align: center;
font-size: 2rem;
margin-bottom: 2rem;
color: $accent_colour;
}
}
.educationSection {
flex: 1;
padding: 0 1rem;
@media (min-width: 1280px) {
flex: 0 0 42%;
padding-left: 1.5rem;
padding-right: 0;
}
@media (max-width: 1279px) {
padding-top: 2rem;
padding-bottom: 2rem;
border-top: 2px solid $accent_colour;
}
h2 {
text-align: center;
font-size: 1.75rem;
margin-bottom: 1.5rem;
margin-top: 0;
color: $accent_colour;
}
.educationEntry {
background-color: transparentize($gray, 0.85);
padding: 1rem;
margin-bottom: 1rem;
border-radius: 8px;
border-left: 3px solid $accent_colour;
&:last-child {
margin-bottom: 0;
}
.degree {
font-weight: bold;
color: $accent_colour;
font-size: 1rem;
margin-bottom: 0.3rem;
line-height: 1.4;
}
.institution {
font-style: italic;
font-size: 0.9rem;
margin-bottom: 0.5rem;
color: #666;
}
.notes {
font-size: 0.85rem;
margin: 0.5rem 0;
padding-left: 1rem;
li {
margin-bottom: 0.25rem;
line-height: 1.5;
}
}
.details {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.8rem;
color: #999;
margin-top: 0.5rem;
flex-wrap: wrap;
gap: 0.5rem;
.location {
color: #999;
}
.dates {
display: flex;
gap: 0.5rem;
align-items: center;
}
}
}
}
.content {
display: flex;
flex-direction: column;
gap: 2rem;
@media (min-width: 900px) {
flex-direction: row;
gap: 2rem;
align-items: flex-start;
}
@media (max-width: 899px) {
align-items: center;
gap: 1.5rem;
}
}
.imageContainer {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
flex-shrink: 0;
@media (min-width: 900px) {
flex: 0 0 25%;
gap: 1.5rem;
}
}
.imageWrapper {
position: relative;
width: 200px;
height: 200px;
flex-shrink: 0;
}
.profileImage {
border-radius: 50%;
object-fit: cover;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
border: 4px solid $accent_colour;
}
.roleInfo {
text-align: center;
h3 {
font-size: 1.5rem;
margin-bottom: 0.5rem;
color: $accent_colour;
}
.company {
font-size: 1.2rem;
margin-bottom: 0.3rem;
}
.specialization {
font-style: italic;
color: #666;
margin-bottom: 0.3rem;
}
.locationWrapper {
display: flex;
justify-content: center;
margin-top: 0.5rem;
}
.location {
font-size: 0.75rem;
color: #999;
}
}
.companyLink {
color: rgb(0, 214, 254);
text-decoration: none;
font-weight: 600;
&:hover {
text-decoration: underline;
}
}
.description {
display: flex;
flex-direction: column;
gap: 0.8rem;
@media (min-width: 900px) {
flex: 1;
}
p {
line-height: 1.7;
text-align: justify;
font-size: 0.9rem;
margin: 0;
@media (max-width: 899px) {
text-align: left;
font-size: 0.85rem;
}
}
}