-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (76 loc) · 1.05 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
background-image: url("res/brick.png");
background-attachment: fixed;
background-repeat: repeat;
background-size: 128px;
image-rendering: pixelated;
animation: scrollBackground 5s linear infinite;
text-align: center;
color: white;
font-family: "Minecraft";
}
p {
margin-right: 100px;
margin-left: 100px;
}
a {
text-decoration: none;
}
h1 {
font-size: 70px;
}
h2 {
font-size: 50px;
margin-top: 100px;
}
#toc {
position: fixed;
top: -14px;
left: -32px;
list-style-type: none;
}
#toc li {
margin-top: 6px;
}
#toc a {
text-decoration: none;
color: #FFF;
}
.nes {
width: 256px;
}
.snes {
height: 256px;
}
.n64 {
height: 256px;
}
.gamecube {
width: 300px;
}
.gameboy {
width: 300px;
}
.ds {
width: 300px;
}
img {
transition: transform 0.3s ease;
}
img:hover {
transform: scale(1.1);
}
@keyframes scrollBackground {
from {
background-position: 0 0;
}
to {
background-position: 127px 127px;
}
}
@font-face {
font-family: "Minecraft";
src: url("res/font.woff") format(woff);
font-weight: normal;
font-style: normal;
}