Skip to content

Commit 22e6463

Browse files
author
wu-kan
committed
去掉“题解”tag;
页面布局修改,增加页面动画
1 parent 66d700c commit 22e6463

File tree

110 files changed

+359
-118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

110 files changed

+359
-118
lines changed

_config.yml

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
3535
default:
3636
body:
3737
theme-base: theme-base-07 # 可选的主题色包括08~0f,见 <https://github.com/poole/lanyon>
38-
layout-reverse: false # 开启后sidebar在右边,反之左边
39-
sidebar-overlay: false # 开启后正文不随sidebar移动而移动
38+
layout-reverse: true # 开启后sidebar在右边,反之左边
39+
sidebar-overlay: true # 开启后正文不随sidebar移动而移动
4040
append_to_head: # 通过内嵌html的方式引入并定制插件,删改前确定知道自己在做什么。定制插件的方式可以参考这篇文章 <https://wu-kan.cn/_posts/2019-01-18-基于Jekyll搭建个人博客/>
4141
- | #一些页面优化标签,看不懂可跳过
4242
<meta
@@ -157,10 +157,13 @@ jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
157157
- | # 网站背景图片,分竖屏、宽屏;改链接即可,不想用可以把这一项全删掉;要换壁纸图片的话可把url内的部分换成你自己的,比如你放在 /assets/image/background.jpg,那就改成 url(/assets/image/background.jpg)
158158
<style>
159159
.wrap {
160-
min-height: 100vh;
160+
transition-property: all;
161+
transition-duration: .3s;
162+
transition-timing-function: ease-in-out;
163+
min-height: 100%;
161164
display: inline-block;
162-
background-size: 100vw auto;
163-
background-position: center top;
165+
background-size: 100% auto;
166+
background-position: 0% 0%;
164167
background-repeat: no-repeat;
165168
background-attachment: fixed;
166169
background-image: url(https://Mizuno-Ai.wu-kan.cn/pixiv/74559485_p1.webp);
@@ -170,6 +173,14 @@ jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
170173
background-image: url(https://Mizuno-Ai.wu-kan.cn/pixiv/71932901_p0.webp);
171174
}
172175
}
176+
.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
177+
width: calc(100% - 14rem);
178+
background-size: calc(100% - 14rem) auto;
179+
left: 14rem;
180+
}
181+
.layout-reverse.sidebar-overlay #sidebar-checkbox:checked ~ .wrap {
182+
left: 0;
183+
}
173184
</style>
174185
- | # 网站字体
175186
<style>
@@ -433,15 +444,17 @@ jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
433444
padding-top: 1rem;
434445
padding-bottom: 1rem;
435446
box-shadow: 0 0 .75rem rgba(0, 0, 0, 0.1);
436-
background-color: rgba(255, 255, 255, 0.9);
437-
animation: animationAppear 2s;
447+
background-color: rgba(255, 255, 255, 0.95);
448+
animation-duration: 2s;
449+
animation-name: fadeIn;
438450
}
439-
@keyframes animationAppear {
440-
0%,
441-
33% {
451+
@keyframes fadeIn {
452+
from {
442453
opacity: 0;
443454
}
444-
100% {}
455+
to {
456+
opacity: 1;
457+
}
445458
}
446459
</style>
447460
- | # prism代码高亮
@@ -541,7 +554,7 @@ jekyll-theme-WuK: # 我的主题的自定义样式都在这个命名空间
541554
unit:
542555
divided_by: 300 # 正常人的阅读速度大概每分钟三百个字
543556
visitor: # 需要引入并开启valine的visitor选项使之开始计数; 可能会和busuanzi统计的有出入
544-
enable: true
557+
enable: false
545558
alert: <i class="fas fa-book-reader fa-fw"></i>
546559
unit:
547560
tags: # 显示博文标签

_posts/2017-11-23-2017-2018 ACM-ICPC, NEERC, Northern Subregional Contest.md

Lines changed: 0 additions & 1 deletion

_posts/2017-12-13-NVCPC preview contest from Tailmon.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-08-2018 百度之星 程序设计大赛 - 资格赛.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-14-2018 Multi-University Training Contest 1.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-17-2018 Multi-University Training Contest 2.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-18-2018 Multi-University Training Contest 3.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-19-2018 Multi-University Training Contest 4.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-20-2018 Multi-University Training Contest 5.md

Lines changed: 0 additions & 1 deletion

_posts/2018-08-21-2018 Multi-University Training Contest 6.md

Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)