About section redesign

This commit is contained in:
blake committed 2026-03-18 16:00:01 -05:00
1 parent d7e1c98709
commit 5c838694bb
2 files changed
+34 -35

No files matched your search

+27 -17
View File
@@ -11,10 +11,6 @@
max-width: 85%; max-width: 85%;
} }
.about-content {
max-width: 85%;
}
.astronaut { .astronaut {
height: 10rem; height: 10rem;
} }
@@ -51,6 +47,10 @@
.footer-nav { .footer-nav {
gap: 3rem; gap: 3rem;
} }
.about-content {
padding: 30rem 3rem;
}
} }
/************************/ /************************/
@@ -287,19 +287,6 @@
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.about-content {
max-width: 90%;
padding: 25rem 0;
}
.about-wrapper {
padding: 3rem;
}
.about-picture {
bottom: -28rem;
}
.project-card { .project-card {
width: 45rem; width: 45rem;
height: 28rem; height: 28rem;
@@ -396,6 +383,24 @@
.contact-grid { .contact-grid {
gap: 5rem; gap: 5rem;
} }
.about-picture {
width: 40%;
}
.about-wrapper {
display: grid;
grid-template-columns: 1fr;
gap: 5rem;
}
.about-picture {
margin: 0;
grid-row: 2 / 3;
width: 75%;
height: auto;
justify-self: center;
}
} }
/************************/ /************************/
@@ -470,4 +475,9 @@
.form-field { .form-field {
width: 38rem; width: 38rem;
} }
.about-picture {
width: 100%;
height: auto;
}
} }
+7 -18
View File
@@ -492,33 +492,22 @@ p {
} }
.about-wrapper { .about-wrapper {
position: relative; display: flow-root;
align-items: center;
justify-items: center;
gap: 5rem;
background-color: rgb(11, 21, 50, 0.4);
padding: 5rem;
border-radius: 5rem; border-radius: 5rem;
border: 3px solid var(--color-blue);
} }
.about-picture { .about-picture {
position: absolute; float: right;
right: 50%; width: 45%;
bottom: -26rem; aspect-ratio: 1;
transform: translate(50%); margin-left: 5rem;
width: 30rem;
height: 30rem;
background-color: var(--color-white); background-color: var(--color-white);
border-radius: 50%; border-radius: 5rem;
background-image: url("/img/me.jpg"); background-image: url("/img/me.jpg");
background-size: cover; background-size: cover;
border: 3px solid var(--color-yellow); border: 3px solid var(--color-yellow);
transition: all 0.3s; transition: all 0.3s;
} margin-bottom: 5rem;
.about-picture:hover {
box-shadow: 0 0 5rem 0 var(--color-yellow);
} }
.project-section { .project-section {