mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 18:01:24 +08:00
8583c70fdc
* feat(theme-chalk): use @use instead of @import & remove /**/ comment * refactor(theme-chalk): refactor scss with @use module * fix(docs): scss in docs toggle to '@use' * docs: add custom theme on demand * docs: add unplugin-element-plus
32 lines
650 B
SCSS
32 lines
650 B
SCSS
@use './mixins' as *;
|
|
@use './content/doc-content';
|
|
@use './content/hero-content';
|
|
|
|
.page-content {
|
|
@include respond-to('lg') {
|
|
padding-top: var(--nav-height);
|
|
|
|
&.has-sidebar {
|
|
padding-left: var(--sidebar-width-sm);
|
|
@include respond-to('xlg') {
|
|
padding-left: var(--sidebar-width-md);
|
|
}
|
|
@include respond-to('xxl') {
|
|
padding-left: calc(
|
|
(100vw - var(--app-max-width)) / 2 + var(--sidebar-width-md)
|
|
);
|
|
}
|
|
}
|
|
}
|
|
|
|
.doc-content a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
.link-icon {
|
|
margin-left: 0.25rem;
|
|
height: 1em;
|
|
width: 1em;
|
|
}
|
|
}
|
|
}
|