-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (91 loc) · 1.88 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
99
100
101
@import url("https://fonts.googleapis.com/css2?family=Zen+Dots&display=swap");
:root {
--back: #e0e0e0;
--main: #1d3649;
--alternative: #ffad00;
--alternative2: #52b7a1;
}
* {
font-family: "Zen Dots", cursive;
color: var(--main);
}
html,
body {
background-color: var(--back);
margin: 0;
padding: 0;
height: 100%;
}
#main {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
#drum-machine {
min-width: 90vh;
min-height: 50vh;
border-radius: 20px;
background: var(--back);
box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
text-align: center;
}
h1 {
filter: drop-shadow(3px 2px 1px black);
margin: 20px;
max-height: 40px;
}
#box {
display: flex;
flex-direction: row;
}
#box > .grid {
flex-grow: 1;
}
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 5px;
max-width: 45vh;
}
.grid:nth-child(1) > .drum-pad {
font-size: x-large;
display: flex;
align-items: center;
justify-content: center;
margin: 10px;
color: var(--alternative2);
border-radius: 5px;
background: var(--back);
box-shadow: 5px 5px 15px #bebebe, -5px -5px 15px #ffffff;
height: 70px;
/* width: 50px; */
}
.grid:nth-child(1) > .drum-pad:hover {
color: var(--alternative);
border-radius: 5px;
background: linear-gradient(145deg, #cacaca, #f0f0f0);
}
.grid:nth-child(2) {
margin: 20px;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
background: #e0e0e0;
background: var(--back);
box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}
#display {
display: flex;
align-items: center;
justify-content: center;
color: var(--main);
padding: 40px;
min-width: 100px;
min-height: 50px;
width: 150px;
height: 50px;
background-color: var(--alternative2);
box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
}