127 lines
2.3 KiB
CSS
127 lines
2.3 KiB
CSS
/* App-wide styling */
|
|
body {
|
|
background-color: #0f1116;
|
|
color: #ffffff;
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
|
margin: 20px;
|
|
}
|
|
|
|
#hero {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#links {
|
|
width: 400px;
|
|
text-align: left;
|
|
font-size: x-large;
|
|
color: white;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
#links a {
|
|
color: white;
|
|
text-decoration: none;
|
|
margin-top: 20px;
|
|
margin: 10px 0px;
|
|
border: white 1px solid;
|
|
border-radius: 5px;
|
|
padding: 10px;
|
|
}
|
|
|
|
#links a:hover {
|
|
background-color: #1f1f1f;
|
|
cursor: pointer;
|
|
}
|
|
|
|
#input {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin-bottom: 2rem;
|
|
padding-top: 2rem;
|
|
}
|
|
|
|
#input input {
|
|
padding: 12px 20px;
|
|
border-radius: 8px;
|
|
border: 1px solid #333;
|
|
background-color: #1a1d24;
|
|
color: white;
|
|
font-size: 1rem;
|
|
outline: none;
|
|
width: 300px;
|
|
transition: box-shadow 0.2s, border-color 0.2s;
|
|
}
|
|
|
|
#input input:focus {
|
|
border-color: #4a9eff;
|
|
box-shadow: 0 0 0 2px rgba(74, 158, 255, 0.2);
|
|
}
|
|
|
|
#input button {
|
|
padding: 12px 24px;
|
|
border-radius: 8px;
|
|
border: none;
|
|
background-color: #4a9eff;
|
|
color: white;
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
cursor: pointer;
|
|
transition: background-color 0.2s, transform 0.1s;
|
|
}
|
|
|
|
#input button:hover {
|
|
background-color: #3b7ecc;
|
|
}
|
|
|
|
#input button:active {
|
|
transform: scale(0.98);
|
|
}
|
|
|
|
#todos ul {
|
|
list-style: none;
|
|
padding: 0;
|
|
width: 400px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#todos li {
|
|
background-color: #1a1d24;
|
|
margin-bottom: 12px;
|
|
padding: 16px 20px;
|
|
border-radius: 8px;
|
|
font-size: 1.1rem;
|
|
border: 1px solid #333;
|
|
transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.2s;
|
|
cursor: default;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
#todos li:hover {
|
|
transform: translateX(8px);
|
|
border-color: #4a9eff;
|
|
}
|
|
|
|
.delete-btn {
|
|
background-color: #e63946;
|
|
color: white;
|
|
border: none;
|
|
padding: 8px 16px;
|
|
border-radius: 6px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: box-shadow 0.2s, background-color 0.2s;
|
|
}
|
|
|
|
.delete-btn:hover {
|
|
background-color: #d62839;
|
|
box-shadow: 0 0 8px rgba(230, 57, 70, 0.6);
|
|
} |