summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:54 +0100
committerRaindropsSys <raindrops@equestria.dev>2023-11-17 23:25:54 +0100
commitc2a38a4847dfa9f561717cfc9858c275caa33876 (patch)
tree149bb7626f4495558c781fbcd621434e3cf7e6df /assets
parentca4588f1b8200ef93e1614f2274a960bbb9fd53e (diff)
downloadmist-c2a38a4847dfa9f561717cfc9858c275caa33876.tar.gz
mist-c2a38a4847dfa9f561717cfc9858c275caa33876.tar.bz2
mist-c2a38a4847dfa9f561717cfc9858c275caa33876.zip
Updated 14 files and added 2 files (automated)
Diffstat (limited to 'assets')
-rw-r--r--assets/.DS_Storebin10244 -> 10244 bytes
-rw-r--r--assets/icons/stella-full.svg43
-rw-r--r--assets/icons/stella.svg18
-rw-r--r--assets/js/normalizer.js17
-rw-r--r--assets/styles.css14
5 files changed, 79 insertions, 13 deletions
diff --git a/assets/.DS_Store b/assets/.DS_Store
index 1026c09..b5223c8 100644
--- a/assets/.DS_Store
+++ b/assets/.DS_Store
Binary files differ
diff --git a/assets/icons/stella-full.svg b/assets/icons/stella-full.svg
new file mode 100644
index 0000000..55f3f5a
--- /dev/null
+++ b/assets/icons/stella-full.svg
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 409.4 69.2" style="enable-background:new 0 0 409.4 69.2;" xml:space="preserve">
+<g>
+ <path d="M0,67.6V0h0.1l36.1,51.2l-5.5-1.2L66.7,0h0.2v67.6H54.1V28.8l0.8,6.6l-22,31.2h-0.2L10.1,35.5l2.2-6.1v38.2H0z"/>
+ <path d="M81.3,15.3c0-1.8,0.7-3.3,2.2-4.5c1.4-1.2,3-1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0.6,4.5,1.7,6.4c1.1,1.9,2.6,3.5,4.5,4.6C385.1,62,387.1,62.5,389.3,62.5z"/>
+</g>
+</svg>
diff --git a/assets/icons/stella.svg b/assets/icons/stella.svg
index abaeea3..cf9d507 100644
--- a/assets/icons/stella.svg
+++ b/assets/icons/stella.svg
@@ -1 +1,17 @@
-<svg xmlns="http://www.w3.org/2000/svg" height="24" viewBox="0 -960 960 960" width="24"><path d="m315-688 107-143q11.086-14.968 26.329-21.984Q463.571-860 481-860q17.143 0 32.124 7.016Q528.105-845.968 539-831l106.369 142.743L810-632q25 10 37.5 29.661 12.5 19.66 12.5 42.019 0 10.32-3.567 21.391Q852.867-527.857 846-518L739-374l4 157q0 31.145-22.848 54.072Q697.304-140 666-140q-2 0-18-2l-168-51-165.837 50.885Q309-140 304.765-140.5q-4.236-.5-7.765-.5-32.6 0-56.3-21.928Q217-184.855 218-218l4-156-108-145q-6.867-9.957-10.433-20.606Q100-550.254 100-560.902q0-22.929 13.709-43.259Q127.418-624.49 152-633l163-55Zm33 46-163 56q-15 5-20.5 20.5T169-537l110 147-8 159q-1 17 12 27t29 5l168.5-49L649-199q16 5 29-5t12-27l-7-160 109-145q10-13 4.5-28.5T776-585l-164-57-107-143q-9-13-25-13t-25 13L348-642Zm133 144Z"/></svg> \ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Generator: Adobe Illustrator 27.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
+<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
+ viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
+<g>
+ <path d="M0.5,423.2V68h70.1c0.3,0.1,42.5,7,82.8,33.2c23.7,15.4,42.2,34.3,54.9,56.2c15.9,27.4,22.9,59.6,20.7,95.7
+ c-2.2,36.1-12.6,67.6-30.8,93.4c-14.6,20.7-34.2,37.8-58.3,51c-40.8,22.3-80.9,25.6-81.9,25.6H0.5z"/>
+ <path d="M70.5,68.5c2,0.3,43.2,7.5,82.7,33.1c23.6,15.3,42,34.2,54.7,56c15.9,27.3,22.8,59.4,20.6,95.4
+ c-2.2,36-12.5,67.4-30.7,93.1c-14.5,20.6-34.1,37.7-58.1,50.9c-40.5,22.1-80.4,25.5-81.7,25.6H1V68.5H70.5 M70.6,67.5H0v356.1h58
+ c0,0,161.8-11.6,171.5-170.5C239.1,94.3,70.6,67.5,70.6,67.5L70.6,67.5z"/>
+</g>
+<g>
+ <path d="M486.2,92.5l0.7,306.1l-43.3,0.1c-7.8-1.5-41.3-9-73.1-29.9c-20.1-13.2-35.7-29.3-46.3-47.7c-13.2-23-19-50.3-17.2-81.2
+ c3.3-56.2,28.4-97.8,74.7-123.8c33.6-18.8,67.2-23,72.6-23.6L486.2,92.5 M455.2,92.5L455.2,92.5L455.2,92.5 M511.2,67.5l-58,0.1
+ c0,0-161.8,12-171.1,170.9c-9.3,158.9,159.3,185.3,159.3,185.3l70.6-0.2L511.2,67.5L511.2,67.5z"/>
+</g>
+</svg>
diff --git a/assets/js/normalizer.js b/assets/js/normalizer.js
index c18d242..ae3f830 100644
--- a/assets/js/normalizer.js
+++ b/assets/js/normalizer.js
@@ -2,12 +2,17 @@ window.currentNormalizationContext = null;
window.currentNormalizationContext2 = null;
window.currentNormalizationContext3 = null;
-function normalizeAudio(ab, gainBoost) {
+function normalizeAudio(ab, gainBoost, stella) {
ab = ab.slice(0);
return new Promise((res) => {
let currentNormalizationProfile = currentNormalizationContext.createGain();
- currentNormalizationProfile.gain.value = (1.0 + gainBoost) / 10.0;
+
+ if (localStorage.getItem("noamp") !== "true" && !stella) {
+ currentNormalizationProfile.gain.value = (1.0 + gainBoost) / 10.0 + 0.5;
+ } else {
+ currentNormalizationProfile.gain.value = (1.0 + gainBoost) / 10.0;
+ }
if (localStorage.getItem("normalize") === "false") res(currentNormalizationProfile);
@@ -33,7 +38,13 @@ function normalizeAudio(ab, gainBoost) {
gain = gain / 10.0;
console.log("Calculated gain:", gain);
- currentNormalizationProfile.gain.value = gain;
+
+ if (localStorage.getItem("noamp") !== "true" && !stella) {
+ currentNormalizationProfile.gain.value = gain + 0.5;
+ } else {
+ currentNormalizationProfile.gain.value = gain;
+ }
+
res(currentNormalizationProfile);
});
});
diff --git a/assets/styles.css b/assets/styles.css
index f661cdd..14d7bec 100644
--- a/assets/styles.css
+++ b/assets/styles.css
@@ -47,7 +47,7 @@ body.native #lyrics-page {
}
@media (max-width: 1200px) {
- #album-grid {
+ #album-grid, #search-results {
grid-template-columns: repeat(4, 1fr) !important;
}
@@ -57,7 +57,7 @@ body.native #lyrics-page {
}
@media (max-width: 1215px) {
- #album-grid {
+ #album-grid, #search-results {
grid-template-columns: repeat(5, 1fr) !important;
}
@@ -83,7 +83,7 @@ body.native #lyrics-page {
}
@media (max-width: 1295px) {
- #album-grid {
+ #album-grid, #search-results {
grid-template-columns: repeat(4, 1fr) !important;
}
@@ -107,7 +107,7 @@ body.native #lyrics-page {
display: none !important;
}
- #album-grid {
+ #album-grid, #search-results {
grid-template-columns: repeat(3, 1fr) !important;
}
@@ -117,7 +117,7 @@ body.native #lyrics-page {
}
@media (max-width: 767px) {
- #album-grid {
+ #album-grid, #search-results {
grid-template-columns: repeat(2, 1fr) !important;
}
@@ -484,10 +484,6 @@ body.web {
display: none !important;
}
-.mist-stella {
- display: none !important;
-}
-
.tooltip {
z-index: 99999 !important;
}