Skip to content

Commit 2fe1fb5

Browse files
author
davis.zheng
committed
1. 字体大小优化
2. 更换logo和favicon 3. 底部链接 4. 去除顶部右侧链接
1 parent e3d979a commit 2fe1fb5

22 files changed

+143
-72
lines changed

_config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ text_skin: default # "default" (default), "dark", "forest", "ocean", "chocolate"
2020
highlight_theme: default # "default" (default), "tomorrow", "tomorrow-night", "tomorrow-night-eighties", "tomorrow-night-blue", "tomorrow-night-bright"
2121
url : # the base hostname & protocol for your site e.g. https://www.someone.com
2222
baseurl : # does not include hostname
23-
title : US3
23+
title : 首页
2424
description: > # this means to ignore newlines until "Language & timezone"
2525
Your Site Description
2626
@@ -159,7 +159,7 @@ pageview:
159159
## => Search
160160
##############################
161161
search:
162-
provider: default # "default" (default), false, "google", "custom"
162+
provider: false # "default" (default), false, "google", "custom"
163163

164164
## Google Custom Search Engine
165165
google:
@@ -213,7 +213,7 @@ defaults:
213213
values:
214214
layout: article
215215
sharing: true
216-
license: true
216+
license: false
217217
aside:
218218
toc: true
219219
show_edit_on_github: false

_data/locale.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ en: &EN
1919
FOLLOW_US : "Follow us on [NAME]."
2020
EMAIL_ME : "Send me an Email."
2121
EMAIL_US : "Send us an Email."
22-
COPYRIGHT_DATES : "2020"
22+
COPYRIGHT_DATES : "2021"
2323

2424
en-GB:
2525
<<: *EN
@@ -50,7 +50,7 @@ zh-Hans: &ZH_HANS
5050
FOLLOW_US : "在 [NAME] 上关注我们。"
5151
EMAIL_ME : "给我发邮件。"
5252
EMAIL_US : "给我们发邮件。"
53-
COPYRIGHT_DATES : "2020"
53+
COPYRIGHT_DATES : "2021"
5454

5555
zh:
5656
<<: *ZH_HANS
@@ -79,7 +79,7 @@ zh-Hant: &ZH_HANT
7979
FOLLOW_US : "在 [NAME] 上關注我們。"
8080
EMAIL_ME : "給我發郵件。"
8181
EMAIL_US : "給我們發郵件。"
82-
COPYRIGHT_DATES : "2020"
82+
COPYRIGHT_DATES : "2021"
8383

8484
zh-TW:
8585
<<: *ZH_HANT
@@ -106,7 +106,7 @@ ko: &KO
106106
FOLLOW_US : "[NAME]에서 팔로우하기"
107107
EMAIL_ME : "이메일 보내기"
108108
EMAIL_US : "이메일 보내기"
109-
COPYRIGHT_DATES : "2020"
109+
COPYRIGHT_DATES : "2021"
110110

111111
ko-KR:
112112
<<: *KO
@@ -131,7 +131,7 @@ fr: &FR
131131
FOLLOW_US : "Suivez-nous sur [NAME]."
132132
EMAIL_ME : "Envoyez-moi un courriel."
133133
EMAIL_US : "Envoyez-nous un courriel"
134-
COPYRIGHT_DATES : "2020"
134+
COPYRIGHT_DATES : "2021"
135135
DONATE : "Faites un don de [NAME]."
136136

137137
fr-BE:

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<div>
2929
{%- include snippets/get-locale-string.html key='COPYRIGHT_DATES' -%}
3030
{%- assign _locale_copyright_dates = __return -%}
31-
© {{ site.title }} {{ _locale_copyright_dates }},
31+
© US3 {{ _locale_copyright_dates }},
3232
Powered by <a title="Jekyll is a simple, blog-aware, static site generator." href="http://jekyllrb.com/">Jekyll</a> & <a
3333
title="TeXt is a super customizable Jekyll theme." href="https://github.com/kitian616/jekyll-TeXt-theme">TeXt Theme</a>.
3434
</div>

_includes/header.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<nav class="navigation">
2424
<ul>
2525
{%- for _item in site.data.navigation.header -%}
26-
{%- include snippets/get-nav-url.html path=_item.url -%}
26+
<!-- {%- include snippets/get-nav-url.html path=_item.url -%}
2727
{%- assign _nav_url = __return -%}
2828
{%- include snippets/get-nav-url.html path=page.url -%}
2929
{%- assign _page_url = __return -%}
@@ -32,7 +32,7 @@
3232
<li class="navigation__item navigation__item--active"><a href="{{ _nav_url }}">{%- if _item.title -%}{{ _item.title }}{%- else -%}{{ __return }}{%- endif -%}</a></li>
3333
{%- else -%}
3434
<li class="navigation__item"><a href="{{ _nav_url }}">{%- if _item.title -%}{{ _item.title }}{%- else -%}{{ __return }}{%- endif -%}</a></li>
35-
{%- endif -%}
35+
{%- endif -%} -->
3636
{%- endfor -%}
3737
{%- if site.search.provider -%}
3838
<li><button class="button button--secondary button--circle search-button js-search-toggle"><i class="fas fa-search"></i></button></li>

_includes/svg/logo.svg

Lines changed: 18 additions & 7 deletions
Loading

_sass/common/_reset.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ pre, code {
137137
}
138138

139139
code {
140-
font-size: map-get($base, font-size-xs);
140+
font-size: map-get($base, font-size);
141141
line-height: map-get($base, line-height-sm);
142142
}
143143

@@ -146,7 +146,7 @@ figure > img {
146146
}
147147

148148
figcaption {
149-
font-size: map-get($base, font-size-sm);
149+
font-size: map-get($base, font-size);
150150
}
151151

152152
button {

_sass/common/components/_item.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,22 @@ a > .item__header, a.item__header, .item__header > a {
5252
border: none;
5353
}
5454
h1 {
55-
font-size: map-get($base, font-size-h1-xs);
55+
font-size: map-get($base, font-size-h1);
5656
}
5757
h2 {
58-
font-size: map-get($base, font-size-h2-xs);
58+
font-size: map-get($base, font-size-h2);
5959
}
6060
h3 {
61-
font-size: map-get($base, font-size-h3-xs);
61+
font-size: map-get($base, font-size-h3);
6262
}
6363
h4 {
64-
font-size: map-get($base, font-size-h4-xs);
64+
font-size: map-get($base, font-size-h4);
6565
}
6666
h5 {
67-
font-size: map-get($base, font-size-h5-xs);
67+
font-size: map-get($base, font-size-h5);
6868
}
6969
h6 {
70-
font-size: map-get($base, font-size-h6-xs);
70+
font-size: map-get($base, font-size-h6);
7171
}
7272
img {
7373
max-height: 32rem;

_sass/common/components/_toc.scss

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ul.toc {
4444
margin-bottom: map-get($spacers, 2);
4545
color: $text-color-d;
4646
&, a {
47-
font-size: map-get($base, font-size-sm);
47+
font-size: map-get($base, font-size-xs);
4848
font-weight: map-get($base, font-weight-bold);
4949
line-height: map-get($base, line-height-sm);
5050
}
@@ -75,12 +75,31 @@ ul.toc {
7575
}
7676
}
7777

78+
// 右侧侧边栏-文章目录
7879
ul.toc--ellipsis {
7980
& > li {
8081
@include overflow(hidden);
8182
text-overflow: ellipsis;
8283
white-space: nowrap;
8384
}
85+
.toc-h1 {
86+
&, a {
87+
font-size:1rem;
88+
89+
}
90+
}
91+
.toc-h2 {
92+
&, a {
93+
font-size:.9rem;
94+
95+
}
96+
}
97+
.toc-h3 {
98+
&, a {
99+
font-size:.8rem;
100+
101+
}
102+
}
84103
}
85104

86105
ul.toc--navigator {
@@ -106,7 +125,7 @@ ul.toc--navigator {
106125
}
107126
.toc-h1 {
108127
&, a {
109-
font-size: map-get($base, font-size);
128+
font-size: map-get($base, font-size-lg);
110129
line-height: map-get($base, line-height);
111130
}
112131
color: $text-color;
@@ -116,9 +135,14 @@ ul.toc--navigator {
116135
}
117136
.toc-h2 {
118137
&, a {
119-
font-size: map-get($base, font-size-sm);
138+
font-size: map-get($base, font-size);
120139
font-weight: map-get($base, font-weight-bold);
121140
line-height: map-get($base, line-height-sm);
122141
}
123142
}
143+
.toc-h3 {
144+
&, a {
145+
font-size: .9rem;
146+
}
147+
}
124148
}

assets/android-chrome-192x192.png

-6.52 KB
Binary file not shown.

assets/android-chrome-512x512.png

-19 KB
Binary file not shown.

0 commit comments

Comments
 (0)