Skip to content

Commit b266b59

Browse files
authored
Merge pull request #706 from sanathan-git/drumupdate
updated background and symbols
2 parents 55607e3 + ee580f9 commit b266b59

File tree

3 files changed

+52
-8
lines changed

3 files changed

+52
-8
lines changed

Drum/falgun143/icons/drumback.jpg

51.5 KB
Loading

Drum/falgun143/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,32 @@ <h1>PLAY DRUM KIT.</h1>
1717
</div>
1818
<div class="drumkit">
1919
<div class="pad" data-sound="clap" data-sound-key="a">
20-
<h1>A</h1>
20+
<h1 class="alphabet">A</h1>
2121
<img src="./icons/clap.png" alt="clap">
2222
</div>
2323

2424
<div class="pad" data-sound="crash" data-sound-key="s">
25-
<h1>S</h1>
25+
<h1 class="alphabet">S</h1>
2626
<img src="./icons/crash.png" alt="crash">
2727
</div>
2828

2929
<div class="pad" data-sound="openhihat" data-sound-key="d">
30-
<h1>D</h1>
30+
<h1 class="alphabet">D</h1>
3131
<img src="./icons/open-hihat.png" alt="oh">
3232
</div>
3333

3434
<div class="pad" data-sound="kick" data-sound-key="f">
35-
<h1>F</h1>
35+
<h1 class="alphabet">F</h1>
3636
<img src="./icons/kick.png" alt="kick">
3737
</div>
3838

3939
<div class="pad" data-sound="snare" data-sound-key="g">
40-
<h1>G</h1>
40+
<h1 class="alphabet">G</h1>
4141
<img src="./icons/snare.png" alt="snare">
4242
</div>
4343

4444
<div class="pad" data-sound="closedhihat" data-sound-key="h">
45-
<h1>H</h1>
45+
<h1 class="alphabet">H</h1>
4646
<img src="./icons/closed-hihat.png" alt="ch">
4747
</div>
4848

Drum/falgun143/styles.css

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,53 @@
33
padding: 0;
44
}
55

6-
body {
6+
.alphabet{
7+
align-items: center;
8+
appearance: none;
9+
background-color: #FCFCFD;
10+
border-width: 0;
11+
box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px,rgba(45, 35, 66, 0.3) 0 7px 13px -3px,#D6D6E7 0 -3px 0 inset;
12+
box-sizing: border-box;
13+
color: #36395A;
14+
cursor: pointer;
15+
display: inline-flex;
16+
font-family: "JetBrains Mono",monospace;
17+
height: 35px;
18+
border-radius: 100%;
19+
justify-content: center;
20+
line-height: 1;
21+
list-style: none;
22+
overflow: hidden;
23+
padding: 20px;
24+
margin: 15px;
25+
position: relative;
26+
text-align: left;
27+
text-decoration: none;
28+
transition: box-shadow .15s,transform .15s;
29+
user-select: none;
30+
-webkit-user-select: none;
31+
touch-action: manipulation;
32+
white-space: nowrap;
33+
will-change: box-shadow,transform;
34+
font-size: 18px;
35+
}
736

8-
37+
.button-30:focus {
38+
box-shadow: #D6D6E7 0 0 0 1.5px inset, rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
39+
}
40+
41+
.button-30:hover {
42+
box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, #D6D6E7 0 -3px 0 inset;
43+
transform: translateY(-2px);
44+
}
45+
46+
.button-30:active {
47+
box-shadow: #D6D6E7 0 3px 7px inset;
48+
transform: translateY(2px);
49+
}
50+
51+
body {
52+
background: url(./icons/drumback.jpg);
953
font-family: 'Montserrat', sans-serif;
1054
background-color: hsl(56, 29%, 62%);
1155
display: flex;

0 commit comments

Comments
 (0)