-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (75 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
91 lines (75 loc) · 1.31 KB
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
/* GENERAL */
:root {
--background-clr: #011f3f;
--title-clr: #fef2bf;
--title-clr2: #ff4a4a;
}
body {
text-align: center;
background-color: var(--background-clr);
}
#level-title {
font-family: "Press Start 2P", cursive;
font-size: calc(2vw + 1rem);
line-height: 1.5;
margin: 5%;
color: var(--title-clr);
}
/* BUTTONS */
.container {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
display: block;
margin: auto;
}
.btn {
-ms-touch-action: manipulation;
touch-action: manipulation;
margin: 25px;
display: inline-block;
height: calc(8vw + 5rem);
width: calc(8vw + 5rem);
border: 10px solid black;
border-radius: 20%;
}
.unclickable-btn {
pointer-events: none;
}
.game-over {
background-color: red;
opacity: 0.8;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
.yellow {
background-color: yellow;
}
.pressed {
-webkit-box-shadow: 0 0 20px white;
box-shadow: 0 0 20px white;
background-color: grey;
}
/* RESPONSIVE */
@media (max-width: 500px) {
.btn {
border: 5px solid black;
margin: 15px;
}
}
@media (max-width: 400px) {
.btn {
width: calc(0.5vw + 5rem);
height: calc(0.5vw + 5rem);
border: 5px solid black;
margin: 10px;
}
}