Site updated: 2024-06-03 20:31:29

This commit is contained in:
SharwOrange橙夜 2024-06-03 20:31:29 +08:00
parent 80d25a9e97
commit 3ca624e7ce
Signed by: SharwOrange
GPG Key ID: 5507630E4F33F4B1
15 changed files with 526 additions and 417 deletions

151
404.html
View File

@ -1,151 +0,0 @@
<!DOCTYPE html><html lang="zh-CN" data-theme="light"><head><meta charset="UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover"><title>页面没有找到 | SharwOrangeのBlog小屋</title><meta name="author" content="SharwOrange"><meta name="copyright" content="SharwOrange"><meta name="format-detection" content="telephone=no"><meta name="theme-color" content="#ffffff"><meta property="og:type" content="website">
<meta property="og:title" content="SharwOrangeのBlog小屋">
<meta property="og:url" content="https://blog.hope-now.top:8443/404">
<meta property="og:site_name" content="SharwOrangeのBlog小屋">
<meta property="og:locale" content="zh_CN">
<meta property="og:image" content="https://blog.hope-now.top:8443/img/avatar.png">
<meta property="article:author" content="SharwOrange">
<meta name="twitter:card" content="summary">
<meta name="twitter:image" content="https://blog.hope-now.top:8443/img/avatar.png"><link rel="shortcut icon" href="/img/avatar.png"><link rel="canonical" href="https://blog.hope-now.top:8443/404"><link rel="preconnect" href="//cdn.jsdelivr.net"/><link rel="preconnect" href="//busuanzi.ibruce.info"/><link rel="stylesheet" href="/css/index.css?v=4.13.0"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.5.1/css/all.min.css"><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0.33/dist/fancybox/fancybox.min.css" media="print" onload="this.media='all'"><script>const GLOBAL_CONFIG = {
root: '/',
algolia: undefined,
localSearch: undefined,
translate: undefined,
noticeOutdate: undefined,
highlight: {"plugin":"highlight.js","highlightCopy":true,"highlightLang":true,"highlightHeightLimit":false},
copy: {
success: '复制成功',
error: '复制错误',
noSupport: '浏览器不支持'
},
relativeDate: {
homepage: false,
post: false
},
runtime: '',
dateSuffix: {
just: '刚刚',
min: '分钟前',
hour: '小时前',
day: '天前',
month: '个月前'
},
copyright: undefined,
lightbox: 'fancybox',
Snackbar: undefined,
infinitegrid: {
js: 'https://cdn.jsdelivr.net/npm/@egjs/infinitegrid@4.11.1/dist/infinitegrid.min.js',
buttonText: '加载更多'
},
isPhotoFigcaption: false,
islazyload: false,
isAnchor: false,
percent: {
toc: true,
rightside: false,
},
autoDarkmode: false
}</script><script id="config-diff">var GLOBAL_CONFIG_SITE = {
title: '页面没有找到',
isPost: false,
isHome: false,
isHighlightShrink: false,
isToc: false,
postUpdate: '2024-06-03 13:24:43'
}</script><script>(win=>{
win.saveToLocal = {
set: (key, value, ttl) => {
if (ttl === 0) return
const now = Date.now()
const expiry = now + ttl * 86400000
const item = {
value,
expiry
}
localStorage.setItem(key, JSON.stringify(item))
},
get: key => {
const itemStr = localStorage.getItem(key)
if (!itemStr) {
return undefined
}
const item = JSON.parse(itemStr)
const now = Date.now()
if (now > item.expiry) {
localStorage.removeItem(key)
return undefined
}
return item.value
}
}
win.getScript = (url, attr = {}) => new Promise((resolve, reject) => {
const script = document.createElement('script')
script.src = url
script.async = true
script.onerror = reject
script.onload = script.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
script.onload = script.onreadystatechange = null
resolve()
}
Object.keys(attr).forEach(key => {
script.setAttribute(key, attr[key])
})
document.head.appendChild(script)
})
win.getCSS = (url, id = false) => new Promise((resolve, reject) => {
const link = document.createElement('link')
link.rel = 'stylesheet'
link.href = url
if (id) link.id = id
link.onerror = reject
link.onload = link.onreadystatechange = function() {
const loadState = this.readyState
if (loadState && loadState !== 'loaded' && loadState !== 'complete') return
link.onload = link.onreadystatechange = null
resolve()
}
document.head.appendChild(link)
})
win.activateDarkMode = () => {
document.documentElement.setAttribute('data-theme', 'dark')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#0d0d0d')
}
}
win.activateLightMode = () => {
document.documentElement.setAttribute('data-theme', 'light')
if (document.querySelector('meta[name="theme-color"]') !== null) {
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#ffffff')
}
}
const t = saveToLocal.get('theme')
if (t === 'dark') activateDarkMode()
else if (t === 'light') activateLightMode()
const asideStatus = saveToLocal.get('aside-status')
if (asideStatus !== undefined) {
if (asideStatus === 'hide') {
document.documentElement.classList.add('hide-aside')
} else {
document.documentElement.classList.remove('hide-aside')
}
}
const detectApple = () => {
if(/iPad|iPhone|iPod|Macintosh/.test(navigator.userAgent)){
document.documentElement.classList.add('apple')
}
}
detectApple()
})(window)</script><meta name="generator" content="Hexo 6.3.0"></head><body><div id="sidebar"><div id="menu-mask"></div><div id="sidebar-menus"><div class="avatar-img is-center"><img src="/img/avatar.png" onerror="onerror=null;src='/img/friend_404.gif'" alt="avatar"/></div><div class="sidebar-site-data site-data is-center"><a href="/archives/"><div class="headline">文章</div><div class="length-num">3</div></a><a href="/tags/"><div class="headline">标签</div><div class="length-num">0</div></a><a href="/categories/"><div class="headline">分类</div><div class="length-num">0</div></a></div><hr class="custom-hr"/></div></div><div class="error404" id="body-wrap"><header class="not-top-img" id="page-header"><nav id="nav"><span id="blog-info"><a href="/" title="SharwOrangeのBlog小屋"><span class="site-name">SharwOrangeのBlog小屋</span></a></span><div id="menus"><div id="toggle-menu"><a class="site-page" href="javascript:void(0);"><i class="fas fa-bars fa-fw"></i></a></div></div></nav></header><div id="error-wrap"><div class="error-content"><div class="error-img"><img src="https://i.loli.net/2020/05/19/aKOcLiyPl2JQdFD.png" alt="Page not found"></div><div class="error-info"><h1 class="error_title">404</h1><div class="error_subtitle">Page Not Found</div></div></div></div></div><div id="rightside"><div id="rightside-config-hide"><button id="darkmode" type="button" title="浅色和深色模式转换"><i class="fas fa-adjust"></i></button><button id="hide-aside-btn" type="button" title="单栏和双栏切换"><i class="fas fa-arrows-alt-h"></i></button></div><div id="rightside-config-show"><button id="rightside-config" type="button" title="设置"><i class="fas fa-cog fa-spin"></i></button><button id="go-up" type="button" title="回到顶部"><span class="scroll-percent"></span><i class="fas fa-arrow-up"></i></button></div></div><div><script src="/js/utils.js?v=4.13.0"></script><script src="/js/main.js?v=4.13.0"></script><script src="https://cdn.jsdelivr.net/npm/@fancyapps/ui@5.0.33/dist/fancybox/fancybox.umd.min.js"></script><div class="js-pjax"></div><script async data-pjax src="//busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js"></script></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1606,14 +1606,14 @@ blockquote > :last-child {
margin-bottom: 0 !important;
}
:root {
--hl-color: #90a4ae;
--hl-bg: #f6f8fa;
--hltools-bg: #e6ebf1;
--hltools-color: #90a4ae;
--hlnumber-bg: #f6f8fa;
--hlnumber-color: rgba(144,164,174,0.5);
--hlscrollbar-bg: #dce4eb;
--hlexpand-bg: linear-gradient(180deg, rgba(246,248,250,0.6), rgba(246,248,250,0.9));
--hl-color: #eff;
--hl-bg: #212121;
--hltools-bg: #1c1c1c;
--hltools-color: rgba(238,255,255,0.8);
--hlnumber-bg: #212121;
--hlnumber-color: rgba(238,255,255,0.5);
--hlscrollbar-bg: #353535;
--hlexpand-bg: linear-gradient(180deg, rgba(33,33,33,0.6), rgba(33,33,33,0.9));
}
[data-theme='dark'] {
--hl-color: rgba(255,255,255,0.7);
@ -1638,10 +1638,10 @@ figure.highlight pre .addition {
color: #105ede;
}
figure.highlight pre .meta {
color: #7c4dff;
color: #c792ea;
}
figure.highlight pre .comment {
color: rgba(149,165,166,0.8);
color: #969896;
}
figure.highlight pre .variable,
figure.highlight pre .attribute,
@ -1655,10 +1655,10 @@ figure.highlight pre .css .id,
figure.highlight pre .tag .name,
figure.highlight pre .css .class,
figure.highlight pre .css .pseudo {
color: #e53935;
color: #ff5370;
}
figure.highlight pre .tag {
color: #39adb5;
color: #89ddff;
}
figure.highlight pre .number,
figure.highlight pre .preprocessor,
@ -1666,10 +1666,10 @@ figure.highlight pre .literal,
figure.highlight pre .params,
figure.highlight pre .constant,
figure.highlight pre .command {
color: #f76d47;
color: #f78c6c;
}
figure.highlight pre .built_in {
color: #ffb62c;
color: #ffcb6b;
}
figure.highlight pre .ruby .class .title,
figure.highlight pre .css .rules .attribute,
@ -1682,12 +1682,12 @@ figure.highlight pre .xml .cdata,
figure.highlight pre .special,
figure.highlight pre .number,
figure.highlight pre .formula {
color: #91b859;
color: #c3e88d;
}
figure.highlight pre .keyword,
figure.highlight pre .title,
figure.highlight pre .css .hexcolor {
color: #39adb5;
color: #89ddff;
}
figure.highlight pre .function,
figure.highlight pre .python .decorator,
@ -1697,14 +1697,14 @@ figure.highlight pre .ruby .title .keyword,
figure.highlight pre .perl .sub,
figure.highlight pre .javascript .title,
figure.highlight pre .coffeescript .title {
color: #6182b8;
color: #82aaff;
}
figure.highlight pre .tag .attr,
figure.highlight pre .javascript .function {
color: #7c4dff;
color: #c792ea;
}
#article-container figure.highlight .line.marked {
background-color: rgba(128,203,196,0.251);
background-color: rgba(97,97,97,0.314);
}
#article-container figure.highlight table {
display: block;
@ -4241,6 +4241,21 @@ h1.page-title + .tag-cloud-list {
display: none;
}
}
#rightside #go-up .scroll-percent {
display: none;
}
#rightside #go-up.show-percent .scroll-percent {
display: block;
}
#rightside #go-up.show-percent .scroll-percent + i {
display: none;
}
#rightside #go-up:hover .scroll-percent {
display: none;
}
#rightside #go-up:hover .scroll-percent + i {
display: block;
}
#sidebar #menu-mask {
position: fixed;
z-index: 102;
@ -6134,3 +6149,75 @@ blockquote.pullquote.right {
display: none;
background: rgba(0,0,0,0.6);
}
#local-search .search-dialog .local-search-box {
margin: 0 auto;
max-width: 100%;
width: 100%;
}
#local-search .search-dialog .local-search-box input {
padding: 5px 14px;
width: 100%;
outline: none;
border: 2px solid #49b1f5;
border-radius: 40px;
background: var(--search-bg);
color: var(--search-input-color);
-webkit-appearance: none;
}
#local-search .search-dialog .search-wrap {
display: none;
}
#local-search .search-dialog .local-search-hit-item {
position: relative;
padding-left: 24px;
line-height: 1.7;
}
#local-search .search-dialog .local-search-hit-item:hover:before {
border-color: var(--pseudo-hover);
}
#local-search .search-dialog .local-search-hit-item:before {
position: absolute;
top: 0.45em;
left: 0;
width: 0.5em;
height: 0.5em;
border: 3px solid #49b1f5;
border-radius: 0.5em;
background: transparent;
content: '';
line-height: 0.5em;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#local-search .search-dialog .local-search-hit-item a {
display: block;
color: var(--search-a-color);
}
#local-search .search-dialog .local-search-hit-item a:hover {
color: #49b1f5;
}
#local-search .search-dialog .local-search-hit-item .search-result-title {
font-weight: 600;
}
#local-search .search-dialog .local-search-hit-item .search-result {
margin: 0 0 8px;
}
#local-search .search-dialog .search-result-list {
overflow-y: overlay;
margin: 0 -20px;
padding: 0 22px;
max-height: calc(80vh - 200px);
}
@media screen and (max-width: 768px) {
#local-search .search-dialog .search-result-list {
max-height: calc(var(--search-height) - 220px) !important;
}
}
.search-keyword {
background: transparent;
color: #f47466;
font-weight: bold;
}

File diff suppressed because one or more lines are too long

View File

@ -1,31 +0,0 @@
!(function() {
/** 计时起始时间,自行修改 **/
var start = new Date("2023/06/10 00:00:00");
function update() {
var now = new Date();
now.setTime(now.getTime()+250);
days = (now - start) / 1000 / 60 / 60 / 24;
dnum = Math.floor(days);
hours = (now - start) / 1000 / 60 / 60 - (24 * dnum);
hnum = Math.floor(hours);
if(String(hnum).length === 1 ){
hnum = "0" + hnum;
}
minutes = (now - start) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
mnum = Math.floor(minutes);
if(String(mnum).length === 1 ){
mnum = "0" + mnum;
}
seconds = (now - start) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds);
if(String(snum).length === 1 ){
snum = "0" + snum;
}
document.getElementById("timeDate").innerHTML = "本站安全运行&nbsp"+dnum+"&nbsp天";
document.getElementById("times").innerHTML = hnum + "&nbsp小时&nbsp" + mnum + "&nbsp分&nbsp" + snum + "&nbsp秒";
}
update();
setInterval(update, 1000);
})();

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long