mirror of
https://github.com/nostalgic-css/NES.css.git
synced 2025-08-23 06:12:52 +02:00
docs: fix font-face for firefox
This commit is contained in:
@@ -160,7 +160,7 @@
|
|||||||
<h3 class="topic-title"><i class="nes-icon heart"></i>Contributors</h3>
|
<h3 class="topic-title"><i class="nes-icon heart"></i>Contributors</h3>
|
||||||
<template v-for="user in contributors">
|
<template v-for="user in contributors">
|
||||||
<a class="contributor" :href="'https://github.com/' + user" target="_black">
|
<a class="contributor" :href="'https://github.com/' + user" target="_black">
|
||||||
<img class="nes-avatar is-large is-rounded lazy" :data-src="'https://github.com/' + user + '.png?size=64'" src="https://www.gravatar.com/avatar?s=15" :alt="'Contributor ' + user">
|
<img class="nes-avatar is-large is-rounded lazy" :data-src="'https://github.com/' + user + '.png?size=64'" :alt="'Contributor ' + user">
|
||||||
<p>{{ user }}</p>
|
<p>{{ user }}</p>
|
||||||
</a>
|
</a>
|
||||||
</template>
|
</template>
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
font-family: "Press Start 2P";
|
font-family: "Press Start 2P";
|
||||||
src: url(https://fonts.googleapis.com/css?family=Press+Start+2P);
|
src: local("Press Start 2P"), url(https://fonts.googleapis.com/css?family=Press+Start+2P), cursive;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
@@ -251,6 +251,7 @@ h3.topic-title > i {
|
|||||||
}
|
}
|
||||||
.contributor img.nes-avatar {
|
.contributor img.nes-avatar {
|
||||||
transition: all .4s;
|
transition: all .4s;
|
||||||
|
display: inline-block;
|
||||||
}
|
}
|
||||||
.contributor:hover {
|
.contributor:hover {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
Reference in New Issue
Block a user