Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
273 changes: 21 additions & 252 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -836,14 +836,13 @@ html body header {
.project-chart {

width: 100%;
max-width: 350px;
max-width: 325px;
margin: 2em auto;
display: block
}

.project {
flex: 0 0 425px;
height: 675px;
padding: 1.4em;
background-color: rgb(47, 47, 54);
background-color: rgb(45, 44, 49);;
Expand Down Expand Up @@ -2172,7 +2171,7 @@ html body header {

/* Font size scaling based on h1, h2, and h3 default sizes */
h1.super-large {
font-size: 3.9rem; /* Scalable based on viewport width */
font-size: 4.5rem; /* Scalable based on viewport width */
}
h3.super-large {
font-size: 1rem; /* Scalable based on viewport width */
Expand Down Expand Up @@ -2205,6 +2204,7 @@ html body header {
section{
margin: 2em auto;
padding: 2em;
max-width: 90%;
}
#about {
margin: 1em auto;
Expand Down Expand Up @@ -2268,267 +2268,36 @@ html body header {
}

}



/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
.project-chart {

width: 100%;
max-width: 425px;
margin: 2em auto;
display: block
}

.notes-card{
min-width: unset
}
.project .chart-title{
font-size: 0.8em;
}
.notes-container {
gap: 1.5em;
/* overflow-y: auto; */
padding: 1em 0;
display: grid;
gap: 1.5em;
overflow-x: auto;
padding: 1em 0;
}
.project {
min-height: unset;
max-height: fit-content;
}
footer{
font-size: 0.8em;
}
button.read-more {
visibility: unset;
margin-top: auto;
display: flex;
justify-content: left;
gap: 0.5em;
}
button.read-more {
visibility: unset;
}
/*Takes up the space between read more and tech icons*/
.project .description {
margin-top: 0em;
line-height: 1.8;
margin-bottom: 0em;
}

.project .chart-title {
text-align: center;
margin-bottom: 1.1em;
padding: 0;
display: block; /* Changed from inline-block to block for wrapping */
width: 100%; /* Ensure the width is 100% of its container */
max-width: 100%; /* Keep the max width at 100% */
height: auto;
line-height: 1.2; /* Adjusted line-height for better readability */
word-wrap: break-word; /* Ensure long words wrap */
white-space: normal; /* Allow wrapping */
font-size: 0.8em; /* Make text smaller (adjust as needed) */
font-weight: bold; /* Make the text bold */
}
min-height: 625px;
padding: 1.4em;
background-color: rgb(47, 47, 54);
background-color: rgb(45, 44, 49);;
background-color: rgb(50, 50, 59);
background-color:rgb(58, 56, 63);;

.project {
/* height: 700px; */
aspect-ratio: unset;
display: unset;
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);
overflow-y: auto;
display: flex;
flex-direction: column;
transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for move and shadow */
}

.project {
/* height: 700px; */
flex: unset; /* width stays fixed */
padding: 1.2em;
height: auto;
flex: 1 1 calc((100% / 2) - 1.5em); /* grow and shrink, at least 2 per row */
/* aspect-ratio: 1 / 1; */ /* makes it a square */
background-color: rgb(58, 56, 63);
box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.3);

flex-direction: column;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
#intro{
margin-left: 0 auto;
margin-right: 0 auto;
}

section {
max-width: 85%;
}
body{
height: 100%;
}

#about h2{
margin-top: 10px;
margin-bottom: 20px;
}

/* Font size scaling based on h1, h2, and h3 default sizes */
h1.super-large {
font-size: 3.75rem; /* Scalable based on viewport width */
}
h3.super-large {
font-size: 0.75rem; /* Scalable based on viewport width */
}
h2 {
font-size: 1.75em;
font-weight: 700;
color: #c9b49e;
text-decoration: underline; /* Adds an underline to the h2 */
padding-bottom: 0px;
}
h3 {
font-size: 1.5em;
font-weight: 700;
color: #ffffff;
}
h4 {
font-size: 1.0em;
font-weight: 700;
color: #ffffff;
}
.left-align {
font-size: 1.25em;
text-align: left;
font-weight: bold;
font-family: 'Merriweather', serif;
}
.right-align {
font-size: 0.7em;
}
section{
margin: 1em auto;
padding: 1em;
}
#about {
margin: 1em auto;
padding: 0.5em;
}
nav{
margin-bottom: 0.5em;
}
.about-line{
gap: 10px
}
.social-icons a {
margin: 0 0.6em;
font-size: 1.2em;
color: #ffffff;
transition: transform 0.2s ease, color 0.2s ease;
}


nav a {
margin: 0 0.5em;
font-size: 1em;
text-decoration: underline; /* Adds an underline to all links */
color:#c9b49e;
}
header{
padding: 1.5em 1em 0.5em 1em;
padding: 15px;
gap: 0.3px;
}
#intro .right img.profile-image {
width: 175px; /* Set the size of the image */
height: 175px; /* Set the height equal to the width to make it a perfect circle */
border-radius: 50%; /* This makes the image a circle */
object-fit: cover; /* Ensures the image covers the area without distortion */
border: 3px solid #c9b49e; /* Optional: adds a white border around the circle */
margin-top: 20px;
}
.project{
max-width: unset;
}
#about {
padding-top: 10px;
}

.contact-container {
display: flex; /* Use flexbox for stacking */
flex-direction: column; /* Stack items vertically */
align-items: left; /* Center items horizontally */
width: 100%; /* Ensure it takes full width */
}

#contact-me {
background-color: inherit;
/*background-color: rgb(45, 44, 49);*/
padding: 1em;
/* height: 200px; */
margin: 2em auto

}

/* Paragraphs & links */
p {
font-family: 'Montserrat', sans-serif; /* Clean sans-serif for paragraphs */
font-size: 0.8em;
line-height: 1.7;
}


.projects-container {
display: flex;
flex-direction: column; /* stack items vertically */
gap: 1.5em;
overflow-y: auto; /* vertical scrolling instead of horizontal */
padding: 1em 0;
}

/* Hide description initially */
.description {
max-height: 0; /* completely hidden */
overflow: hidden; /* prevent content from showing */
display: none; /* fully remove from layout */
}

/* When the project has the "expanded" class, show description */
.project.expanded .description {
max-height: 10000px; /* large enough to fit the content */
}

/* Style the Read more button */
.read-more {
margin-top: 1.5em; /* distance from chart title */
margin-bottom: 1em;
padding: 0;
background: none;
border: none;
color: #c9b49e;
cursor: pointer;
font-size: 0.9rem;
text-align: left; /* left justify */
display: inline-flex; /* allow arrow to rotate inline */
align-items: center; /* vertical alignment */
gap: 0.3em; /* space between text and arrow */
font-family: 'Merriweather', serif;
}

.read-more .arrow {
display: inline-block;
transition: transform 0.3s ease; /* smooth rotation */
}

/* rotate arrow when expanded */
.project.expanded .read-more .arrow {
transform: rotate(180deg); /* flips the arrow */
display: block; /* show content */
}
/* rotate arrow when expanded */
.notes.expanded .read-more .arrow {
transform: rotate(180deg); /* flips the arrow */
display: block; /* show content */
}


section {
max-width: 95%;
}
}


/* ---------- Responsive ---------- */
@media (max-width: 650px) {
.notes-card{
Expand Down
Loading