Skip to content

Commit

Permalink
Merge pull request #15 from ash956901/main
Browse files Browse the repository at this point in the history
fixed the replication of navbar buttons
  • Loading branch information
codingkatty authored Oct 12, 2024
2 parents e6112a6 + 449701d commit e5a524f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
</div>

<a class="logo" href="index.html"><img src="logonew.svg" width="40" ></a>
<a href="learn.html">Learn</a>
<a href="challenge.html">Challenge</a>

<!-- <a href="learn.html">Learn</a>
<a href="challenge.html">Challenge -->
</a>
</div>

<div class="content">
Expand Down
11 changes: 11 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,10 @@ body {
cursor: pointer;
}

.theme-toggle-wrapper{
transform: translateX(-60px);
}

#theme-toggle{
background-color: transparent;
border: none;
Expand Down Expand Up @@ -580,3 +584,10 @@ body.dark-theme #run-button:hover {
body.dark-theme #clear-button:hover {
background-color: #c82333; /* Darker red on hover */
}

@media screen and (max-width: 768px) {
.theme-toggle-wrapper{
transform: translateX(0px);
}

}

0 comments on commit e5a524f

Please sign in to comment.