Skip to content

Commit

Permalink
added responsiveness
Browse files Browse the repository at this point in the history
  • Loading branch information
kamakship18 committed Feb 23, 2024
1 parent 8ddf019 commit 3087653
Showing 1 changed file with 62 additions and 0 deletions.
62 changes: 62 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -252,4 +252,66 @@ nav {
color: white;
min-width: 40rem;
max-width: 30rem;
}

@media screen and (max-width: 600px) {

main {
width: 100%;
}

.sidebar {
display: none;
position: absolute;
}

.search {
width: 100%;
justify-content: space-between;
}

.tags {
overflow-x: scroll;
overflow-y: hidden;
padding-bottom: 2.5rem;
}

nav {
padding: 0.75rem 1rem;
justify-content: space-between;
gap: 0.75rem;
}

.reco {
height: 2rem;
}

.videos {
flex-direction: column;
flex-wrap: nowrap;
justify-content: inherit;
align-items: center;
}

.search > button {
display: none;
}

.searchbar {
border: 0px;
}

.searchbar input {
display: none;
}

.searchbar button {
width: 2.5rem;
height: 2.5rem;
border-radius: 3rem;
}

.nav-icons {
display: flex;
}
}

0 comments on commit 3087653

Please sign in to comment.