element-plus/docs/.vitepress/vitepress/styles/content/doc-content.scss
云游君 2caac7906e
refactor(docs): adjust style details & fix pages width (#6624)
* refactor(docs): adjust style details

* refactor(docs): add toc width

* refactor(docs): remove unused var

* fix(docs): typography & button etc pages width unify
2022-03-14 23:41:39 +08:00

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;
}
}