add noscript

This commit is contained in:
底层用户 2022-01-24 09:58:27 +08:00
parent bd9531044f
commit 1671006805
2 changed files with 11 additions and 0 deletions

View File

@ -44,6 +44,13 @@ a:hover {
background-position: center center; background-position: center center;
} }
.noscript {
z-index: 999999;
font-size: 0.95rem;
text-align: center;
margin: 14px 0px;
}
/*页面样式*/ /*页面样式*/
section { section {
display: block; display: block;

View File

@ -374,6 +374,10 @@
<div id="lrc"></div> <div id="lrc"></div>
</footer> </footer>
</section> </section>
<!-- noscript -->
<noscript>
<div class="noscript fixed-top">请开启 JavaScript</div>
</noscript>
<!-- JS --> <!-- JS -->
<script type="text/javascript" src="./js/main.js"></script> <script type="text/javascript" src="./js/main.js"></script>
<script type="text/javascript" src="./js/time.js"></script> <script type="text/javascript" src="./js/time.js"></script>