mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-15 01:41:20 +08:00
2caac7906e
* refactor(docs): adjust style details * refactor(docs): add toc width * refactor(docs): remove unused var * fix(docs): typography & button etc pages width unify
36 lines
618 B
SCSS
36 lines
618 B
SCSS
@use '../mixins' as *;
|
|
@use './table-of-content';
|
|
|
|
.doc-content-wrapper {
|
|
--vp-content-width: 800px;
|
|
|
|
padding: 32px 24px 96px;
|
|
|
|
.doc-content-container {
|
|
max-width: var(--vp-content-width);
|
|
|
|
.doc-content {
|
|
width: 100%;
|
|
}
|
|
|
|
@include respond-to('xlg') {
|
|
width: var(--vp-content-width);
|
|
}
|
|
|
|
@include respond-to('xxl') {
|
|
width: var(--vp-content-width);
|
|
}
|
|
}
|
|
|
|
@include respond-to('md') {
|
|
padding: 48px 32px 96px;
|
|
}
|
|
@include respond-to('lg') {
|
|
padding: 64px 64px 96px;
|
|
}
|
|
@include respond-to('xlg') {
|
|
padding: 64px 0 96px 64px;
|
|
display: flex;
|
|
}
|
|
}
|