File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,8 @@ a.category-link {
261261a .category-link : hover {
262262 text-decoration : none;
263263}
264- a .category-title-inside-accordion : hover {
264+ a .category-title-inside-accordion : hover ,
265+ a : not (.collapsed ).accordion-toggle .category-title-inside-accordion {
265266 background-color : # 08c ;
266267 border-radius : var (--borderRadius );
267268 color : # fff ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ <h1><a href="{{ SITEURL }}/{{ CATEGORIES_URL }}">All Categories</a></h1>
4444 {% for category, articles in categories %}
4545 < div class ="accordion-group ">
4646 < div class ="accordion-heading ">
47- < a class ="accordion-toggle category-title-inside-accordion " data-toggle ="collapse " data-parent ="#accordion2 " href ="#{{ category.slug }}-ref ">
47+ < a class ="accordion-toggle category-title-inside-accordion collapsed " data-toggle ="collapse " data-parent ="#accordion2 " href ="#{{ category.slug }}-ref ">
4848 {% set num = articles|count %}
4949 {{ category }}< span > {{ num }}</ span >
5050 </ a >
You can’t perform that action at this time.
0 commit comments