Skip to content

Commit 84988d4

Browse files
committed
Insert links to JSON endpoints in new area above footer
1 parent c2a817c commit 84988d4

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

_includes/_sass/base.scss

+21
Original file line numberDiff line numberDiff line change
@@ -1406,6 +1406,7 @@ span.progress {
14061406
background: rgba(255,255,255,0.7);
14071407
margin: 0;
14081408
border-bottom: 10px solid $green-light;
1409+
border-radius: 0;
14091410
padding: 1.4rem 2rem 1rem;
14101411

14111412
p {
@@ -1422,6 +1423,26 @@ span.progress {
14221423
color: $gray-lighter;
14231424
}
14241425
}
1426+
1427+
&.top {
1428+
background: rgba(50, 123, 158, 0.8);
1429+
padding: .5rem 0;
1430+
border-bottom: 10px solid #63b0d5;
1431+
color: $white-dark;
1432+
1433+
a {
1434+
color: #fff;
1435+
font-weight: bold;
1436+
1437+
&:hover {
1438+
color: $link-on-dark;
1439+
}
1440+
1441+
i {
1442+
font-weight: normal;
1443+
}
1444+
}
1445+
}
14251446
}
14261447

14271448
#show-disclaimer {

_includes/footer.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
<div role="contentinfo" class="top footer ui center aligned segment">
2+
<p><i class="code icon"></i> Developer looking for raw data? <a href="/data.json" target="_blank" data-tooltip="All listings in JSON format" data-position="top center" data-inverted=""><i class="file alternate icon"></i>data.json</a> or <a href="/stats.json" target="_blank" data-tooltip="Statistics in JSON format" data-position="top center" data-inverted=""><i class="file alternate outline icon"></i>stats.json</a>.</p>
3+
</div>
14
<div role="contentinfo" class="footer ui center aligned segment">
25
<p>Spot an issue, or want to add a site? <a class="submit-new" href="/add" target="_blank" data-tooltip="Fill out a quick form" data-position="top center" data-inverted="">Let us know</a> or <a href="{{ '/blob/master/CONTRIBUTING.md' | prepend: site.repo }}" target="_blank" data-tooltip="Learn more about contributing" data-position="top center" data-inverted="">contribute</a> directly on <i class="github icon"></i><a href="{{ site.repo }}" target="_blank" data-tooltip="The source code for this site" data-position="top center" data-inverted="">GitHub</a>.</p>
36
<p>Made with <i class="red heart small icon"></i> by <a href="https://github.com/acceptbitcoincash" target="_blank" data-tooltip="Our organization on Github" data-position="top center" data-inverted=""><em>the</em> <b>Accept Bitcoin Cash</b> <em>initiative</em></a>. &nbsp; <a id="show-disclaimer" data-tooltip="Some important info to know" data-position="top center" data-inverted=""><i class="warning sign orange icon"></i>Caution!</a></p>

0 commit comments

Comments
 (0)