Skip to content

Commit

Permalink
Merge pull request #1109 from Developer-Swati/fix-issue-#1102
Browse files Browse the repository at this point in the history
Added a scrollbar in shlok page
  • Loading branch information
akshitagupta15june authored Jul 17, 2023
2 parents 24258a9 + f5a8674 commit 8bb8579
Show file tree
Hide file tree
Showing 2 changed files with 222 additions and 158 deletions.
57 changes: 57 additions & 0 deletions shlok_page/motivation.css
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,43 @@ p:hover {
}
}

=======
}

@media screen and (max-width: 414px){
section{
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
position: relative;
top: 100px;
}
}

@media screen and (min-width: 415px) and (max-width: 1023px) {
.block__main {
width: 100%;
}
}

@media screen and (max-width: 414px){
.block{
height: 100vh;
width: 100%;
}
}

@media screen and (max-width: 414px){
section{
display: flex;
justify-content: center;
height: 100vh;
align-items: center;
position: relative;
top: 100px;
}
}

.block__back {
transform: rotateY(180deg);
Expand Down Expand Up @@ -385,4 +422,24 @@ section {
display: flex;
justify-content: center;
align-items: center;

}

/*Adding style to scrollbar*/
::-webkit-scrollbar {
width: 12px;
}

::-webkit-scrollbar-track {
background: rgb(250, 250, 250);
}

::-webkit-scrollbar-thumb {
background: linear-gradient(transparent, #c193b0 )!important;
border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
background: linear-gradient(transparent, rgb(0, 13, 6));

}
Loading

0 comments on commit 8bb8579

Please sign in to comment.