Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
humingk committed Apr 17, 2022
1 parent b2d2985 commit 13a01e7
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 10 deletions.
6 changes: 0 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ email: [email protected]
# Navigation #
# ---------------- #
navs:
-
href: /
label: 首页

-
href: /categories/
label: 分类

# ---------------- #
# RSS #
Expand Down
18 changes: 18 additions & 0 deletions assets/css/pages/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@
color: #fff
}

blockquote{
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #42b983;
}

.markdown-body blockquote{
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #42b983;
}

.markdown-body a {
color: #42b983;
font-weight: bold;
text-decoration: none;
}

.home .banner .collection-head {
color: #fff;
background: 0 0;
Expand Down
23 changes: 23 additions & 0 deletions assets/css/posts/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@
z-index: 999;
}

blockquote{
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #42b983;
}

.markdown-body blockquote{
padding: 0 1em;
color: #6a737d;
border-left: 0.25em solid #42b983;
}

.markdown-body a {
color: #42b983;
font-weight: bold;
text-decoration: none;
}

.language-plaintext .highlighter-rouge{
color: #d63200;
font-weight: bold;
}

.post-directory {
font-size: 14px;
background: #fff;
Expand Down
2 changes: 1 addition & 1 deletion assets/js/jquery.toc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$.fn.toc = function(options) {
var defaults = {
noBackToTopLinks: false,
title: '文章目录',
title: '目录',
minimumHeaders: 2,
headers: 'h1, h2, h3, h4, h5, h6',
listType: 'ul', // values: [ol|ul]
Expand Down
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="collection-head">
<div class="container">
<div class="collection-title">
<h1 class="collection-header" id="sub-title"><span>{{ site.subtitle }}</span></h1>
<h1 class="collection-header" id="sub-title"><span style="font-size: 35px;">{{ site.subtitle }}</span></h1>
<div class="collection-info">
<span class="meta-info mobile-hidden">
<span class="octicon octicon-location"></span>
Expand Down Expand Up @@ -45,10 +45,10 @@ <h3 class="repo-list-name">
</p>
<p class="repo-list-meta">
<span class="meta-info">
<span class="octicon octicon-calendar"></span> {{ post.date | date: "%Y/%m/%d" }}
<span class="octicon octicon-calendar" style="font-weight: bold;color: #ff9800;"></span> {{ post.date | date: "%Y/%m/%d" }}
</span>
{% for cat in post.categories %}
<span class="meta-info">
<span class="meta-info" style="color: #42b983">
<span class="octicon octicon-file-directory"></span>
<a href="{{ site.url }}/categories/#{{ cat }}" title="{{ cat }}">{{ cat }}</a>
</span>
Expand Down

0 comments on commit 13a01e7

Please sign in to comment.