-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
114 lines (99 loc) · 1.67 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
body {
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
height: 100%;
background-color: #f0f0f0;
margin: 0;
font-family: Arial, sans-serif;
}
header {
width: 100%;
text-align: center;
background-color: #98c889;
color: white;
font-family: "Silkscreen";
padding: 0px 0px;
}
header h1 {
font-size: 18pt;
}
footer {
font-size: 10pt;
width: 100%;
text-align: center;
color: #98c889;
margin-top: 15px;
font-family: "Silkscreen";
padding: 0px 0px;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
flex-grow: 1;
margin-top: 15px;
margin-bottom: 0px;
}
#grid-container {
display: grid;
grid-template-columns: repeat(8, 40px);
grid-template-rows: repeat(8, 40px);
gap: 2px;
margin-bottom: 5vh;
}
.cell {
width: 35px;
height: 35px;
border-radius: 50%;
background-color: lightgray;
border: 1px solid gray;
}
.cell.highlighted {
background-color: #98c889;
}
.cell.playing {
border: 2px solid #bdb73f;
background-color: #dfdb6a;
}
#button-controls {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 2vh;
}
#bpm-controls {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 15px;
width: 100%;
justify-content: center;
}
#key-controls {
display: flex;
align-items: center;
gap: 10px;
justify-content: center;
}
#play-pause-button,
#clear-button,
#randomize-button {
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
#tempo-value {
width: 25px;
}
#tonic-select,
#scale-select {
padding: 5px;
font-size: 16px;
}
#bpm-display {
width: 10px;
text-align: center;
}