You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
78 lines
1.3 KiB
78 lines
1.3 KiB
body {
|
|
font-family: Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 20px;
|
|
background-color: #f9f9f9;
|
|
}
|
|
|
|
#app {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
padding: 20px;
|
|
box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
|
|
border-radius: 8px;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.input-container {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
input[type="text"] {
|
|
flex-grow: 1;
|
|
padding: 10px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
button {
|
|
background-color: black;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 15px;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button.delete {
|
|
background-color: red;
|
|
}
|
|
|
|
button:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.tasks {
|
|
list-style-type: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.tasks li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.task-actions,
|
|
.edit-actions {
|
|
display: flex;
|
|
gap: 10px;
|
|
}
|
|
|
|
.completed {
|
|
text-decoration: line-through;
|
|
color: gray;
|
|
}
|
|
|
|
.completed {
|
|
text-decoration: line-through;
|
|
color: gray;
|
|
} |