added:昼夜模式,毛玻璃特效
This commit is contained in:
1 parent
6d06eeecd5
commit
dfcb0e6edb
9 files changed
+696
-185
No files matched your search
@@ -6,6 +6,21 @@
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ site.Title }}" href="/rss.xml">
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<script>
|
||||
(function () {
|
||||
try {
|
||||
var theme = localStorage.getItem('theme');
|
||||
if (!theme) {
|
||||
if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
|
||||
theme = 'dark';
|
||||
} else {
|
||||
theme = 'light';
|
||||
}
|
||||
}
|
||||
document.documentElement.setAttribute('data-theme', theme);
|
||||
} catch (e) {}
|
||||
})();
|
||||
</script>
|
||||
<!-- Stylesheets -->
|
||||
<link rel='stylesheet' href='/css/main.css'>
|
||||
<link rel="stylesheet" href="/css/normalize.css">
|
||||
@@ -127,4 +142,4 @@
|
||||
<script>console.log("\n %c Amigo Theme %c https://usj.cc \n", "color: #fadfa3; background: #030307; padding:3px; font-size:12px;", "color: #ffffff;background: #16171a; padding: 3px; font-size: 12px;");</script>
|
||||
<meta name="keywords" content="大学,教程,blog,优世界,优设计,博客,大学生博客,生活,文案," />
|
||||
<meta name="template" content="Amigo" />
|
||||
</head>
|
||||
</head>
|
||||
Reference in new issue
Block a user