mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
4442ca31ec
* chore(docs): update document site style - enhance document site css rules * fix: update docs/.vitepress/vitepress/styles/content/table-of-content.scss Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
38 lines
813 B
SCSS
38 lines
813 B
SCSS
@use './mixins' as *;
|
|
@use './vars' as *;
|
|
@use './content/doc-content';
|
|
@use './content/hero-content';
|
|
|
|
.page-content {
|
|
@include respond-to('lg') {
|
|
padding-top: var(--nav-height);
|
|
|
|
&.has-sidebar {
|
|
padding-left: calc(var(--sidebar-width-sm) + 10px);
|
|
@include respond-to('xlg') {
|
|
padding-left: calc(var(--vp-sidebar-width-small) - $scrollbar-size);
|
|
}
|
|
@include respond-to('xxl') {
|
|
padding-left: calc(
|
|
(100% - var(--vp-screen-max-width)) / 2 +
|
|
var(--vp-sidebar-width-small)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
.doc-content a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
&.vp-link {
|
|
white-space: nowrap;
|
|
word-break: keep-all;
|
|
}
|
|
.link-icon {
|
|
margin-left: 0.25rem;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
}
|
|
}
|