mirror of
https://github.com/Wcowin/Mkdocs-Wcowin.git
synced 2025-07-20 17:06:34 +00:00
Merge branch 'main' of https://github.com/Wcowin/Mkdocs-Wcowin
This commit is contained in:
commit
c64885352a
@ -459,6 +459,29 @@ padding: 20px 0;
|
|||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 添加过渡效果 */
|
||||||
|
|
||||||
|
* {
|
||||||
|
transition-property: color, background-color;
|
||||||
|
/* 设置过渡的属性 */
|
||||||
|
transition-duration: 0.3s;
|
||||||
|
/* 设置过渡的时间 */
|
||||||
|
transition-timing-function: cubic-bezier(0.01, 0.34, 0.9, 1.14);
|
||||||
|
/* 设置过渡的缓动函数 */
|
||||||
|
}
|
||||||
|
|
||||||
|
/*取消导航栏的背景色和阴影*/
|
||||||
|
/*因为左右侧导航栏(目录)的开头背景色是独立的,这里特殊处理一下*/
|
||||||
|
@media screen and (min-width: 76.25em) {
|
||||||
|
|
||||||
|
.md-nav--lifted>.md-nav__list>.md-nav__item--active>.md-nav__link,
|
||||||
|
.md-nav--secondary .md-nav__title {
|
||||||
|
background: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/*上面是过渡效果*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -153,7 +153,7 @@ extra:
|
|||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- search #搜索配置
|
- search #搜索配置
|
||||||
# - markdownextradata: {}
|
- markdownextradata: {}
|
||||||
- git-committers:
|
- git-committers:
|
||||||
enabled: !ENV [CI, false]
|
enabled: !ENV [CI, false]
|
||||||
repository: Wcowin/Mkdocs-Wcowin
|
repository: Wcowin/Mkdocs-Wcowin
|
||||||
@ -260,4 +260,3 @@ extra_css:
|
|||||||
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-lite-webfont@1.1.0/style.css #字体
|
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-lite-webfont@1.1.0/style.css #字体
|
||||||
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-tc-webfont@1.0.0/style.css #字体
|
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-tc-webfont@1.0.0/style.css #字体
|
||||||
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css #字体
|
# - https://cdn.jsdelivr.net/npm/lxgw-wenkai-screen-webfont@1.1.0/style.css #字体
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user