-
Notifications
You must be signed in to change notification settings - Fork 14
/
style.css
92 lines (74 loc) · 1.22 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
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: system-ui, sans-serif;
}
@font-face {
font-family: "Minecrafter";
src: url("fonts/minecrafter/Minecrafter.Reg.woff2"), sans-serif;
}
header {
background: #171615;
color: white;
padding: 1rem;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
header h1 {
color: #c6b8b4;
font: 48px Minecrafter;
transform: perspective(24px) translateZ(0) rotate3d(1, 0, 0, 2deg);
text-shadow: 0px 5px 4px black;
}
main {
margin: 0 auto;
padding: 1rem;
max-width: 60ch;
width: 100%;
box-sizing: border-box;
line-height: 1.4;
}
main h2 {
font-size: 1.5rem;
margin: 1rem 0 0.5rem;
}
main li {
margin: 0.5rem 0;
}
@media (max-width: 900px) {
minecraft-client {
width: 100%;
}
}
.controls {
margin: 0.5rem 0;
}
.controls > * {
appearance: none;
background: transparent;
border: 0;
cursor: pointer;
width: 24px;
height: 24px;
margin-right: 0.5rem;
}
.controls svg {
stroke: #c6b8b4;
}
.controls > *:hover svg {
stroke: white;
}
.mobile-only {
display: none;
}
@media (max-width: 854px) {
.mobile-only {
display: block;
}
.desktop-only {
display: none;
}
}