diff --git a/assets/css/base.css b/assets/css/base.css index b3f452a..9d4d7a3 100644 --- a/assets/css/base.css +++ b/assets/css/base.css @@ -280,19 +280,30 @@ h5 { border: 1px solid #ddd; border-radius: 5px; } + .accordion-item { border-bottom: 1px solid #ddd; + margin-bottom: 1rem; } + .accordion-header { padding: 1rem; cursor: pointer; -} -.accordion-button { - background: none; - border: none; - outline: none; + background-color: #f9f9f9; font-size: 1.25rem; + font-weight: bold; + border-bottom: 1px solid #ddd; } -.accordion-collapse { + +.accordion-header:hover { + background-color: #e9e9e9; +} + +.accordion-body { padding: 1rem; + display: none; +} + +.accordion-item[open] .accordion-body { + display: block; } \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 8066de4..05f7a5e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -36,69 +36,51 @@