-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.css
93 lines (80 loc) · 1.53 KB
/
App.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
.App {
text-align: center;
}
* {
margin: 0;
padding: 0;
}
body {
font-size: 24px;
background-color: #32502e;
background-image: url(https://thumbs.dreamstime.com/b/mod%C3%A8le-sans-couture-de-vecteur-g%C3%A9om%C3%A9trique-simple-moderne-avec-la-ligne-texture-d-sur-le-fond-blanc-papier-peint-abstrait-123643376.jpg);
width: "100vw";
height: "100vh";
}
h2 {
font-size: 28px;
}
#drum-machine {
margin: 15px;
height: 100vh;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
.wrapper {
width: 100%;
display: grid;
padding: 10px;
grid-gap: 15px;
margin-top: 40px;
border-radius: 15px;
grid-template-columns: 1fr;
background-image: linear-gradient(-225deg, #04009a 35%, #f98404 100%);
}
.keyboard {
display: grid;
grid-gap: 10px;
grid-template-columns: repeat(3, 1fr);
}
.keyboard .drum-pad {
width: 100%;
height: 80px;
outline: none;
font-size: 24px;
cursor: pointer;
border-radius: 10px;
background-color: #9ede73;
transition: all 0.3s ease-in-out;
}
@media (min-width: 768px) {
.wrapper {
width: 680px;
}
}
@media (min-width: 992px) {
.wrapper {
grid-template-columns: 1fr 1fr;
}
}
.controle {
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
}
.controle > button,
.controle > input,
.controle > h2 {
margin-bottom: 10px;
}
.controle button {
border: none;
color: #e5defe;
cursor: pointer;
font-size: 20px;
padding: 8px 10px;
border-radius: 15px;
background-color: #334756;
}