Skip to content

Commit

Permalink
fix(basic-3.7): Separate selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandr-Kolos committed Dec 17, 2024
1 parent d573770 commit 06db1a3
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ body {
.header__more-inf {
font-family: fantasy, cursive;
}

@media (max-width:768px) {
.header {
text-align: center;
Expand All @@ -39,10 +38,12 @@ body {
margin: 0;
padding: 0px;
}
li, h3 {
li,
h3 {
list-style: none;
}
input,button{
input,
button {
outline: none;
}
button {
Expand All @@ -57,7 +58,6 @@ button {
button:hover {
color: #3a3a3a;
}
/* Heading */
h3,
label[for="new-task"] {
color: #333;
Expand All @@ -83,17 +83,13 @@ input[type="text"] {
input[type="text"]:focus {
color: #333;
}

/* New Task */
label[for="new-task"] {
display: block;
margin: 0 0 20px;
}
input#new-task {
width: 318px;
}

/* Task list */
li {
overflow: hidden;
padding: 20px 0;
Expand All @@ -106,7 +102,6 @@ li {
li > * {
vertical-align: middle;
}

li > input[type="checkbox"] {
margin: 0 10px;
}
Expand All @@ -127,23 +122,17 @@ button.delete img {
button.delete img:hover {
transform: rotateZ(0);
}

/* Completed */
ul#completed-tasks label {
text-decoration: line-through;
color: #888;
}

/* Edit Task */
ul li input[type="text"] {
display: none;
}

ul li.editMode input[type="text"] {
display:inline-block;
width: 224px;
}

ul li.editMode label {
display: none;
}

0 comments on commit 06db1a3

Please sign in to comment.