-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
92 lines (92 loc) · 1.83 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
@import url("https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Pro:wght@400;500&display=swap");
*, *::before, *::after {
margin: 0;
padding: 0;
list-style: none;
outline: none;
box-sizing: border-box;
}
body {
text-align: center;
color: #222222;
}
h3 {
text-transform: uppercase;
font: bold 34px/120% Georgia, serif;
padding: 1em 0 0.3em 0;
}
p {
font: 400 16px/120% "Rubik", sans-serif;
}
.kit-container {
background: url(background-img.png) no-repeat;
background-size: cover;
background-position: center;
height: 120vh; width: 100%;
}
.kit {
display: flex;
flex-direction: column;
justify-content: center;
align-content: center;
height: 100vh;
color: #ffffff;
}
.kit > div {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
kbd {
font: 400 30px/120% "Crimson Pro", serif;
background-color: #222222;
}
.instrument {
display: flex;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
width: 10em; height: 10em;
margin: 1em 0 0 1em;
font: 400 16px/120% "Rubik", sans-serif;
border: 3px solid #314569;
text-align: center;
cursor: pointer;
transition: all 0.07s;
background: rgba(0, 0, 0, 0.4);
}
.hi-hat, .crash-cymbal {
margin-left: 0;
}
.play { /* animation style */
transform: scale(1.1);
border: 3px solid #7aa7fa;
box-shadow: 0 0 5px #95baff;
}
@media screen and (max-width: 426px) {
h3 {
font-size: 24px;
}
p {
font-size: 14px;
padding: 0 1em;
}
kbd {
font-size: 24px;
}
.instrument {
height: 6em; width: 6em;
font-size: 14px;
}
}
@media screen and (max-width: 376px) {
.instrument {
margin-left: 0.5em;
}
.hi-hat, .crash-cymbal {
margin-left: 0;
}
}