Videos: font swap from JL's list + lightbox QoL fixes
Fonts (display/heading only — body untouched): - Cringe Pit: Bebas Neue → Protest Revolution - Renegade: Bebas Neue → Ribeye Marrow, Barlow Condensed → Faculty Glyphic (headings), Rambla (body) - Nomad Soul: Bebas Neue → Trade Winds, Rye → Babylonica - Hub: Bebas Neue → Workbench Lightbox fixes (3 collection pages): - window.onload → DOMContentLoaded (fires before iframes load, fixes slow mobile) - lightbox-content: max-height 90vh + overflow-y auto (fixes off-screen on small viewports) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>YOUR NOMAD SOUL // Singular Particular</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rye&family=JetBrains+Mono:wght@300;500&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Trade+Winds&family=Babylonica&family=JetBrains+Mono:wght@300;500&display=swap" rel="stylesheet">
|
||||
<style>
|
||||
:root {
|
||||
--background: #0a0704;
|
||||
@@ -60,7 +60,7 @@
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-family: 'Bebas Neue', sans-serif;
|
||||
font-family: 'Trade Winds', sans-serif;
|
||||
font-weight: 400;
|
||||
font-size: clamp(5rem, 20vw, 11rem);
|
||||
color: var(--primary);
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
|
||||
.entry-title {
|
||||
font-family: 'Rye', serif;
|
||||
font-family: 'Babylonica', serif;
|
||||
font-size: 2.2rem;
|
||||
font-weight: 400;
|
||||
margin-bottom: var(--space-8);
|
||||
@@ -212,7 +212,7 @@
|
||||
}
|
||||
|
||||
.lightbox-quote {
|
||||
font-family: 'Rye', serif;
|
||||
font-family: 'Babylonica', serif;
|
||||
font-size: 1.6rem;
|
||||
line-height: 1.35;
|
||||
margin-bottom: var(--space-12);
|
||||
@@ -405,11 +405,11 @@
|
||||
localStorage.setItem('nomad_visited', 'true');
|
||||
}
|
||||
|
||||
window.onload = () => {
|
||||
document.addEventListener('DOMContentLoaded', () => {
|
||||
if (!localStorage.getItem('nomad_visited')) {
|
||||
document.getElementById('welcome-gate').classList.add('active');
|
||||
}
|
||||
};
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user