-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.css
135 lines (109 loc) · 2.21 KB
/
main.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
131
132
133
134
135
* {
box-sizing: border-box;
}
.controls {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
}
#midi_player {
display: flex;
flex-direction: column-reverse;
}
.abcjs-inline-midi {
filter: drop-shadow(0px 0px 10px black);
border-radius: 0px;
}
.abcjs-download-midi {
margin: 0 20px 4px auto;
}
.config_box {
background-image: linear-gradient(45deg, dodgerblue, darkviolet);
width: 100%;
padding: 10px 0;
color: white;
flex-direction: row;
display: flex;
align-items: stretch;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif
}
.generate_container {
margin: 0 20px;
flex: 1;
justify-self: self-start;
display: flex;
flex-direction: column;
justify-content: center;
max-width: 400px;
}
.generate_container button {
margin: auto;
padding: 10px 20px;
text-transform: uppercase;
background-color: rgb(177, 18, 177);
color: white;
border-radius: 10px;
border-width: 0px;
filter: drop-shadow(0px 0px 5px darkviolet);
-moz-appearance: none;
}
.generate_container button::-moz-focus-inner {
padding: 5px;
}
.generate_container button:hover {
background-color: rgb(172, 39, 172);
}
.generate_container button:active {
background-color: rgb(160, 64, 216);
filter: drop-shadow(0px 0px 10px rgb(197, 44, 197))
}
.params {
margin-right: 30px;
}
.params > div {
margin: 10px 0px;
}
.params input {
margin: 0 5px;
width: 4.5em;
text-align: right;
}
.params span {
float: left;
min-width: 9em;
}
.rhythms {
display: flex;
margin-right: 30px;
}
.rhythms > div {
display: flex;
flex-direction: column;
margin: 0px 10px;
}
.input_rhythm {
margin: 10px 0px;
flex: 1;
}
body {
margin-bottom: 15em;
}
#abc_output {
white-space: pre-wrap;
}
/* smaller screen size adaption */
@media screen and (max-width: 60em) {
.rhythms {
display: none;
}
.abcjs-download-midi {
display: none;
}
}
@media screen and (max-width: 40em), screen and (max-height: 20em) {
.params {
display: none;
}
}