-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
82 lines (71 loc) · 1.09 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: "silkscreenbold";
background: url("./Assets/Sprites/super-bomberman-r-bg-black.png") no-repeat center;
background-color: black;
background-size: cover;
color: white;
text-align: center;
font-size: 40px;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: space-around;
}
canvas {
font-family: "silkscreenbold";
/* border: 15px solid black; */
width: 45vw;
}
h1 {
color: white;
font-size: 4vh;
padding: 2vh;
}
h2 {
font-size: 2vh;
padding: 2vh;
}
p {
font-size: 1.5vh;
padding: 1vh;
}
footer {
padding: 1vh;
padding-bottom: 5vh;
}
.player {
padding: 0 2vw;
}
#instructions {
display: flex;
justify-content: center;
}
@media (min-width: 1400px) {
canvas {
width: 40vw;
}
}
@media (max-width: 1200px) {
canvas {
width: 60vw;
}
}
@media (max-width: 800px) {
h1 {
font-size: 9vw;
}
canvas {
width: 70vw;
padding-bottom: 3vh;
}
#instructions {
display: flex;
flex-direction: column;
justify-content: center;
}
}