-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
128 lines (108 loc) · 1.92 KB
/
styles.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
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set a background color */
body {
background-color: #f0f0f0;
font-family: 'Arvo', serif;
}
/* Style the header */
#title {
text-align: center;
font-size: 2rem;
padding: 2rem;
background-color: #333;
color: #fff;
}
/* Style the drum buttons */
.set {
display: flex;
justify-content: center;
align-items: center;
margin-top: 2rem;
}
.drum {
border: 2px solid #333;
background-color: #fff;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
margin: 0 0.5rem;
cursor: pointer;
transition: background-color 0.2s, transform 0.2s;
outline: none;
border: 10px solid #404B69;
font-size: 5rem;
font-family: 'Arvo', cursive;
line-height: 2;
font-weight: 900;
color: #DA0463;
text-shadow: 3px 0 #DBEDF3;
width: 150px;
height: 150px;
}
/* Add hover effect to drum buttons */
.drum:hover {
background-color: #333;
color: #fff;
transform: scale(1.1);
}
/* Style the footer */
footer {
text-align: center;
background-color: #333;
color: #fff;
padding: 3rem 0;
font-size: 1rem;
}
.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 {
box-shadow: 0 3px 4px 0 #DBEDF3;
opacity: 0.5;
}
.red {
color: red;
}
.drum {
outline: none;
border: 10px solid #404B69;
font-size: 5rem;
font-family: 'Arvo', cursive;
line-height: 2;
font-weight: 900;
color: #DA0463;
text-shadow: 3px 0 #DBEDF3;
border-radius: 15px;
display: inline-block;
width: 150px;
height: 150px;
text-align: center;
margin: 10px;
background-color: white;
}