generated from staticwebdev/vanilla-basic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (86 loc) · 1.59 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
95
96
97
98
/* CSS - style.css */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
body {
background-color: yellow;
margin: 0;
}
unselectable {
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
button {
color: white;
background-color: royalblue;
border: 5px solid yellow;
padding: 5px;
border-radius: 5px 5px;
font-size: 1rem;
text-shadow: 1px 1px black;
font-family: 'Press Start 2P';
}
button:hover {
cursor: pointer;
}
#inicio, #jogo {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right:0;
text-align: center;
font-family: 'Press Start 2P';
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
#inicio {
background-color: green;
display: flex;
justify-content: center;
align-items: center;
}
#jogo {
background-color: blue;
}
#voltar {
position: absolute;
top: 5px;
left: 5px;
}
#controle {
position: absolute;
bottom: 10px;
left: 0;
right: 0;
}
#labirinto {
font-family: monospace;
font-size: 2rem;
}
#pontos {
color: white;
margin: 10px;
text-shadow: 1px 1px black;
}
.p0,.p1,.p2,.e0,.e1,.e2 {
background-color: white;
}
.e0 {
color: white;
}
.e1 {
color: green;
}
.e2 {
color: blue;
}
.p0 {
color: green;
}
.p1 {
color: red;
}
.p2 {
color: pink;
}