Laravel/public/css/todo.css
2024-11-04 14:39:26 +01:00

66 lines
1.0 KiB
CSS

body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
margin: 0;
padding: 0;
}
.container {
width: 80%;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
input[type="text"] {
width: 70%;
padding: 10px;
font-size: 16px;
}
button {
padding: 10px;
font-size: 16px;
background-color: #28a745;
color: #fff;
border: none;
cursor: pointer;
}
button:hover {
background-color: #218838;
}
.task {
padding: 15px;
background-color: #f9f9f9;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 5px;
}
.completed span {
text-decoration: line-through;
color: #888;
}
.supp,
.modif {
background-color: #dc3545;
color: #fff;
padding: 5px 10px;
border: none;
cursor: pointer;
margin-left: 5px;
}
.modif {
background-color: #ffc107;
}
.supp:hover {
background-color: #c82333;
}
.modif:hover {
background-color: #e0a800;
}