Skip to content

Commit 360f298

Browse files
Deploying to gh-pages from @ dstackai/dstack@77637e2 🚀
1 parent 06f4372 commit 360f298

File tree

2 files changed

+112
-5
lines changed

2 files changed

+112
-5
lines changed

assets/stylesheets/extra.css

Lines changed: 79 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,6 +1491,30 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
14911491

14921492
.md-typeset .tabbed-set {
14931493
margin: 0 -.8rem 0 -0.8rem;
1494+
overflow-x: clip;
1495+
}
1496+
1497+
.md-typeset .tabbed-set > .tabbed-labels {
1498+
display: flex;
1499+
flex-wrap: nowrap;
1500+
width: 100%;
1501+
max-width: 100%;
1502+
overflow-x: auto;
1503+
overflow-y: hidden;
1504+
-webkit-overflow-scrolling: touch;
1505+
box-sizing: border-box;
1506+
}
1507+
1508+
.md-typeset .tabbed-set > .tabbed-labels > label {
1509+
flex: 0 0 auto;
1510+
white-space: nowrap;
1511+
}
1512+
1513+
.md-typeset .tabbed-set > .tabbed-content,
1514+
.md-typeset .tabbed-set > .tabbed-content > .tabbed-block {
1515+
max-width: 100%;
1516+
min-width: 0;
1517+
box-sizing: border-box;
14941518
}
14951519

14961520
.md-typeset div[editor-title] code {
@@ -1499,8 +1523,27 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
14991523
}
15001524

15011525
.md-typeset div[editor-title] {
1502-
margin-left: -0.8rem;
1503-
margin-right: -0.8rem;
1526+
width: 100vw;
1527+
max-width: 100vw;
1528+
margin-left: calc(50% - 50vw);
1529+
margin-right: calc(50% - 50vw);
1530+
}
1531+
1532+
.md-typeset div[editor-title] .highlight,
1533+
.md-typeset div[editor-title] pre,
1534+
.md-typeset div[editor-title] pre > code {
1535+
max-width: 100%;
1536+
min-width: 0;
1537+
box-sizing: border-box;
1538+
}
1539+
1540+
.md-typeset div[editor-title] .highlight {
1541+
margin: 0;
1542+
}
1543+
1544+
.md-typeset div[editor-title] pre {
1545+
overflow-x: auto;
1546+
-webkit-overflow-scrolling: touch;
15041547
}
15051548

15061549
[dir=ltr] .md-typeset :is(.admonition,details) {
@@ -1511,8 +1554,41 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
15111554
background: -webkit-linear-gradient(45deg, rgba(0, 42, 255, 0.1), rgb(0 114 255 / 1%), rgba(0, 42, 255, 0.05)) !important;
15121555
}
15131556

1557+
[dir=ltr] .md-typeset details pre,
1558+
[dir=ltr] .md-typeset details blockquote,
1559+
[dir=ltr] .md-typeset details :is(.admonition,details, .termy) {
1560+
margin-left: 0 !important;
1561+
margin-right: 0 !important;
1562+
}
1563+
1564+
[dir=ltr] .md-typeset details > :is(.md-typeset__scrollwrap,p,h4,h3,.tabbed-set,ul):not(.admonition-title,summary) {
1565+
padding-left: 0 !important;
1566+
padding-right: 0 !important;
1567+
}
1568+
1569+
[dir=ltr] .md-typeset details :is(.md-typeset__scrollwrap,.highlight,.termy,div[editor-title],.tabbed-set,.md-typeset__table) {
1570+
width: calc(100% + 1.6rem);
1571+
max-width: calc(100% + 1.6rem);
1572+
margin-left: -0.8rem !important;
1573+
margin-right: -0.8rem !important;
1574+
box-sizing: border-box;
1575+
}
1576+
1577+
[dir=ltr] .md-typeset details :is(pre,.md-typeset__scrollwrap,.tabbed-labels,.tabbed-content,.highlight,.termy,.md-typeset__table) {
1578+
max-width: 100%;
1579+
min-width: 0;
1580+
box-sizing: border-box;
1581+
overflow-x: auto;
1582+
-webkit-overflow-scrolling: touch;
1583+
}
1584+
1585+
[dir=ltr] .md-typeset details > .tabbed-set {
1586+
margin-left: -0.8rem !important;
1587+
margin-right: -0.8rem !important;
1588+
}
1589+
15141590
[dir=ltr] .md-content__inner>.tabbed-set .tabbed-labels {
1515-
margin-left: 0.8rem;
1591+
margin-left: 0;
15161592
padding-left: 0;
15171593
}
15181594
}

assets/stylesheets/landing.css

Lines changed: 33 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,9 +1079,40 @@
10791079
}
10801080

10811081
@media screen and (max-width: 44.9375em) {
1082+
.tx-landing__major_feature .block.large {
1083+
width: 100%;
1084+
}
1085+
10821086
.code-carousel {
1083-
margin-left: -0.8rem;
1084-
margin-right: -0.8rem;
1087+
width: 100vw;
1088+
max-width: 100vw;
1089+
margin-left: calc(50% - 50vw);
1090+
margin-right: calc(50% - 50vw);
1091+
min-width: 0;
1092+
}
1093+
1094+
.code-carousel__slides,
1095+
.code-carousel__slide,
1096+
.code-carousel .code-carousel__slide[editor-title],
1097+
.code-carousel .code-carousel__slide[editor-title] .highlight,
1098+
.code-carousel .code-carousel__slide[editor-title] pre,
1099+
.code-carousel .code-carousel__slide[editor-title] pre > code,
1100+
.code-carousel .code-carousel__slide > [data-termynal],
1101+
.code-carousel .code-carousel__slide[data-termynal] {
1102+
max-width: 100%;
1103+
min-width: 0;
1104+
box-sizing: border-box;
1105+
}
1106+
1107+
.code-carousel .code-carousel__slide[editor-title] .highlight {
1108+
margin: 0;
1109+
}
1110+
1111+
.code-carousel .code-carousel__slide[editor-title] pre,
1112+
.code-carousel .code-carousel__slide > [data-termynal],
1113+
.code-carousel .code-carousel__slide[data-termynal] {
1114+
overflow-x: auto;
1115+
-webkit-overflow-scrolling: touch;
10851116
}
10861117

10871118
.code-carousel .code-carousel__slide[editor-title] {

0 commit comments

Comments
 (0)