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