Compare commits
1 Commits
test
...
feature/ui
| Author | SHA1 | Date | |
|---|---|---|---|
| 69fd40db59 |
@@ -48,6 +48,7 @@ export default defineConfig({
|
|||||||
description: "Документация Beeline Cloud",
|
description: "Документация Beeline Cloud",
|
||||||
head: [['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/bee-favicon.png' }]],
|
head: [['link', { rel: 'icon', type: 'image/png', sizes: '32x32', href: '/bee-favicon.png' }]],
|
||||||
base: typeof new_version !== 'undefined' ? '/' : '/docs/',
|
base: typeof new_version !== 'undefined' ? '/' : '/docs/',
|
||||||
|
appearance: false,
|
||||||
markdown: {
|
markdown: {
|
||||||
config(md) {
|
config(md) {
|
||||||
md.use(tabsMarkdownPlugin)
|
md.use(tabsMarkdownPlugin)
|
||||||
@@ -134,6 +135,11 @@ export default defineConfig({
|
|||||||
outline: {
|
outline: {
|
||||||
label: 'Содержание'
|
label: 'Содержание'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
returnToTopLabel: 'Вернуться к началу',
|
||||||
|
sidebarMenuLabel: 'Меню',
|
||||||
|
skipToContentLabel: 'Перейти к содержимому',
|
||||||
|
|
||||||
sidebar: {
|
sidebar: {
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ $topSpacing: 40px;
|
|||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
background-color: themes.$color-background-secondary;
|
background-color: themes.$color-background-secondary;
|
||||||
padding: 98px 92px;
|
padding: 32px 92px;
|
||||||
border-radius: sizes.$size-border-radius-x6;
|
border-radius: sizes.$size-border-radius-x6;
|
||||||
|
|
||||||
.VPHero.has-image .container {
|
.VPHero.has-image .container {
|
||||||
@@ -142,6 +142,30 @@ $topSpacing: 40px;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (max-width: 959px) {
|
||||||
|
.main .name,
|
||||||
|
.main .text {
|
||||||
|
font-size: 40px;
|
||||||
|
line-height: 48px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
.main {
|
||||||
|
padding: 32px 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .name,
|
||||||
|
.main .text {
|
||||||
|
font-size: clamp(28px, 8vw, 34px);
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.main .name {
|
||||||
|
padding-bottom: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.clip {
|
.clip {
|
||||||
background: var(--color-gradient-magma);
|
background: var(--color-gradient-magma);
|
||||||
-webkit-background-clip: text;
|
-webkit-background-clip: text;
|
||||||
|
|||||||
@@ -75,6 +75,10 @@ const handleClick = (event: Event) => {
|
|||||||
max-width: 344px;
|
max-width: 344px;
|
||||||
padding: sizes.$size-spacing-x8 sizes.$size-spacing-x6;
|
padding: sizes.$size-spacing-x8 sizes.$size-spacing-x6;
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
max-width: none;
|
||||||
|
}
|
||||||
|
|
||||||
&WithScroll {
|
&WithScroll {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@@ -96,6 +100,11 @@ const handleClick = (event: Event) => {
|
|||||||
@include mixin.h4;
|
@include mixin.h4;
|
||||||
color: themes.$color-text-active;
|
color: themes.$color-text-active;
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 26px;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: themes.$color-text-link;
|
color: themes.$color-text-link;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,5 +22,20 @@ const { frontmatter } = useData()
|
|||||||
max-width: 1080px;
|
max-width: 1080px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
margin-bottom: 80px;
|
margin-bottom: 80px;
|
||||||
|
|
||||||
|
@media (max-width: 1080px) {
|
||||||
|
padding-left: 24px;
|
||||||
|
padding-right: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 959px) {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
gap: sizes.$size-spacing-x6;
|
||||||
|
margin-bottom: 48px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -55,12 +55,25 @@ defineProps<{
|
|||||||
@include mixin.h4();
|
@include mixin.h4();
|
||||||
color: themes.$color-text-active;
|
color: themes.$color-text-active;
|
||||||
margin-bottom: sizes.$size-spacing-x6;
|
margin-bottom: sizes.$size-spacing-x6;
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
font-size: 20px;
|
||||||
|
line-height: 26px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&Links {
|
&Links {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
gap: sizes.$size-spacing-x6;
|
gap: sizes.$size-spacing-x6;
|
||||||
|
|
||||||
|
@media (max-width: 959px) {
|
||||||
|
grid-template-columns: repeat(2, 1fr);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
grid-template-columns: 1fr;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&Link {
|
&Link {
|
||||||
|
|||||||
@@ -25,11 +25,22 @@ const { frontmatter } = useData()
|
|||||||
max-width: 1080px;
|
max-width: 1080px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
|
||||||
|
@media (max-width: 1080px) {
|
||||||
|
padding-left: 24px;
|
||||||
|
padding-right: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
&Title {
|
&Title {
|
||||||
@include mixin.h2;
|
@include mixin.h2;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
color: themes.$color-text-active;
|
color: themes.$color-text-active;
|
||||||
|
|
||||||
|
@media (max-width: 639px) {
|
||||||
|
font-size: 24px;
|
||||||
|
line-height: 30px;
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&List {
|
&List {
|
||||||
|
|||||||
@@ -24,27 +24,27 @@
|
|||||||
|
|
||||||
// Titles
|
// Titles
|
||||||
h1 {
|
h1 {
|
||||||
@include font_style(44px, 500, 56px, 0.3px);
|
@include font_style(26px, 500, 32px, 0.3px);
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
@include font_style(26px, 500, 32px, 0.2px);
|
@include font_style(20px, 500, 28px, 0.2px);
|
||||||
margin: 40px 0 24px;
|
margin: 40px 0 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
@include font_style(26px, 500, 32px, 0.2px);
|
@include font_style(17px, 500, 22px, 0.2px);
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h4 {
|
h4 {
|
||||||
@include font_style(20px, 700, 28px, 0.2px);
|
@include font_style(17px, 700, 22px, 0.2px);
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
h5 {
|
h5 {
|
||||||
@include font_style(17px, 500, 22px, 0.2px);
|
@include font_style(15px, 700, 20px, 0.2px);
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user