-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
129 lines (106 loc) · 1.95 KB
/
Copy pathstyle.css
File metadata and controls
129 lines (106 loc) · 1.95 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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
/* GENERAL */
:root {
--background-clr: #283149;
--main-clr: #dbedf3;
--shadow-clr: #da0463;
}
body {
text-align: center;
background-color: var(--background-clr);
}
h1 {
font-size: calc(5vw + 2.5rem);
color: var(--main-clr);
font-family: "Arvo", cursive;
text-shadow: 3px 0 var(--shadow-clr);
}
footer {
color: var(--main-clr);
font-family: sans-serif;
}
p {
margin: 0;
padding: 0;
}
.invisible-p {
display: none;
}
.desktop-footer {
display: inline-block;
}
/* BUTTONS */
.w {
background-image: url("images/tom1.png");
}
.a {
background-image: url("images/tom2.png");
}
.s {
background-image: url("images/tom3.png");
}
.d {
background-image: url("images/tom4.png");
}
.j {
background-image: url("images/snare.png");
}
.k {
background-image: url("images/crash.png");
}
.l {
background-image: url("images/kick.png");
}
.set {
margin: 10% auto;
}
.pressed {
-webkit-box-shadow: 0 3px 4px 0 var(--main-clr);
box-shadow: 0 3px 4px 0 var(--main-clr);
opacity: 0.5;
}
.drum {
-ms-touch-action: manipulation;
touch-action: manipulation;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
outline: none;
border: 10px solid #404b69;
font-size: 5rem;
font-family: "Arvo", cursive;
line-height: 2;
font-weight: 900;
color: var(--main-clr);
text-shadow: 3px 0 var(--shadow-clr);
border-radius: 15px;
display: inline-block;
width: 9.375rem;
height: 9.375rem;
text-align: center;
margin: 10px;
background-color: white;
background-repeat: no-repeat;
}
.drum:nth-child(5),
.drum:nth-child(6),
.drum:nth-child(7) {
color: var(--shadow-clr);
text-shadow: 3px 0 var(--main-clr);
}
/* RESPONSIVE */
@media (max-width: 499px) {
h1 {
font-size: calc(3vw + 2rem);
}
.drum {
width: 100px;
height: 100px;
font-size: 3rem;
background-repeat: no-repeat;
background-size: cover;
}
footer {
font-size: 0.7rem;
}
}