1
0
mirror of https://github.com/ryanoasis/nerd-fonts.git synced 2024-12-19 20:12:52 +02:00

Get off of Font Awesome reliance

This commit is contained in:
Ryan L McIntyre 2019-07-25 14:23:49 -07:00
parent fefd6f215d
commit 1740c516e8
7 changed files with 15 additions and 14 deletions

View File

@ -175,7 +175,7 @@ nav ul li:hover, nav ul li.active {
display:block; display:block;
width:100%; width:100%;
min-height:300px; min-height:300px;
padding:180px 0; padding:130px 0;
background:url(img/bgnoise.png); background:url(img/bgnoise.png);
/* generated noise from noisetexturegenerator.com */ /* generated noise from noisetexturegenerator.com */
} }
@ -224,9 +224,8 @@ nav ul li:hover, nav ul li.active {
.sectiondivider .fa-stack { .sectiondivider .fa-stack {
font-size: 130px; font-size: 130px;
position: static; position: static;
margin-top: -8px;
} }
.sectiondivider .fa-circle { color: #fff; } .sectiondivider .nf-fa-circle { color: #fff; }
.sectiondivider h5 { .sectiondivider h5 {
font-size:15px; font-size:15px;
@ -249,7 +248,7 @@ nav ul li:hover, nav ul li.active {
position: relative; position: relative;
} }
#features .sectioninner .nerd-font { #features .sectioninner .nf {
font-size: 1.5em; font-size: 1.5em;
} }

View File

@ -111,6 +111,7 @@
.nf7 { color: #DD1B16 } .nf7 { color: #DD1B16 }
/* Example Usage */ /* Example Usage */
.nerd-fonts-example-usage { .nerd-fonts-example-usage {
font-size: 2rem; font-size: 2rem;
} }

View File

@ -1,9 +1,10 @@
Nerd Fonts & Web Site Created by [Ryan L McIntyre](https://RyanLMcIntyre.com/)
<br/>
Design by Tim O'Brien [t413.com](http://t413.com/) Design by Tim O'Brien [t413.com](http://t413.com/)
&mdash; &mdash;
[SinglePaged theme](https://github.com/t413/SinglePaged) [SinglePaged theme](https://github.com/t413/SinglePaged)
&mdash; &mdash;
this site is [open source]({{ site.source_link }}) this site is [open source]({{ site.source_link }})
<br/> <br/>
Created in <i class="nerd-font nf-dev-linux"></i> &amp; <i class="nerd-font nf-custom-vim nf"></i> with <i class="nerd-font nf-fa-heart ow"></i> Created in <i class="nf nf-dev-linux"></i> &amp; <i class="nf nf-custom-vim nfunc"></i> with <i class="nf nf-fa-heart ow"></i>

View File

@ -8,8 +8,8 @@
{% elsif page.fa-icon %} {% elsif page.fa-icon %}
<div class="subtlecircle sectiondivider faicon"> <div class="subtlecircle sectiondivider faicon">
<span class="fa-stack"> <span class="fa-stack">
<i class="fa fa-circle fa-stack-2x"></i> <i class="nf nf-fa-circle fa-stack-2x"></i>
<i class="fa fa-{{ page.fa-icon }} fa-stack-1x"></i> <i class="nf nf-fa-{{ page.fa-icon }} fa-stack-1x"></i>
</span> </span>
<h5 class="icon-title">{{ page.title }}</h5> <h5 class="icon-title">{{ page.title }}</h5>
</div> </div>

View File

@ -14,7 +14,7 @@
{% else %} {% else %}
<a href="#{{id}}"> <a href="#{{id}}">
{% endif %} {% endif %}
<i class="fa fa-{{ node.fa-icon }}"></i> {{node.short_title}}</a> <i class="nf nf-fa-{{ node.fa-icon }}"></i> {{node.short_title}}</a>
</li> </li>
<li class="p-{{id}} hide-on-smaller-view {{active}}"> <li class="p-{{id}} hide-on-smaller-view {{active}}">
{% if node.page %} {% if node.page %}
@ -24,7 +24,7 @@
{% else %} {% else %}
<a href="#{{id}}"> <a href="#{{id}}">
{% endif %} {% endif %}
<i class="fa fa-{{ node.fa-icon }}"></i> {{node.title}}</a> <i class="nf nf-fa-{{ node.fa-icon }}"></i> {{node.title}}</a>
</li> </li>
{% endfor %} {% endfor %}
</ul></nav> </ul></nav>

View File

@ -23,12 +23,12 @@ style: center
<div class="container"> <div class="container">
<div class="full column nerd-font-buttons"> <div class="full column nerd-font-buttons">
<h3 class="inlineblock bg-blue text-white nerd-font-button"> <h3 class="inlineblock bg-blue text-white nerd-font-button">
<i class="fa fa-search"></i> <i class="nf nf-fa-search"></i>
<a href="/cheat-sheet" class="inlineblock">Icons</a> <a href="/cheat-sheet" class="inlineblock">Icons</a>
</h3> </h3>
&nbsp;&nbsp; &nbsp;&nbsp;
<h3 class="inlineblock bg-blue text-white nerd-font-button"> <h3 class="inlineblock bg-blue text-white nerd-font-button">
<i class="fa fa-download"></i> <i class="nf nf-fa-download"></i>
<a href="/font-downloads" class="inlineblock">Downloads</a> <a href="/font-downloads" class="inlineblock">Downloads</a>
</h3> </h3>
</div> </div>
@ -42,7 +42,7 @@ style: center
<span id="forkongithub"> <span id="forkongithub">
<a href="{{ site.source_link }}" class="bg-blue"> <a href="{{ site.source_link }}" class="bg-blue">
<i class="fa fa-code-fork"></i> Fork us on GitHub <i class="fa fa-heart ow"></i> <i class="nf nf-fa-code_fork"></i> Fork us on GitHub <i class="nf nf-fa-heart ow"></i>
</a> </a>
</span> </span>

View File

@ -15261,6 +15261,6 @@ page: cheat-sheet
I really <i class="nf nf-fa-heart"></i> <i class="nf nf-custom-vim"></i> I really <i class="nf nf-fa-heart"></i> <i class="nf nf-custom-vim"></i>
{% endhighlight %} {% endhighlight %}
<span class="nerd-fonts-example-usage"> <span class="nerd-fonts-example-usage">
I really <i class="nerd-font nf-fa-heart ow"></i> <i class="nerd-font nf-custom-vim nf"></i> I really <i class="nf nf-fa-heart ow"></i> <i class="nf nf-custom-vim nfunc"></i>
</span> </span>
</div> </div>