improve: no script stuff
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<noscript>
|
<noscript>
|
||||||
<div class="page-shell footer-shell">
|
<div class="page-shell footer-shell">
|
||||||
<div class="panel noscript-panel">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|||||||
+2
-1
@@ -1,6 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html lang="en">
|
<html lang="en" class="no-js">
|
||||||
<head>
|
<head>
|
||||||
|
<script>document.documentElement.classList.remove('no-js');</script>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta
|
<meta
|
||||||
|
|||||||
@@ -36,6 +36,15 @@ html {
|
|||||||
overflow-x: clip;
|
overflow-x: clip;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
html.no-js {
|
||||||
|
#about,
|
||||||
|
#projects,
|
||||||
|
.hero-action-links,
|
||||||
|
.hero-meta {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body,
|
body,
|
||||||
html {
|
html {
|
||||||
min-height: 100%;
|
min-height: 100%;
|
||||||
|
|||||||
Reference in New Issue
Block a user