Skip to content

Commit

Permalink
Make Some changes for smaller screen
Browse files Browse the repository at this point in the history
  • Loading branch information
rupeshv2121 committed Jan 5, 2025
1 parent 16eddd1 commit 33b4799
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
7 changes: 6 additions & 1 deletion home.css
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,9 @@ body::-webkit-scrollbar-thumb {
#projects{
padding: 9px;
}
}

.links table tbody tr td{
margin-left: 100px;
}

}
22 changes: 22 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,26 @@ html {

#bgCanvas {
filter: blur(5px);
}

@media(max-width:426px) {
.links table tbody tr td{
padding: 8px 4px;
}
}

@media(max-width:330px) {
.links table tbody tr td{
padding-left: 2px;
padding-right: 2px;
}

.links table tbody tr .project-name{
padding: 8px 7px;
}

.links table tbody tr td a{
margin-left: 4px;
}

}
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,23 @@
transform: translateY(0);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#title-heading {
margin-top: 3rem;
margin-bottom: 3rem;
}

@media (max-width: 426px) {
#title-heading {
margin-top: 5rem;
margin-bottom: 3rem;
}
}
</style>

<!-- Main Page Starts Here -->
<div class="content" id="projects">
<div class="title is-2 has-text-centered my-6">
<div class="title is-2 has-text-centered" id="title-heading">
100 Days 100 Web Projects
</div>
<p class="subtitle has-text-centered">
Expand Down

0 comments on commit 33b4799

Please sign in to comment.