Test css fallback for icons

This commit is contained in:
hiro 2019-03-31 23:58:06 +02:00
parent 4058bd50d4
commit 6a91ffe696
2 changed files with 2 additions and 1 deletions

View File

@ -93,6 +93,7 @@
.oi-arrow-bottom:before {
content:'\e008';
background-image: url('/static/fonts/open-iconic/png/arrow-bottom-2x.png');
}
.oi-arrow-circle-bottom:before {

View File

@ -55,7 +55,7 @@
{% set download = site.get('/download') %}
<div class="pull-right">
<a class="btn btn-outline-light pull-right" href="{{ this.url_to(download)|url(alt=this.alt) }}">
{{ _("Download Tor Browser") }}<span class="oi oi-arrow-bottom ml-2 p-1" title="icon arrow-bottom" aria-hidden="true"><img src="{{ 'static/fonts/open-iconic/png/arrow-bottom.png-2x'|asseturl }}"></span>
{{ _("Download Tor Browser") }}<span class="oi oi-arrow-bottom ml-2 p-1" title="icon arrow-bottom" aria-hidden="true"></span>
</a>
</div>
</nav>