improve: no script stuff

This commit is contained in:
2026-04-27 18:41:16 +02:00
parent 79b585f6c5
commit 2938b920c5
3 changed files with 12 additions and 2 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<noscript>
<div class="page-shell footer-shell">
<div class="panel noscript-panel">
<h2 id="loading-text" class="warning-text">Enable JavaScript for the full experience.</h2>
<h2 id="loading-text" class="warning-text">Please enable JavaScript for the full experience.</h2>
</div>
</div>
</noscript>
+2 -1
View File
@@ -1,6 +1,7 @@
<!doctype html>
<html lang="en">
<html lang="en" class="no-js">
<head>
<script>document.documentElement.classList.remove('no-js');</script>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="utf-8" />
<meta
+9
View File
@@ -36,6 +36,15 @@ html {
overflow-x: clip;
}
html.no-js {
#about,
#projects,
.hero-action-links,
.hero-meta {
display: none;
}
}
body,
html {
min-height: 100%;