diff --git a/assets/site.css b/assets/site.css index fc60032..3a5fb19 100644 --- a/assets/site.css +++ b/assets/site.css @@ -65,6 +65,42 @@ main { padding: 1.5rem; } +section { + margin-bottom: 1.5rem; +} + +.category-toggle { + background: none; + border: none; + color: var(--primary-color); + font-size: 1rem; + cursor: pointer; + padding: 0; + margin-right: 0.5rem; + vertical-align: middle; + transition: transform 0.2s ease; +} + +.category-toggle:hover { + opacity: 0.7; +} + +.category-toggle[aria-expanded="false"] { + transform: rotate(-90deg); +} + +.category-content { + overflow: hidden; + transition: max-height 0.3s ease, opacity 0.3s ease; + opacity: 1; + max-height: 1000px; +} + +.category-content.collapsed { + max-height: 0; + opacity: 0; +} + #posts-status { font-style: italic; } diff --git a/index.html b/index.html index 9749e1e..be38bbd 100644 --- a/index.html +++ b/index.html @@ -26,163 +26,196 @@

Learn sleep repeat

+

Creative Arts & Culture

- -

Music

- - -

Visual Arts

- - -

Literature & Film

- +
+

Music

+ + +

Visual Arts

+ + +

Literature & Film

+ +
+

Martial Arts & Wellness

- -

Taijiquan

- - -

Physical Activity & Health

- +
+

Taijiquan

+ + +

Physical Activity & Health

+ +
+

Games & Entertainment

- -

Video Games

- - -

Card Games

- +
+

Video Games

+ + +

Card Games

+ +
+

Academics & Intellectual Pursuits

- -

Science & Mathematics

- - -

History & Philosophy

- +
+

Science & Mathematics

+ + +

History & Philosophy

+ +
+

Knowledge & Self-Development

- -

Learning & Organization

- - -

Professional Development

- +
+

Learning & Organization

+ + +

Professional Development

+ +
+

Culture & Society

- -

Food & Culinary

- - -

Geography & Travel

- - -

Home & Family

- +
+

Food & Culinary

+ + +

Geography & Travel

+ + +

Home & Family

+ +
+

Governance & Politics

- -

Politics & Society

- - -

Urban Management

- +
+

Politics & Society

+ + +

Urban Management

+ +
+

Ecology & Sustainability

- +
+ +
+

Future Topics

- -

Available Categories

- +
+

Available Categories

+ +
+

Misc

- +
+ +
+