|
| 1 | +<!DOCTYPE html> |
| 2 | +<html data-color-mode="light" data-dark-theme="dark" data-light-theme="light" lang="zh-CN"> |
| 3 | +<head> |
| 4 | + <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
| 5 | + <meta name="viewport" content="width=device-width,initial-scale=1.0"> |
| 6 | + <meta http-equiv="X-UA-Compatible" content="IE=edge"> |
| 7 | + <link href='https://mirrors.sustech.edu.cn/cdnjs/ajax/libs/Primer/21.0.7/primer.css' rel='stylesheet' /> |
| 8 | + <script src='https://blog.meekdai.com/Gmeek/plugins/GmeekVercount.js'></script> |
| 9 | + <link rel="icon" href="https://avatars.githubusercontent.com/u/118328311?v=4"><script> |
| 10 | + let theme = localStorage.getItem("meek_theme") || "light"; |
| 11 | + document.documentElement.setAttribute("data-color-mode", theme); |
| 12 | + </script> |
| 13 | +<meta name="description" content="#你好 |
| 14 | +##你好。"> |
| 15 | +<meta property="og:title" content="test测试"> |
| 16 | +<meta property="og:description" content="#你好 |
| 17 | +##你好。"> |
| 18 | +<meta property="og:type" content="article"> |
| 19 | +<meta property="og:url" content="https://panboxuan2013.github.io/post/test-ce-shi.html"> |
| 20 | +<meta property="og:image" content="https://avatars.githubusercontent.com/u/118328311?v=4"> |
| 21 | +<title>test测试</title> |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | +</head> |
| 26 | +<style> |
| 27 | +body{box-sizing: border-box;min-width: 200px;max-width: 900px;margin: 20px auto;padding: 45px;font-size: 16px;font-family: sans-serif;line-height: 1.25;} |
| 28 | +#header{display:flex;padding-bottom:8px;border-bottom: 1px solid var(--borderColor-muted, var(--color-border-muted));margin-bottom: 16px;} |
| 29 | +#footer {margin-top:64px; text-align: center;font-size: small;} |
| 30 | + |
| 31 | +</style> |
| 32 | + |
| 33 | +<style> |
| 34 | +.postTitle{margin: auto 0;font-size:40px;font-weight:bold;} |
| 35 | +.title-right{display:flex;margin:auto 0 0 auto;} |
| 36 | +.title-right .circle{padding: 14px 16px;margin-right:8px;} |
| 37 | +#postBody{border-bottom: 1px solid var(--color-border-default);padding-bottom:36px;} |
| 38 | +#postBody hr{height:2px;} |
| 39 | +#cmButton{height:48px;margin-top:48px;} |
| 40 | +#comments{margin-top:64px;} |
| 41 | +.g-emoji{font-size:24px;} |
| 42 | +@media (max-width: 600px) { |
| 43 | + body {padding: 8px;} |
| 44 | + .postTitle{font-size:24px;} |
| 45 | +} |
| 46 | + |
| 47 | +</style> |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | +<body> |
| 53 | + <div id="header"> |
| 54 | +<h1 class="postTitle">test测试</h1> |
| 55 | +<div class="title-right"> |
| 56 | + <a href="https://panboxuan2013.github.io" id="buttonHome" class="btn btn-invisible circle" title="首页"> |
| 57 | + <svg class="octicon" width="16" height="16"> |
| 58 | + <path id="pathHome" fill-rule="evenodd"></path> |
| 59 | + </svg> |
| 60 | + </a> |
| 61 | + |
| 62 | + <a href="https://github.com/panboxuan2013/panboxuan2013.github.io/issues/2" target="_blank" class="btn btn-invisible circle" title="Issue"> |
| 63 | + <svg class="octicon" width="16" height="16"> |
| 64 | + <path id="pathIssue" fill-rule="evenodd"></path> |
| 65 | + </svg> |
| 66 | + </a> |
| 67 | + |
| 68 | + |
| 69 | + <a class="btn btn-invisible circle" onclick="modeSwitch();" title="切换主题"> |
| 70 | + <svg class="octicon" width="16" height="16" > |
| 71 | + <path id="themeSwitch" fill-rule="evenodd"></path> |
| 72 | + </svg> |
| 73 | + </a> |
| 74 | + |
| 75 | +</div> |
| 76 | +</div> |
| 77 | + <div id="content"> |
| 78 | +<div class="markdown-body" id="postBody"><p>#你好<br> |
| 79 | +##你好</p></div> |
| 80 | +<div style="font-size:small;margin-top:8px;float:right;">转载请注明出处</div> |
| 81 | + |
| 82 | +<button class="btn btn-block" type="button" onclick="openComments()" id="cmButton">评论</button> |
| 83 | +<div class="comments" id="comments"></div> |
| 84 | + |
| 85 | +</div> |
| 86 | + <div id="footer"><div id="footer1">Copyright © <span id="copyrightYear"></span> <a href="https://panboxuan2013.github.io">panboxuan2013的blog</a></div> |
| 87 | +<div id="footer2"> |
| 88 | + <span id="runday"></span><span>Powered by <a href="https://meekdai.com/Gmeek.html" target="_blank">Gmeek</a></span> |
| 89 | +</div> |
| 90 | + |
| 91 | +<script> |
| 92 | +var now=new Date(); |
| 93 | +document.getElementById("copyrightYear").innerHTML=now.getFullYear(); |
| 94 | + |
| 95 | +if("12/09/2024"!=""){ |
| 96 | + var startSite=new Date("12/09/2024"); |
| 97 | + var diff=now.getTime()-startSite.getTime(); |
| 98 | + var diffDay=Math.floor(diff/(1000*60*60*24)); |
| 99 | + document.getElementById("runday").innerHTML="网站运行"+diffDay+"天"+" • "; |
| 100 | +} |
| 101 | +</script></div> |
| 102 | +</body> |
| 103 | +<script> |
| 104 | +var IconList={'sun': 'M8 10.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM8 12a4 4 0 100-8 4 4 0 000 8zM8 0a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0V.75A.75.75 0 018 0zm0 13a.75.75 0 01.75.75v1.5a.75.75 0 01-1.5 0v-1.5A.75.75 0 018 13zM2.343 2.343a.75.75 0 011.061 0l1.06 1.061a.75.75 0 01-1.06 1.06l-1.06-1.06a.75.75 0 010-1.06zm9.193 9.193a.75.75 0 011.06 0l1.061 1.06a.75.75 0 01-1.06 1.061l-1.061-1.06a.75.75 0 010-1.061zM16 8a.75.75 0 01-.75.75h-1.5a.75.75 0 010-1.5h1.5A.75.75 0 0116 8zM3 8a.75.75 0 01-.75.75H.75a.75.75 0 010-1.5h1.5A.75.75 0 013 8zm10.657-5.657a.75.75 0 010 1.061l-1.061 1.06a.75.75 0 11-1.06-1.06l1.06-1.06a.75.75 0 011.06 0zm-9.193 9.193a.75.75 0 010 1.06l-1.06 1.061a.75.75 0 11-1.061-1.06l1.06-1.061a.75.75 0 011.061 0z', 'moon': 'M9.598 1.591a.75.75 0 01.785-.175 7 7 0 11-8.967 8.967.75.75 0 01.961-.96 5.5 5.5 0 007.046-7.046.75.75 0 01.175-.786zm1.616 1.945a7 7 0 01-7.678 7.678 5.5 5.5 0 107.678-7.678z', 'sync': 'M1.705 8.005a.75.75 0 0 1 .834.656 5.5 5.5 0 0 0 9.592 2.97l-1.204-1.204a.25.25 0 0 1 .177-.427h3.646a.25.25 0 0 1 .25.25v3.646a.25.25 0 0 1-.427.177l-1.38-1.38A7.002 7.002 0 0 1 1.05 8.84a.75.75 0 0 1 .656-.834ZM8 2.5a5.487 5.487 0 0 0-4.131 1.869l1.204 1.204A.25.25 0 0 1 4.896 6H1.25A.25.25 0 0 1 1 5.75V2.104a.25.25 0 0 1 .427-.177l1.38 1.38A7.002 7.002 0 0 1 14.95 7.16a.75.75 0 0 1-1.49.178A5.5 5.5 0 0 0 8 2.5Z', 'home': 'M6.906.664a1.749 1.749 0 0 1 2.187 0l5.25 4.2c.415.332.657.835.657 1.367v7.019A1.75 1.75 0 0 1 13.25 15h-3.5a.75.75 0 0 1-.75-.75V9H7v5.25a.75.75 0 0 1-.75.75h-3.5A1.75 1.75 0 0 1 1 13.25V6.23c0-.531.242-1.034.657-1.366l5.25-4.2Zm1.25 1.171a.25.25 0 0 0-.312 0l-5.25 4.2a.25.25 0 0 0-.094.196v7.019c0 .138.112.25.25.25H5.5V8.25a.75.75 0 0 1 .75-.75h3.5a.75.75 0 0 1 .75.75v5.25h2.75a.25.25 0 0 0 .25-.25V6.23a.25.25 0 0 0-.094-.195Z', 'github': 'M8 0c4.42 0 8 3.58 8 8a8.013 8.013 0 0 1-5.45 7.59c-.4.08-.55-.17-.55-.38 0-.27.01-1.13.01-2.2 0-.75-.25-1.23-.54-1.48 1.78-.2 3.65-.88 3.65-3.95 0-.88-.31-1.59-.82-2.15.08-.2.36-1.02-.08-2.12 0 0-.67-.22-2.2.82-.64-.18-1.32-.27-2-.27-.68 0-1.36.09-2 .27-1.53-1.03-2.2-.82-2.2-.82-.44 1.1-.16 1.92-.08 2.12-.51.56-.82 1.28-.82 2.15 0 3.06 1.86 3.75 3.64 3.95-.23.2-.44.55-.51 1.07-.46.21-1.61.55-2.33-.66-.15-.24-.6-.83-1.23-.82-.67.01-.27.38.01.53.34.19.73.9.82 1.13.16.45.68 1.31 2.69.94 0 .67.01 1.3.01 1.49 0 .21-.15.45-.55.38A7.995 7.995 0 0 1 0 8c0-4.42 3.58-8 8-8Z'}; |
| 105 | +var utterancesLoad=0; |
| 106 | + |
| 107 | +let themeSettings={ |
| 108 | + "dark": ["dark","moon","#00f0ff","dark-blue"], |
| 109 | + "light": ["light","sun","#ff5000","github-light"], |
| 110 | + "auto": ["auto","sync","","preferred-color-scheme"] |
| 111 | +}; |
| 112 | +function changeTheme(mode, icon, color, utheme){ |
| 113 | + document.documentElement.setAttribute("data-color-mode",mode); |
| 114 | + document.getElementById("themeSwitch").setAttribute("d",value=IconList[icon]); |
| 115 | + document.getElementById("themeSwitch").parentNode.style.color=color; |
| 116 | + if(utterancesLoad==1){utterancesTheme(utheme);} |
| 117 | +} |
| 118 | +function modeSwitch(){ |
| 119 | + let currentMode=document.documentElement.getAttribute('data-color-mode'); |
| 120 | + let newMode = currentMode === "light" ? "dark" : currentMode === "dark" ? "auto" : "light"; |
| 121 | + localStorage.setItem("meek_theme", newMode); |
| 122 | + if(themeSettings[newMode]){ |
| 123 | + changeTheme(...themeSettings[newMode]); |
| 124 | + } |
| 125 | +} |
| 126 | +function utterancesTheme(theme){ |
| 127 | + const message={type:'set-theme',theme: theme}; |
| 128 | + const iframe=document.getElementsByClassName('utterances-frame')[0]; |
| 129 | + iframe.contentWindow.postMessage(message,'https://utteranc.es'); |
| 130 | +} |
| 131 | +if(themeSettings[theme]){changeTheme(...themeSettings[theme]);} |
| 132 | +console.log("\n %c Gmeek last https://github.com/Meekdai/Gmeek \n","padding:5px 0;background:#02d81d;color:#fff"); |
| 133 | +</script> |
| 134 | + |
| 135 | +<script> |
| 136 | +document.getElementById("pathHome").setAttribute("d",IconList["home"]); |
| 137 | +document.getElementById("pathIssue").setAttribute("d",IconList["github"]); |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | +function openComments(){ |
| 142 | + cm=document.getElementById("comments"); |
| 143 | + cmButton=document.getElementById("cmButton"); |
| 144 | + cmButton.innerHTML="loading"; |
| 145 | + span=document.createElement("span"); |
| 146 | + span.setAttribute("class","AnimatedEllipsis"); |
| 147 | + cmButton.appendChild(span); |
| 148 | + |
| 149 | + script=document.createElement("script"); |
| 150 | + script.setAttribute("src","https://utteranc.es/client.js"); |
| 151 | + script.setAttribute("repo","panboxuan2013/panboxuan2013.github.io"); |
| 152 | + script.setAttribute("issue-term","title"); |
| 153 | + |
| 154 | + if(localStorage.getItem("meek_theme")=="dark"){script.setAttribute("theme","dark-blue");} |
| 155 | + else if(localStorage.getItem("meek_theme")=="light") {script.setAttribute("theme","github-light");} |
| 156 | + else{script.setAttribute("theme","preferred-color-scheme");} |
| 157 | + |
| 158 | + script.setAttribute("crossorigin","anonymous"); |
| 159 | + script.setAttribute("async",""); |
| 160 | + cm.appendChild(script); |
| 161 | + |
| 162 | + int=self.setInterval("iFrameLoading()",200); |
| 163 | +} |
| 164 | + |
| 165 | +function iFrameLoading(){ |
| 166 | + var utterances=document.getElementsByClassName('utterances'); |
| 167 | + if(utterances.length==1){ |
| 168 | + if(utterances[0].style.height!=""){ |
| 169 | + utterancesLoad=1; |
| 170 | + int=window.clearInterval(int); |
| 171 | + document.getElementById("cmButton").style.display="none"; |
| 172 | + console.log("utterances Load OK"); |
| 173 | + } |
| 174 | + } |
| 175 | +} |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | +</script> |
| 180 | +<script src='https://blog.meekdai.com/Gmeek/plugins/GmeekTOC.js'></script> |
| 181 | + |
| 182 | +</html> |
0 commit comments