Skip to content

Commit

Permalink
Modify comment config(js) and modify pre element scrollbar style
Browse files Browse the repository at this point in the history
  • Loading branch information
JoyWonderful committed Mar 23, 2024
1 parent 9e5acc8 commit 0876c07
Show file tree
Hide file tree
Showing 6 changed files with 504 additions and 492 deletions.
4 changes: 3 additions & 1 deletion comments/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<meta property="og:description" content="欢迎留言! 请不要发表有攻击性、迷惑性的言论。请您直接填写昵称、邮箱、网站进行评论。 加载可能较慢,请耐心等待! import &#39;&#x2F;comments&#x2F;waline.js&#39;; Waline.init({ el: &quot;#waline&quot;, path: location.pathname, lang: &quot;zh-CN&quot;,">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-06-01T11:58:58.000Z">
<meta property="article:modified_time" content="2024-02-05T07:40:37.385Z">
<meta property="article:modified_time" content="2024-03-23T01:06:25.006Z">
<meta property="article:author" content="JoyWonderful">
<meta name="twitter:card" content="summary">

Expand Down Expand Up @@ -234,6 +234,8 @@ <h1 class="post-title" itemprop="name headline">留言板
login: "管理员登录",
placeholder: "友善的评论会收获更多美好",
},
emoji: false,
search: false
});
</script>

Expand Down
10 changes: 10 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,7 @@ pre[class*="language-"].line-numbers > code {
}
pre[class*="language-"] {
border-radius: 4px;
position: relative;
}
pre[class*="language-"]::before {
content: attr(data-language);
Expand All @@ -435,6 +436,15 @@ pre[class*="language-"]::before {
top: 5px;
transition: opacity 0.3s, visibility 0.3s;
}
pre[class*="language-"]::-webkit-scrollbar {
height: 6px;
background-color: #dfdfdf;
border-radius: 6px;
}
pre[class*="language-"]::-webkit-scrollbar-thumb {
background-color: #aaa;
border-radius: 6px;
}
.copy-btn {
color: #333;
cursor: pointer;
Expand Down
4 changes: 2 additions & 2 deletions posts/bfs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<meta property="article:published_time" content="2023-07-30T09:43:12.000Z">
<meta property="article:modified_time" content="2023-07-30T08:37:24.091Z">
<meta property="article:author" content="JoyWonderful">
<meta property="article:tag" content="基础算法">
<meta property="article:tag" content="搜索">
<meta property="article:tag" content="队列">
<meta property="article:tag" content="基础算法">
<meta name="twitter:card" content="summary">


Expand Down Expand Up @@ -355,9 +355,9 @@ <h1 class="post-title" itemprop="name headline">

<footer class="post-footer">
<div class="post-tags">
<a href="/tags/%E5%9F%BA%E7%A1%80%E7%AE%97%E6%B3%95/" rel="tag"><i class="fa fa-tag"></i> 基础算法</a>
<a href="/tags/%E6%90%9C%E7%B4%A2/" rel="tag"><i class="fa fa-tag"></i> 搜索</a>
<a href="/tags/%E9%98%9F%E5%88%97/" rel="tag"><i class="fa fa-tag"></i> 队列</a>
<a href="/tags/%E5%9F%BA%E7%A1%80%E7%AE%97%E6%B3%95/" rel="tag"><i class="fa fa-tag"></i> 基础算法</a>
</div>


Expand Down
4 changes: 2 additions & 2 deletions posts/dfs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<meta property="article:published_time" content="2023-07-14T09:18:43.000Z">
<meta property="article:modified_time" content="2024-03-10T11:26:42.535Z">
<meta property="article:author" content="JoyWonderful">
<meta property="article:tag" content="基础算法">
<meta property="article:tag" content="搜索">
<meta property="article:tag" content="基础算法">
<meta property="article:tag" content="递归">
<meta name="twitter:card" content="summary">

Expand Down Expand Up @@ -397,8 +397,8 @@ <h2 id="回溯"><a href="#回溯" class="headerlink" title="回溯"></a>回溯</

<footer class="post-footer">
<div class="post-tags">
<a href="/tags/%E5%9F%BA%E7%A1%80%E7%AE%97%E6%B3%95/" rel="tag"><i class="fa fa-tag"></i> 基础算法</a>
<a href="/tags/%E6%90%9C%E7%B4%A2/" rel="tag"><i class="fa fa-tag"></i> 搜索</a>
<a href="/tags/%E5%9F%BA%E7%A1%80%E7%AE%97%E6%B3%95/" rel="tag"><i class="fa fa-tag"></i> 基础算法</a>
<a href="/tags/%E9%80%92%E5%BD%92/" rel="tag"><i class="fa fa-tag"></i> 递归</a>
</div>

Expand Down
4 changes: 2 additions & 2 deletions posts/stackandqueue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
<meta property="article:published_time" content="2023-07-30T10:56:32.000Z">
<meta property="article:modified_time" content="2023-12-16T07:14:53.609Z">
<meta property="article:author" content="JoyWonderful">
<meta property="article:tag" content="数据结构">
<meta property="article:tag" content="队列">
<meta property="article:tag" content="数据结构">
<meta name="twitter:card" content="summary">


Expand Down Expand Up @@ -301,8 +301,8 @@ <h2 id="栈"><a href="#栈" class="headerlink" title="栈"></a>栈</h2><p><stron

<footer class="post-footer">
<div class="post-tags">
<a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel="tag"><i class="fa fa-tag"></i> 数据结构</a>
<a href="/tags/%E9%98%9F%E5%88%97/" rel="tag"><i class="fa fa-tag"></i> 队列</a>
<a href="/tags/%E6%95%B0%E6%8D%AE%E7%BB%93%E6%9E%84/" rel="tag"><i class="fa fa-tag"></i> 数据结构</a>
</div>


Expand Down
Loading

0 comments on commit 0876c07

Please sign in to comment.