Update html_helper.py
Browse files- html_helper.py +13 -0
html_helper.py
CHANGED
@@ -77,6 +77,19 @@ def create_html_from_midi(midifile):
|
|
77 |
opacity: 0.9;
|
78 |
stroke: #34384F;
|
79 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
</style>
|
81 |
</head>
|
82 |
<body>
|
|
|
77 |
opacity: 0.9;
|
78 |
stroke: #34384F;
|
79 |
}}
|
80 |
+
|
81 |
+
/* Media queries for responsive scaling */
|
82 |
+
@media (max-width: 500px) {
|
83 |
+
#proll midi-player {
|
84 |
+
transform: scale(0.6);
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
@media (max-width: 400px) {
|
89 |
+
#proll midi-player {
|
90 |
+
transform: scale(0.4);
|
91 |
+
}
|
92 |
+
}
|
93 |
</style>
|
94 |
</head>
|
95 |
<body>
|