Skip to content

Commit

Permalink
Merge pull request #749 from KartikG2/main
Browse files Browse the repository at this point in the history
build : Added responsiveness to hamburger and light button
  • Loading branch information
PriyaGhosal authored Oct 20, 2024
2 parents 31872b8 + 77fcfa1 commit 5f09286
Showing 1 changed file with 43 additions and 5 deletions.
48 changes: 43 additions & 5 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,6 @@ button:hover {
position: absolute;
right:0;
margin-right: 5vw;
margin-top: 0.8vw;
}

@media (min-width: 768px) {
Expand Down Expand Up @@ -1877,10 +1876,9 @@ button:hover {
gap: 30px;
}

#theme-toggle {
right: 125px;
top: 5px;
}
/* #theme-toggle {
right: 12px;
} */

/* Can be used if wanting a more linear Instagram post feed but as a viewer I like the grid better
.footer-top .grid-list {
Expand Down Expand Up @@ -2207,3 +2205,43 @@ body {
margin-bottom: 10px;
/* Space between quote and name (optional) */
}


@media (max-width: 1484px) {
#theme-toggle{
right:80px;
}
}
@media (max-width: 1440px) {
#theme-toggle{
right:70px;
}
}
@media (max-width: 1200px) {
#theme-toggle{
right:60px;
}
}
@media (max-width: 1024px) {
#theme-toggle{
right:45px;
}
}
@media (max-width: 768px) {
#theme-toggle{
right:30px;
}
.nav-open-btn {
margin-top: 5px;
}
}
@media (max-width:425px) {
#theme-toggle{
right:30px;
}
}
@media (max-width:375px) {
#theme-toggle{
right:20px;
}
}

0 comments on commit 5f09286

Please sign in to comment.