Skip to content

Commit db70576

Browse files
committed
Compat: style bullet points on compat detail pages (drop underlining)
1 parent 6025bf7 commit db70576

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

_includes/templates/compatibility-page.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ block chain space used, this is the most efficient form of fee bumping.
1515

1616
### Receiving support
1717

18+
<div markdown="1" class="compat-list">
19+
1820
{:id="receive-notification"}
1921
{% assign rbf = tool.rbf.features. %}
2022
{% case rbf.receive.notification %}
@@ -101,8 +103,12 @@ block chain space used, this is the most efficient form of fee bumping.
101103
{% else %} {% include ERROR_42_UNEXPECTED_VALUE %}
102104
{% endif %}
103105

106+
</div>{% comment %}<!-- end: compat-list -->{% endcomment %}
107+
104108
### Sending support
105109

110+
<div markdown="1" class="compat-list">
111+
106112
{:id="send-signals_bip125"}
107113
{% case rbf.send.signals_bip125 %}
108114
{% when "true" %}{:.feature-yes}
@@ -189,6 +195,8 @@ block chain space used, this is the most efficient form of fee bumping.
189195
{% else %} {% include ERROR_42_UNEXPECTED_VALUE %}
190196
{% endif %}
191197

198+
</div>{% comment %}<!-- end: compat-list -->{% endcomment %}
199+
192200
### Usability
193201

194202
{% include functions/compat-gallery.md examples=tool.rbf.examples %}
@@ -208,6 +216,8 @@ segwit transactions to pay less total fee to achieve the same feerate as legacy
208216

209217
### Receive support
210218

219+
<div markdown="1" class="compat-list">
220+
211221
{% assign segwit = tool.segwit.features. %}
212222
{:id="segwit-receive-p2sh_wrapped"}
213223
{% case segwit.receive.p2sh_wrapped %}
@@ -274,8 +284,12 @@ segwit transactions to pay less total fee to achieve the same feerate as legacy
274284
{% else %}{% include ERROR_42_UNEXPECTED_VALUE %}
275285
{% endcase %}
276286

287+
</div>{% comment %}<!-- end: compat-list -->{% endcomment %}
288+
277289
### Send support
278290

291+
<div markdown="1" class="compat-list">
292+
279293
{:id="segwit-send-bech32"}
280294
{% case segwit.send.bech32 %}
281295
{% when "true" %}{:.feature-yes}
@@ -332,6 +346,8 @@ segwit transactions to pay less total fee to achieve the same feerate as legacy
332346
- **How is sending to segwit v1 addresses handled?**<br>
333347
{{ segwit.send.segwit_v1 }}
334348

349+
</div>{% comment %}<!-- end: compat-list -->{% endcomment %}
350+
335351
### Usability
336352

337353
{% include functions/compat-gallery.md examples=tool.segwit.examples %}

assets/css/main.scss

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -149,15 +149,25 @@ div.xoverflow {
149149
overflow-wrap: break-word;
150150
}
151151

152-
ol li ol { list-style-type: lower-latin; }
153-
.feature-yes strong {
154-
border-bottom: 2px solid $compatibility-feature-yes;
152+
.compat-list ul { list-style: none; }
153+
.compat-list li::before {
154+
display: inline-block;
155+
width: 1.25em;
156+
margin-left: -1.25em;
157+
font-size: 125%;
158+
}
159+
160+
.feature-yes li::before {
161+
content: "";
162+
color: darken($compatibility-feature-yes, 50%);
155163
}
156-
.feature-no strong {
157-
border-bottom: 2px solid $compatibility-feature-no;
164+
.feature-no li::before {
165+
content: "";
166+
color: darken($compatibility-feature-no, 50%);
158167
}
159-
.feature-neutral strong {
160-
border-bottom: 2px solid lightgray;
168+
.feature-neutral li::before {
169+
content: "";
170+
color: grey;
161171
}
162172

163173
.third-party-logo

0 commit comments

Comments
 (0)