improve: no script stuff
This commit is contained in:
@@ -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
@@ -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
|
||||
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user