From 0881e624e9201678e37102475d8c5e342daa69c6 Mon Sep 17 00:00:00 2001 From: zmr Date: Mon, 8 May 2023 11:41:10 +0800 Subject: [PATCH] Site updated: 2023-05-08 11:41:06 --- css/link.css | 2 +- css/main.css | 2 +- css/noscript.css | 2 +- css/tag-diy.css | 2 +- js/comments.js | 16 ++++++++-------- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/css/link.css b/css/link.css index af4f263..82c20e5 100644 --- a/css/link.css +++ b/css/link.css @@ -1,3 +1,3 @@ -/* build time:Mon May 08 2023 11:31:01 GMT+0800 (GMT+08:00)*/ +/* build time:Mon May 08 2023 11:40:36 GMT+0800 (GMT+08:00)*/ .links-content{margin-top:1rem}.link-navigation::after{content:" ";display:block;clear:both}.card{width:130px;font-size:1rem;padding:0;border-radius:4px;transition-duration:.15s;margin-bottom:1rem;display:block;float:left;box-shadow:0 2px 6px 0 rgba(0,0,0,.12);background:#f5f5f5}.card{margin-left:16px}@media(max-width:567px){.card{margin-left:16px;width:calc((100% - 16px)/ 2)}.card:nth-child(2n+1){margin-left:0}.card:not(:nth-child(2n+1)){margin-left:16px}}@media(min-width:567px){.card{margin-left:16px;width:calc((100% - 32px)/ 3)}.card:nth-child(3n+1){margin-left:0}.card:not(:nth-child(3n+1)){margin-left:16px}}@media(min-width:768px){.card{margin-left:16px;width:calc((100% - 48px)/ 4)}.card:nth-child(4n+1){margin-left:0}.card:not(:nth-child(4n+1)){margin-left:16px}}@media(min-width:1200px){.card{margin-left:16px;width:calc((100% - 64px)/ 5)}.card:nth-child(5n+1){margin-left:0}.card:not(:nth-child(5n+1)){margin-left:16px}}.card:hover{transform:scale(1.1);box-shadow:0 2px 6px 0 rgba(0,0,0,.12),0 0 6px 0 rgba(0,0,0,.04)}.card .thumb{width:100%;height:0;padding-bottom:100%;background-size:100% 100%!important}.posts-expand .post-body img{margin:0;padding:0;border:0}.card .card-header{display:block;text-align:center;padding:1rem .25rem;font-weight:500;color:#333;white-space:normal}.card .card-header a{font-style:normal;color:#2bbc8a;font-weight:700;text-decoration:none;border:0}.card .card-header a:hover{color:#d480aa;text-decoration:none;border:0} /* rebuild by neat */ \ No newline at end of file diff --git a/css/main.css b/css/main.css index 1f2da1d..9440da2 100644 --- a/css/main.css +++ b/css/main.css @@ -1,4 +1,4 @@ -/* build time:Mon May 08 2023 11:31:20 GMT+0800 (GMT+08:00)*/ +/* build time:Mon May 08 2023 11:40:56 GMT+0800 (GMT+08:00)*/ :root{--body-bg-color:#eee;--content-bg-color:#fff;--card-bg-color:#f5f5f5;--text-color:#555;--blockquote-color:#666;--link-color:#555;--link-hover-color:#222;--brand-color:#fff;--brand-hover-color:#fff;--table-row-odd-bg-color:#f9f9f9;--table-row-hover-bg-color:#f5f5f5;--menu-item-bg-color:#f5f5f5;--theme-color:#222;--btn-default-bg:#fff;--btn-default-color:#555;--btn-default-border-color:#555;--btn-default-hover-bg:#222;--btn-default-hover-color:#fff;--btn-default-hover-border-color:#222;--highlight-background:#fefbec;--highlight-foreground:#6e6b5e;--highlight-gutter-background:#efecdd;--highlight-gutter-foreground:#7c796c;color-scheme:light}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background:0 0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{outline-offset:-2px;-webkit-appearance:textfield}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{font:inherit;-webkit-appearance:button}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}::selection{background:#262a30;color:#eee}body,html{height:100%}body{background:var(--body-bg-color);box-sizing:border-box;color:var(--text-color);font-family:Lato,'PingFang SC','Microsoft YaHei',sans-serif;font-size:1em;line-height:2;min-height:100%;position:relative;transition:padding .2s ease-in-out}h1,h2,h3,h4,h5,h6{font-family:Lato,'PingFang SC','Microsoft YaHei',sans-serif;font-weight:700;line-height:1.5;margin:30px 0 15px}h1{font-size:1.5em}h2{font-size:1.375em}h3{font-size:1.25em}h4{font-size:1.125em}h5{font-size:1em}h6{font-size:.875em}p{margin:0 0 20px}a{border-bottom:1px solid #999;color:var(--link-color);cursor:pointer;outline:0;text-decoration:none;overflow-wrap:break-word}a:hover{border-bottom-color:var(--link-hover-color);color:var(--link-hover-color)}embed,iframe,img,video{display:block;margin-left:auto;margin-right:auto;max-width:100%}hr{background-image:repeating-linear-gradient(-45deg,#ddd,#ddd 4px,transparent 4px,transparent 8px);border:0;height:3px;margin:40px 0}blockquote{border-left:4px solid #ddd;color:var(--blockquote-color);margin:0;padding:0 15px}blockquote cite::before{content:'-';padding:0 5px}dt{font-weight:700}dd{margin:0;padding:0}.table-container{overflow:auto}table{border-collapse:collapse;border-spacing:0;font-size:.875em;margin:0 0 20px;width:100%}tbody tr:nth-of-type(odd){background:var(--table-row-odd-bg-color)}tbody tr:hover{background:var(--table-row-hover-bg-color)}caption,td,th{padding:8px}td,th{border:1px solid #ddd;border-bottom:3px solid #ddd}th{font-weight:700;padding-bottom:10px}td{border-bottom-width:1px}.btn{background:var(--btn-default-bg);border:2px solid var(--btn-default-border-color);border-radius:2px;color:var(--btn-default-color);display:inline-block;font-size:.875em;line-height:2;padding:0 20px;transition:background-color .2s ease-in-out}.btn:hover{background:var(--btn-default-hover-bg);border-color:var(--btn-default-hover-border-color);color:var(--btn-default-hover-color)}.btn+.btn{margin:0 0 8px 8px}.btn .fa-fw{text-align:left;width:1.285714285714286em}.toggle{line-height:0}.toggle .toggle-line{background:#fff;display:block;height:2px;left:0;position:relative;top:0;transition:all .4s;width:100%}.toggle .toggle-line:first-child{margin-top:1px}.toggle .toggle-line:not(:first-child){margin-top:4px}.toggle.toggle-arrow :first-child{left:50%;top:2px;transform:rotate(45deg);width:50%}.toggle.toggle-arrow :last-child{left:50%;top:-2px;transform:rotate(-45deg);width:50%}.toggle.toggle-close :nth-child(2){opacity:0}.toggle.toggle-close :first-child{top:6px;transform:rotate(45deg)}.toggle.toggle-close :last-child{top:-6px;transform:rotate(-45deg)}/*! Theme: Atelier Dune Light Author: Bram de Haan (http://atelierbramdehaan.nl) diff --git a/css/noscript.css b/css/noscript.css index 82d838f..d0feb80 100644 --- a/css/noscript.css +++ b/css/noscript.css @@ -1,3 +1,3 @@ -/* build time:Mon May 08 2023 11:31:20 GMT+0800 (GMT+08:00)*/ +/* build time:Mon May 08 2023 11:40:56 GMT+0800 (GMT+08:00)*/ body{margin-top:2rem}.use-motion .collection-header,.use-motion .comments,.use-motion .menu-item,.use-motion .pagination,.use-motion .post-block,.use-motion .post-body,.use-motion .post-header,.use-motion .sidebar,.use-motion .sidebar-inner{visibility:visible}.use-motion .column,.use-motion .footer,.use-motion .site-brand-container .toggle{opacity:initial}.use-motion .custom-logo-image,.use-motion .site-subtitle,.use-motion .site-title{opacity:initial;top:initial}.use-motion .logo-line{transform:scaleX(1)}.search-pop-overlay,.sidebar-nav{display:none}.sidebar-panel{display:block}.noscript-warning{background-color:#f55;color:#fff;font-family:sans-serif;font-size:1rem;font-weight:700;left:0;position:fixed;text-align:center;top:0;width:100%;z-index:50} /* rebuild by neat */ \ No newline at end of file diff --git a/css/tag-diy.css b/css/tag-diy.css index 95e210f..4792d5a 100644 --- a/css/tag-diy.css +++ b/css/tag-diy.css @@ -1,3 +1,3 @@ -/* build time:Mon May 08 2023 11:31:01 GMT+0800 (GMT+08:00)*/ +/* build time:Mon May 08 2023 11:40:36 GMT+0800 (GMT+08:00)*/ #post a.link-card{text-decoration:none;margin:.2rem auto;background:var(--tab-botton-bg);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;cursor:pointer;text-align:left;font-size:.575rem;min-width:200px;max-width:361px;color:var(--tab-botton-color);border-radius:8px}@media screen and (max-width:425px){#post a.link-card{max-width:100%}}@media screen and (max-width:375px){#post a.link-card{width:100%}}#post a.link-card:hover{box-shadow:0 4px 8px 0 rgba(0,0,0,.1)}#post a.link-card div.left,#post a.link-card div.right{pointer-events:none}#post a.link-card div.left{width:48px;height:48px;margin:12px;overflow:hidden;-ms-flex-negative:0;flex-shrink:0;position:relative}#post a.link-card div.left i{font-size:32px;line-height:48px;margin-left:4px}#post a.link-card div.left img{display:block;position:absolute;border-radius:8px/4;top:50%;left:50%;transform:translate(-50%,-50%)}#post a.link-card div.right{overflow:hidden;margin-right:12px}#post a.link-card p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#post a.link-card p.text{font-weight:700}#post a.link-card p.url{-ms-flex-negative:0;flex-shrink:0;color:var(--search-input-color);font-size:.7125rem}p.p.h2,span.p.h2{font-size:1.375rem;color:var(--font-color);padding-top:.8rem;border-bottom:1px solid var(--hr-border)}div.timenode{position:relative}div.timenode:after,div.timenode:before{content:"";z-index:1;position:absolute;background:rgba(68,215,182,.5);width:2px;left:7px}div.timenode:before{top:0;height:6px}div.timenode:after{top:26px;height:calc(100% - 26px)}div.timenode:last-child:after{height:calc(100% - 26px - 16px);border-bottom-left-radius:2px;border-bottom-right-radius:2px}div.timenode .meta{position:relative;color:var(--tab-botton-color);font-size:.375rem;line-height:32px;height:32px;left:27px}div.timenode .meta:after,div.timenode .meta:before{content:"";position:absolute;top:8px;z-index:2;left:-27px}div.timenode .meta:before{background:rgba(68,215,182,.5);width:16px;height:16px;border-radius:8px}div.timenode .meta:after{background:#44d7b6;margin-left:2px;margin-top:2px;width:12px;height:12px;border-radius:6px;transform:scale(.5);transition:all .28s ease;-moz-transition:all .28s ease;-webkit-transition:all .28s ease;-o-transition:all .28s ease}div.timenode .meta p{font-weight:700;margin:0 0 0 24px}div.timenode .body{margin:4px 0 16px 24px;padding:16px;border-radius:8px;background:var(--blockquote-bg)}div.timenode .body p:first-child{margin-top:0}div.timenode .body p:last-child{margin-bottom:0}div.timenode:hover .meta{color:var(--text-highlight-color)}div.timenode:hover .meta:before{background:rgba(255,87,34,.5)}div.timenode:hover .meta:after{background:#ff5722;transform:scale(1)} /* rebuild by neat */ \ No newline at end of file diff --git a/js/comments.js b/js/comments.js index 8220b5d..4350e8b 100644 --- a/js/comments.js +++ b/js/comments.js @@ -22,11 +22,11 @@ if (CONFIG.comments.storage) { // 首先获取所有菜单的超链接 let menus = document.querySelectorAll(".site-nav a"); -// 遍历这些超链接对象 -for (let menu of menus) { - // 找到想要操作的超链接对象。例如我在分类页面添加了自定义JS,想要排除分类页面 - if (menu.getAttribute("href")==="/tags/") { - // 修改这个超链接对象的属性值 - menu.setAttribute("data-pjax-state", "unload"); - } -} +// // 遍历这些超链接对象 +// for (let menu of menus) { +// // 找到想要操作的超链接对象。例如我在分类页面添加了自定义JS,想要排除分类页面 +// if (menu.getAttribute("href")==="/tags/") { +// // 修改这个超链接对象的属性值 +// menu.setAttribute("data-pjax-state", "unload"); +// } +// }