Skip to content

Commit

Permalink
Added responsiveness for the experience section
Browse files Browse the repository at this point in the history
  • Loading branch information
Murdock9803 authored May 18, 2024
1 parent 2c3c7da commit b9a454a
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,15 @@ nav ul li {
width: 30vw;
}

.experience .left-item {
width: 80vw;
}

.experience .right-item {
width: 80vw;
left: 0vw;
}

.middle {
height: fit-content;
}
Expand All @@ -434,3 +443,44 @@ nav ul li {
height: fit-content;
}
}


@media (min-width: 500px) and (max-width: 700px) {
.experience img {
width: 60%;
}
}

@media (max-width: 500px) {
.experience .left-item {
height: 180px;
}
.left-item h1 {
font-size: 13px;
}
.left-item span {
font-size: 5px;
}

.experience .right-item {
height: 180px;
}
.right-item h1 {
font-size: 13px;
}
.right-item span {
font-size: 5px;
}

.exp-desc-head {
height: 65px;
}
.exp-desc-body {
font-size: 5px;
}

.right-item:hover, .left-item:hover {
background-color: #050b1f;
box-shadow: 8px 8px 10px #a8b3ec;
}
}

0 comments on commit b9a454a

Please sign in to comment.