Skip to content

Commit a60431f

Browse files
committed
i
1 parent f268541 commit a60431f

13 files changed

Lines changed: 72 additions & 84 deletions

dist/bundle-50705.css

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/bundle-50705.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

dist/bundle-ac422.css

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/bundle-ac422.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

src/css/style.css

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -258,19 +258,18 @@ article {min-height:80vh; border: dotted 1px rgba(255,255,0,.1);}
258258
backdrop-filter: brightness(90%) contrast(250%) grayscale(50%) blur(.1em) saturate(120%);}
259259
.article-content:hover {background: radial-gradient(rgba(128, 128, 128, 0.1), rgba(0, 0, 0, 0.1));
260260
backdrop-filter: brightness(95%) contrast(200%) grayscale(50%) blur(.1em) saturate(120%);}
261-
#toTop {transition: all .45s;
261+
#toTop {transition: all .1s ease-in-out;
262262
z-index: 5;
263-
pointer-events: none;
264263
position: fixed;
265264
bottom: 0;
266265
right: 2.5%;
267266
padding: 5px;
268267
background: rgba(128,128,128,.1);
269-
opacity: 0;}
270-
#toTop:hover {background: rgba(128,128,128,.33);
271-
cursor: pointer;
272-
opacity: 0.9 !important;}
273-
.to-top {width: 2.7em;} .to-top:hover {filter: invert(100%) !important; transition: all .3s ease-in-out;}
268+
opacity: 0.4;}
269+
#toTop:hover {cursor: pointer;
270+
background: rgba(128,128,128,.3);
271+
opacity: 0.9;}
272+
.to-top {width: 2.7em;} .to-top:hover {filter: invert(100%);}
274273
#toTopFooter {opacity: 0.5;} #toTopFooter:hover {cursor: pointer; opacity: 0.9;}
275274
footer {background: linear-gradient(to top, rgba(0, 0, 0, .3), rgba(128, 128, 128, 0.2));
276275
transition: all 1.2s ease-in-out;

src/index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h1><span id="site-title"><a href="/" class="no-bg" title="Home"><img alt="Home"
4141
</p>
4242
<div id="site-info" class="article-content" style="padding:0; margin:auto;"><div class="width95 opaq80" style="margin-bottom: -.5em;">
4343
<h5 style="margin: .1em 0 -.8em"><i>About i&i:</i></h5></div><div class="width95"><p class="no-indent center" style="padding-left:0;">
44-
Designed for max efficiency, freedom, & functionality. Full code & more info at <a href="https://www.github.com/i1li/i">GitHub</a>. Best enjoyed with good music, here's some <a href="https://github.com/i1li/i#shufflejs">shuffled</a> favorites:
44+
Designed for max efficiency, freedom, & functionality. Full code & more info at <a href="https://github.com/i1li/i">GitHub</a>. Best enjoyed with good music, here's some <a href="https://github.com/i1li/i#shufflejs">shuffled</a> favorites:
4545
</p><blockquote class="center" style="margin-bottom:-.5em;"><button id="next" title="Next Video">⏭️ Next</button><span id="draw"></span></blockquote>
4646
<p style="padding:.7rem 0 .2rem;" class="no-indent italic90">(More music <a href="/edu/vibes">here.</a>)</p>
4747
<p style="padding-left:0;padding-top:0;" class="no-indent">
@@ -1346,7 +1346,7 @@ <h4>Profitability Has Never Excused Criminality: A Message To Facebook, Google,
13461346
<y-t v="6M_P08ZjejQ,3ZY5Wio3vdk" t="Arcturus"></y-t><br>
13471347
<y-t v="JSggxkx6iDo?end=3542" t="Erothyme + Actualize Visuals - Featherbed Sessions Mix"></y-t><br>
13481348
<y-t v="XYk5wku59TY" class="no-link-embed" t="Jade Cicada + Tenorless: An Audiovisual Mixtape"></y-t><br>
1349-
<y-t v="ccS-Xu812Sg" t="Alejo & Tyme Visions - The Shadow Self Mix (AV Mixtape)"></y-t><br>
1349+
<!-- <y-t v="ccS-Xu812Sg" t="Alejo & Tyme Visions - The Shadow Self Mix (AV Mixtape)"></y-t><br> -->
13501350
<y-t v="n4-AiEwDG-Q" t="Alejo w/ 3NA Visuals - Featherbed Sessions"></y-t><br>
13511351
<y-t v="CuNE5DmrgsE" class="no-link-embed" t="Malakai x DayDreemer [Audiovisual Mix]"></y-t><br>
13521352
<y-t v="t1f_1uy_qxU" t="Desert Dwellers with Johnathan Singer Visuals: One Earth Live"></y-t><br>
@@ -1505,21 +1505,22 @@ <h4>Profitability Has Never Excused Criminality: A Message To Facebook, Google,
15051505
<td style="text-align:center; width:60%; vertical-align:middle; padding-top:1em; font-size:1em; opacity:.7;"><a href="https://connect4more.netlify.app" class="no-bg" title="Connect for more.">Connect</a></td>
15061506
<td style="text-align:right; width:20%; padding-right:2.5%; padding-top:.6em;"><a class="no-bg" title="Home" href="/"><img class="img-footer img-opaq" decoding="async" alt="Home" src="/img/yinyang.png"></a></td></tr></table></footer>
15071507

1508+
<script src="/js/github-pages.js"></script>
15081509
<script src="/js/welcome-overlay.js"></script>
1509-
<script src="/js/noise.js"></script>
15101510
<script src="/js/utils.js"></script>
1511+
<script src="/js/noise.js"></script>
15111512
<script src="/js/screensaver.js"></script>
15121513
<script src="/yt/youtube-embed.js"></script>
15131514
<script src="/js/light-dark.js"></script>
15141515
<script src="/yt/shuffle.js"></script>
15151516
<script src="/js/bible-verses.js"></script>
1516-
<script src="/js/background.js"></script>
1517-
<script src="/js/github-pages.js"></script>
15181517
<script src="/js/zoom.js"></script>
15191518
<script src="/js/scroll.js"></script>
15201519
<script src="/js/spa.js"></script>
1520+
<script src="/js/background.js"></script>
1521+
<script src="/js/color-change.js"></script>
15211522
<script src="/js/display-toggle.js"></script>
15221523
<script src="/js/image-overlay.js"></script>
1523-
<script src="/js/color-change.js"></script>
15241524
<script src="/js/search.js"></script>
1525+
15251526
</div></div></body></html>

src/js/background.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,4 +184,4 @@ setTimeout(() => {
184184
bgState = createBgLayerState(bg);
185185
lastBGUpdateTime = performance.now();
186186
requestAnimationFrame(updateColors);
187-
}, 3000);
187+
}, 4100);

src/js/color-change.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ setTimeout(() => {
9292
}, observerOptions);
9393
// Stagger .observe() calls lightly (~20ms batches) for perf ramp-up
9494
let observeDelay = 0;
95-
const observeBatchSize = 10;
95+
const observeBatchSize = 15;
9696
alwaysShift.forEach((element, index) => {
9797
setTimeout(() => {
9898
animationObserver.observe(element);
9999
}, observeDelay);
100100
if (index % observeBatchSize === observeBatchSize - 1) {
101-
observeDelay += 20; // Tune: 10-50ms for balance
101+
observeDelay += 10;
102102
}
103103
});
104104
// Cleanup on unload
@@ -129,4 +129,4 @@ setTimeout(() => {
129129
element.addEventListener('mouseout', debounce(() => handleDisengage(element, stopAnim), 30));
130130
});
131131
}
132-
}, 3000);
132+
}, 4000);

src/js/scroll.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ function handleScroll() {
1313
header.classList.remove('scrolled-down');
1414
}
1515
if (document.body.scrollTop > window.innerHeight || document.documentElement.scrollTop > window.innerHeight) {
16-
toTop.style.opacity = "0.4";
17-
toTop.style.pointerEvents = "auto";
16+
toTop.style.display = "inline-block";
1817
} else {
19-
toTop.style.opacity = "0";
20-
toTop.style.pointerEvents = "none";
18+
toTop.style.display = "none";
2119
}
2220
}
2321
function updateURLOnScroll() {
@@ -50,6 +48,6 @@ function updateURLOnScroll() {
5048
}
5149
}
5250
['scroll', 'touchmove', 'resize'].forEach(event => window.addEventListener(event, throttle(() => {
53-
updateURLOnScroll();
5451
handleScroll();
55-
}, 100)));
52+
updateURLOnScroll();
53+
}, 150)));

0 commit comments

Comments
 (0)