diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index fe93333..54cec86 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -1,10 +1,32 @@ -/* - * This is a manifest file that'll be compiled into application.css. - * - * With Propshaft, assets are served efficiently without preprocessing steps. You can still include - * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard - * cascading order, meaning styles declared later in the document or manifest will override earlier ones, - * depending on specificity. - * - * Consider organizing styles into separate files for maintainability. - */ +/* application.css */ + +body { + font-family: sans-serif; + background-color: #f9f9f9; + margin: 18px; + padding: 0; +} + +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; +} \ No newline at end of file