Added css for body & lists. Make done tasks obvious.

This commit is contained in:
KaungKaung
2026-01-30 09:48:34 +06:30
parent 85937a3fcd
commit 6716129d4a

View File

@@ -1,10 +1,32 @@
/* /* application.css */
* This is a manifest file that'll be compiled into application.css.
* body {
* With Propshaft, assets are served efficiently without preprocessing steps. You can still include font-family: sans-serif;
* application-wide styles in this file, but keep in mind that CSS precedence will follow the standard background-color: #f9f9f9;
* cascading order, meaning styles declared later in the document or manifest will override earlier ones, margin: 18px;
* depending on specificity. padding: 0;
* }
* Consider organizing styles into separate files for maintainability.
*/ li {
border: 1px solid #ddd;
border-radius: 8px;
padding: 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.task-actions {
display: flex;
gap: 8px;
}
.done-task {
background-color: #f0f0f0;
color: #888;
}
.done-task .task-title {
text-decoration: line-through;
}