Skip to content

Commit

Permalink
Font updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarthaknegigit committed Oct 6, 2021
1 parent c9b3ad4 commit ef064c4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Mode Toggler/Script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ toggler.addEventListener("click", () => {
document.querySelector("body").classList.toggle("dark-mode");
document.querySelector(".btn").classList.toggle("btn-dark-mode");
});

10 changes: 10 additions & 0 deletions Mode Toggler/Style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Graduate&display=swap');
* {
margin: 0;
padding: 0;
Expand All @@ -18,6 +19,15 @@ body {
-ms-transition: 0.5s;
-o-transition: 0.5s;
}

h1{
font-size: 50px;
font-family: 'Graduate', cursive;
}

h2{
font-size: 35px;
}
.toggler {
position: relative;
display: flex;
Expand Down

0 comments on commit ef064c4

Please sign in to comment.