diff --git a/css/styles.css b/css/styles.css index d5ca534..9abfaca 100644 --- a/css/styles.css +++ b/css/styles.css @@ -85,6 +85,7 @@ a:hover { text-decoration: underline; } .wiki-topic h4 { font-size: 1.1rem; font-weight: 600; padding: 12px 16px; background: var(--gray1); border-radius: 8px; cursor: pointer; transition: background .2s; } .wiki-topic h4:hover { background: var(--gray2); } .wiki-subtopics { padding-left: 24px; margin-top: 8px; } +.wiki-subtopics.hidden { display: none; } .wiki-subtopic { margin-left: 24px; border-left: 2px solid var(--gray2); padding-left: 16px; } .wiki-subtopic.hidden { display: none; } .wiki-subtopic-title { font-weight: 600; padding: 8px 0; cursor: pointer; } diff --git a/index.html b/index.html index 57f47e2..6e7f296 100644 --- a/index.html +++ b/index.html @@ -143,8 +143,8 @@