Adjust size of sandwich icon
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
39032776b4
commit
85c28777f4
4 changed files with 12 additions and 40 deletions
|
@ -84,7 +84,7 @@
|
|||
SANDWICH THE SANDWICH THE SANDWICH THE SANDWICH THE SANDWICH</x-marquee>
|
||||
<div style="position: relative; pointer-events: none;" class="flex-container">
|
||||
<img id="logo" class="icon" src="/assets/icon.svg"
|
||||
style="position: absolute; height: calc(min(512px, 95vw) + var(--energy));">
|
||||
style="position: absolute; height: calc(min(275px, 50vw) + var(--energy)); overflow: hidden;">
|
||||
<div id="audioContainer" style="position: absolute;"></div>
|
||||
</div>
|
||||
<div style="height: min(30vw, 150px);"></div>
|
||||
|
@ -302,7 +302,7 @@
|
|||
|
||||
|
||||
function drawCallback(instance, info) {
|
||||
const energy = instance.getEnergy() * 256;
|
||||
const energy = instance.getEnergy() * 150;
|
||||
document.documentElement.style.setProperty('--energy', energy + 'px');
|
||||
}
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue