-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
130 lines (125 loc) · 2.51 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
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
129
130
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500&display=swap');
*{
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Roboto', sans-serif;
}
.container {
width: 80%;
margin: auto;
}
a{
text-decoration: none;
text-decoration: underline;
font-weight: 600;
}
body{
background-color: #FFF3F3;
}
main{
position: relative;
width: 100vw;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.start-button input{
box-shadow: 0.13em 0.13em 0.063em rgba(61, 59, 59, 0.397);
border: none;
border-radius: 0.31em;
font-size: 1.2em;
padding: 0.31em 0.94em;
margin: 1.25em 0.63em 1.25em 0;
border: 0.063em solid #000;
cursor: pointer;
}
.start-button #startBtn{
background-color: #75EAE3;
}
.start-button #stopBtn{
background-color: rgb(255, 80, 80);
}
.hidden {
display: none;
}
.beat-buttons{
display: flex;
align-items: center;
justify-content: start;
flex-wrap: wrap;
gap: 1.5em;
}
.beat-button{
width: 14em;
height: 14em;
box-shadow: 0.125em 0.125em 0.125em rgba(61, 59, 59, 0.253);
border-radius: 0.75em;
border: 0.063em solid rgba(51, 51, 51, 0.479);
cursor: pointer;
}
#button1{
background-color: #6DF0D1;
}
#button2{
background-color: #6D9AF0;
}
#button3{
background-color: #F0DB6D;
}
#button4{
background-color: #EA758A;
}
#button1:active, #button1.lit{
background-color: #005844;
}
#button2:active, #button2.lit{
background-color: #00308a;
}
#button3:active, #button3.lit{
background-color: #a38800;
}
#button4:active, #button4.lit{
background-color: #d10f33;
}
#author{
text-align: center;
position: absolute;
bottom: 5%;
}
/* media queries start here */
/* mobile media query start here */
@media only screen and (max-width: 600px){
body{
width: 100%;
}
.beat-button{
width: 8em;
height: 8em;
}
}
@media only screen and (min-width: 1024px){
body{
width: 100%;
}
.beat-button{
width: 10em;
height: 10em;
}
}
@media only screen and (max-width: 280px){
h1{
font-size: 1.6em;
}
.beat-buttons{
gap:0.8em;
}
.beat-button{
width: 6.2em;
height: 6.2em;
}
}
/* mobile media query end here */
/* media queries end here */