Updates to projects section
This commit is contained in:
@@ -201,10 +201,87 @@ button:hover {
|
||||
background: rgba(45, 38, 75, 0.5);
|
||||
}
|
||||
|
||||
/* Projects Box */
|
||||
|
||||
.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 2rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2rem;
|
||||
background: rgba(42, 15, 59, 0.8);
|
||||
padding: 2rem;
|
||||
border-radius: 20px;
|
||||
color: #ffe8e8;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.project-box {
|
||||
display: flex;
|
||||
margin-top: 10rem;
|
||||
gap: 2rem;
|
||||
background: rgba(0, 0, 0, 0.9);
|
||||
border-radius: 20px;
|
||||
padding: 2rem;
|
||||
width: 95%;
|
||||
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
|
||||
color: #ffe8e8;
|
||||
box-sizing: border-box;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.project-box-title {
|
||||
text-align: left;
|
||||
color: #ffe8e8;
|
||||
}
|
||||
|
||||
.project-text {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.project-paragraph {
|
||||
line-height: 1.6;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* Project 1 */
|
||||
|
||||
.project1-video-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 520px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Project 2 */
|
||||
|
||||
.project2-form-container {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 520px;
|
||||
width: 100%;
|
||||
overflow: hidden;
|
||||
border-radius: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* ----- */
|
||||
|
||||
.work-box,
|
||||
.project-box,
|
||||
.contact-box {
|
||||
margin-top: 10rem;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
@@ -226,6 +303,15 @@ button:hover {
|
||||
height: 1040px;
|
||||
}
|
||||
|
||||
.project-box {
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.grid-item {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.title-text h1 {
|
||||
font-size: 1.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user