mirror of
https://github.com/Wcowin/Mkdocs-Wcowin.git
synced 2025-07-20 17:06:34 +00:00
Update extra.css
This commit is contained in:
parent
48c46f0eb4
commit
932b1fa4a9
@ -460,21 +460,25 @@ font-size: 30px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 添加过渡效果 */
|
/* 添加过渡效果 */
|
||||||
|
|
||||||
* {
|
* {
|
||||||
transition-property: color, background-color;
|
transition-property: color, background-color;
|
||||||
/* 设置过渡的属性 */
|
/* 设置过渡的属性 */
|
||||||
transition-duration: 0.5s;
|
transition-duration: 0.3s;
|
||||||
/* 设置过渡的时间 */
|
/* 设置过渡的时间 */
|
||||||
transition-timing-function: cubic-bezier(0.01, 0.34, 0.9, 1.14);
|
transition-timing-function: cubic-bezier(0.01, 0.34, 0.9, 1.14);
|
||||||
/* 设置过渡的缓动函数 */
|
/* 设置过渡的缓动函数 */
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 屏蔽过渡效果 */
|
/*取消导航栏的背景色和阴影*/
|
||||||
p,
|
/*因为左右侧导航栏(目录)的开头背景色是独立的,这里特殊处理一下*/
|
||||||
h1,
|
@media screen and (min-width: 76.25em) {
|
||||||
h2,
|
|
||||||
hr {
|
.md-nav--lifted>.md-nav__list>.md-nav__item--active>.md-nav__link,
|
||||||
transition: none !important;
|
.md-nav--secondary .md-nav__title {
|
||||||
|
background: none;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*上面是过渡效果*/
|
/*上面是过渡效果*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user