mirror of
https://github.com/netnr/kms
synced 2025-01-21 05:32:13 +00:00
80 lines
2.4 KiB
HTML
80 lines
2.4 KiB
HTML
<!DOCTYPE html>
|
|
<html data-bs-theme="light" class="netnrmd-light">
|
|
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<meta name="keywords" content="KMS,netnr,NET牛人" />
|
|
<meta name="description" content="KMS,netnr,NET牛人">
|
|
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon' />
|
|
<title>KMS</title>
|
|
|
|
<style id="style0">
|
|
body::after {
|
|
position: fixed;
|
|
top: 2vh;
|
|
left: 1vw;
|
|
opacity: .8;
|
|
content: "loading";
|
|
}
|
|
</style>
|
|
<script>
|
|
if (document.cookie.includes(".theme=dark")) {
|
|
document.getElementById("style0").innerHTML += "body { color: #d4d4d4; background-color: #0d1117 }";
|
|
|
|
let domHtml = document.documentElement;
|
|
domHtml.dataset.bsTheme = "dark";
|
|
domHtml.className = domHtml.className.replace('light', 'dark');
|
|
}
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!--menu-->
|
|
<nav class="app-nav" style="display:none;">
|
|
<ul>
|
|
<li><a class="flag-theme" title="Theme"></a></li>
|
|
</ul>
|
|
</nav>
|
|
|
|
<!--main-->
|
|
<div id="app"></div>
|
|
|
|
<link rel="stylesheet" href="https://zme.ink/static/docsify-better/docsify-better.css?202411" />
|
|
|
|
<script>
|
|
window.$docsify = {
|
|
repo: "netnr",
|
|
noEmoji: true,
|
|
auto2top: true,
|
|
subMaxLevel: 3,
|
|
relativePath: true,
|
|
routerMode: "history",
|
|
markdown: {
|
|
renderer: {
|
|
code: function (str, lang) {
|
|
let htm = hljs.getLanguage(lang)
|
|
? hljs.highlight(str, { language: lang }).value
|
|
: hljs.highlightAuto(str).value;
|
|
return `<pre><code>${htm}</code></pre>`;
|
|
}
|
|
}
|
|
},
|
|
plugins: [
|
|
function (hook) {
|
|
// 每次开始解析 Markdown 内容时调用
|
|
hook.beforeEach(function (content) {
|
|
let domMain = document.getElementById("main");
|
|
domMain.classList.add("markdown-body");
|
|
|
|
return content;
|
|
});
|
|
}
|
|
]
|
|
}
|
|
</script>
|
|
|
|
<script src="https://zme.ink/static/docsify-better/docsify-better.js?202411"></script>
|
|
</body>
|
|
|
|
</html> |