fix style

This commit is contained in:
RickCole21 2020-10-26 19:29:59 +08:00
parent d594d4ccdd
commit 3a07e94798

View File

@ -6,6 +6,10 @@ body {
background-color: #fff !important; background-color: #fff !important;
&.dark { &.dark {
background-color: #333538 !important; background-color: #333538 !important;
.markdown-body {
color: #fff;
}
} }
} }
@ -322,7 +326,7 @@ a {
.cxd-AsideNav, .cxd-AsideNav,
.dark-AsideNav { .dark-AsideNav {
&-subList { &-subList {
background: #fff; background: transparent;
} }
&-label { &-label {
@ -344,12 +348,6 @@ a {
border-left: px2rem(1px) solid #e8ebee; border-left: px2rem(1px) solid #e8ebee;
position: relative; position: relative;
&Arrow:empty:before {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgOTkgMTc2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgoJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuMTMyODEyLCAwLjMwNDY4OCkiIGZpbGw9ImN1cnJlbnRDb2xvciIgZmlsbC1ydWxlPSJub256ZXJvIj4KCQk8cGF0aCBkPSJNOTUuNjM1MzY5Nyw3OS40MDMxMzQ2IEM5NS4zNDMzNjc4LDc5LjExMTEzMjYgOTUuMDM3NTc1LDc4Ljg0MTcxNTIgOTQuNzIxOTg5MSw3OC41OTA2ODU0IEwxOS44MTkzNzMsMy4yOTk5MzI2MiBDMTUuNjQ5MjAwNCwtMC44NzAwNDAyMzQgOC44ODgxODQzNywtMC44NzAwNDAyMzQgNC43MTgyMTE3MiwzLjI5OTkzMjYyIEMwLjU0ODIzODg2Nyw3LjQ3MDEwNTI3IDAuNTQ4MjM4ODY3LDE0LjIzMDkyMTUgNC43MTgyMTE3MiwxOC40MDEwOTM5IEw3Mi45MzI5NjIxLDg3LjAwNDE4MTEgTDMuMjUzMjA0ODgsMTU2LjYxNzc4MyBDLTAuOTE2NzY3OTY5LDE2MC43ODc5NTYgLTAuOTE2NzY3OTY5LDE2Ny41NDg3NzIgMy4yNTMyMDQ4OCwxNzEuNzE5MTQ0IEM3LjQyMzE3NzczLDE3NS44ODkxMTcgMTQuMTg0MTkzNywxNzUuODg5MTE3IDE4LjM1NDM2NjIsMTcxLjcxOTE0NCBMOTQuNzIxMTg5NSw5NS40MTgwNzY0IEM5NS4wMzY5NzU0LDk1LjE2Njg0NjcgOTUuMzQyOTY4LDk0Ljg5NzYyOTMgOTUuNjM1MTY5Nyw5NC42MDU0MjczIEM5Ny43MzI5NDc1LDkyLjUwNzY0OTYgOTguNzc0NDQxMiw4OS43NTM5MTY2IDk4Ljc2MTU3MzksODcuMDA0MzgwOSBDOTguNzc0NjQxNCw4NC4yNTQ0NDUzIDk3LjczMzE0NzUsODEuNTAwOTEyMyA5NS42MzUzNjk3LDc5LjQwMzEzNDYgWiIgaWQ9Iui3r+W+hCI+CgkJPC9wYXRoPgoJPC9nPgo8L3N2Zz4K);
background-position: center center;
background-repeat: no-repeat;
}
a { a {
font-size: px2rem(14px); font-size: px2rem(14px);
font-weight: 700; font-weight: 700;
@ -395,6 +393,15 @@ a {
} }
} }
} }
.a-AsideNav,
.cxd-AsideNav {
&-itemArrow:empty:before {
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB2aWV3Qm94PSIwIDAgOTkgMTc2IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgoJPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTAuMTMyODEyLCAwLjMwNDY4OCkiIGZpbGw9ImN1cnJlbnRDb2x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
} }
} }
.Doc-navDrawer,
.dark-Layout .Doc { .dark-Layout .Doc {
.Doc-headingList-item a {
color: #fff;
&:hover {
color: #999;
}
}
.dark-AsideNav-item { .dark-AsideNav-item {
> a { > a {
color: #ccc; color: #ccc;
@ -641,6 +642,15 @@ a {
color: #108cee; color: #108cee;
} }
} }
}
.dark-Layout .Doc {
.Doc-headingList-item a {
color: #fff;
&:hover {
color: #999;
}
}
&-footer { &-footer {
.Doc-navLinks--prev, .Doc-navLinks--prev,
@ -657,7 +667,7 @@ a {
} }
.Backtop { .Backtop {
color: #eee; color: #666;
&:hover { &:hover {
color: #108cee; color: #108cee;
} }
@ -666,6 +676,10 @@ a {
.markdown-body pre { .markdown-body pre {
background-color: #282c34; background-color: #282c34;
} }
.dark-AsideNav-label {
color: #ccc;
}
} }
.Backtop { .Backtop {