Compare commits
2 Commits
7b978cac43
...
649b8a0da4
| Author | SHA1 | Date | |
|---|---|---|---|
| 649b8a0da4 | |||
| 407c995d9f |
@@ -30,7 +30,11 @@
|
|||||||
-->
|
-->
|
||||||
<title>{{ title }}</title>
|
<title>{{ title }}</title>
|
||||||
|
|
||||||
|
<script>document.documentElement.className = 'js-enabled';</script>
|
||||||
<style>
|
<style>
|
||||||
|
.js-enabled .static-content {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
html {
|
html {
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
}
|
}
|
||||||
@@ -41,7 +45,20 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
<script>
|
||||||
|
(function() {
|
||||||
|
try {
|
||||||
|
var theme = localStorage.getItem('theme');
|
||||||
|
if (theme === 'dark') {
|
||||||
|
document.body.style.backgroundColor = '#1a1a1a';
|
||||||
|
} else if (theme === 'black' || theme === 'red') {
|
||||||
|
document.body.style.backgroundColor = '#000';
|
||||||
|
}
|
||||||
|
} catch (e) {}
|
||||||
|
})();
|
||||||
|
</script>
|
||||||
<div id="root">
|
<div id="root">
|
||||||
|
<div class="static-content">
|
||||||
<div class="container menu">
|
<div class="container menu">
|
||||||
<p>
|
<p>
|
||||||
<a href="/">QotNews</a>
|
<a href="/">QotNews</a>
|
||||||
@@ -134,6 +151,7 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<!--
|
<!--
|
||||||
This HTML file is a template.
|
This HTML file is a template.
|
||||||
If you open it directly in the browser, you will see an empty page.
|
If you open it directly in the browser, you will see an empty page.
|
||||||
|
|||||||
Reference in New Issue
Block a user