File tree Expand file tree Collapse file tree 6 files changed +10
-2
lines changed
Expand file tree Collapse file tree 6 files changed +10
-2
lines changed File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -47,6 +47,12 @@ supporters:
4747 position : relative ;
4848 }
4949
50+ .c-list-supporters__item :target {
51+ background-color : #ffc ;
52+ outline : 0.75rem solid #ffc ;
53+ scroll-margin-block-start : 1.5rem ;
54+ }
55+
5056 .c-list-supporters__item ::before {
5157 content : var (--tier );
5258 position : absolute ;
9096<ul id =" jsSupportersList " class =" c-list-supporters " >
9197
9298 {% for person in page.supporters %}
93- <li class="c-list-supporters__ item" style="
99+ {% assign slug = person.name | slugify: 'default' %}
100+
101+ <li id="supporter:{{ slug }}" class="c-list-supporters__item" style="
94102 {% case person.tier %}
95103 {% when 'supporter' %}
96104 --tier: '☕️';
107115 ">
108116 <a href="{{ person.url }}" class="c-list-supporters__link">
109117 <img
110- src="/img/content/subscribers /{{ person.avatar }}"
118+ src="/img/content/supporters /{{ person.avatar }}"
111119 alt="{{ person.name }}’s avatar"
112120 width="48"
113121 height="48"
You can’t perform that action at this time.
0 commit comments