1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-02 18:42:47 +02:00

docs: performance improvement on demo site

This commit is contained in:
BcRikko
2019-02-25 21:28:43 +09:00
parent 5d5e28386b
commit 6e1babdc73
3 changed files with 54 additions and 23 deletions

View File

@@ -1,3 +1,10 @@
@font-face {
font-family: "Press Start 2P";
src: url(https://fonts.googleapis.com/css?family=Press+Start+2P);
font-style: normal;
font-display: swap;
}
body {
padding: 0 2rem;
margin: 0 2rem;
@@ -219,6 +226,7 @@ h3.topic-title > i {
}
.member-card .avatar > img {
display: block;
width: 80px;
height: 80px;
border-radius: 50%;
@@ -269,6 +277,10 @@ h3.topic-title > i {
transform: rotateZ(90deg);
}
.lazy {
background-color: #006bb3;
}
@media screen and (max-width: calc(980px - 4rem)) {
header > .container {
margin: 0 4rem;