Skip to content

Commit

Permalink
Fix code formstting with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyanshi210205 committed Oct 24, 2024
2 parents 77b2eb5 + 1d7a239 commit 8759542
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Todo.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ <h1 class="subtitle">Todo-List</h1>
<option value="low">Low</option>
</select>
<div class="js-actions-wrapper">
<button class="js-add-button">
<i class="fa-solid fa-add"></i>
<button class="js-add-button" title="Add tasks">
<i class="fa-solid fa-add"></i> &nbsp; Add tasks
</button>
<button class="js-cancel-button" title="Cancel">
<i class="fa-solid fa-times"></i>
Expand Down
25 changes: 16 additions & 9 deletions impstyle.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
body {
font-family: Arial, sans-serif;
background: rgb(136, 0, 255);
background: linear-gradient(
0deg,
rgba(65, 45, 253, 1) 48%,
rgba(29, 29, 29, 1) 100%
);
background: linear-gradient(to bottom, #6b46c1, #9f7aea, #f687b3);
margin: 0;
padding: 20px;
overflow: hidden;
height: 100vh;
/* overflow: hidden; */
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: flex-start;
Expand All @@ -26,7 +21,8 @@ body {
display: flex;
justify-content: space-around;
align-items: center;
height: 70vh;
min-height: 70vh;
/* border:1px black solid */
}

.toggle-container {
Expand Down Expand Up @@ -62,3 +58,14 @@ body {
color: #555;
font-family: 'Londrina Outline', cursive;
}

@media only screen and (max-width: 1100px) {
.contain {
flex-direction: column;
width: fit-content;
}
.toggle-container {
width: 70%;
margin-bottom: 12px;
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

<!-- Main Block -->
<section
class="flex justify-center items-center h-screen bg-gradient-to-b from-purple-600 via-indigo-600 to-gray-900"
class="flex justify-center items-center h-screen bg-gradient-to-b from-purple-700 via-purple-500 to-pink-400"
>
<div class="container mx-auto px-4 text-center text-white">
<h1 class="text-4xl md:text-6xl font-bold">
Expand Down
8 changes: 1 addition & 7 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,7 @@ body {
justify-content: center;
align-items: center;
height: 100vh;
background: rgb(136, 0, 255);
background: linear-gradient(
0deg,
rgba(136, 0, 255, 1) 24%,
rgba(65, 45, 253, 1) 48%,
rgba(29, 29, 29, 1) 100%
);
background: linear-gradient(to bottom, #6b46c1, #9f7aea, #f687b3);
}
why-need-link {
position: absolute;
Expand Down

0 comments on commit 8759542

Please sign in to comment.