Skip to content

Commit 5706d69

Browse files
Minor styling changes
1 parent b8ed625 commit 5706d69

File tree

2 files changed

+14
-21
lines changed

2 files changed

+14
-21
lines changed

docs/assets/stylesheets/extra.css

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -782,10 +782,10 @@ body {
782782
}
783783

784784
.md-sidebar--primary .md-nav__item--section.md-nav__item .md-nav__link--active {
785-
border-left: 2.5px solid var(--md-typeset-a-color);
785+
border-left: 3px solid var(--md-typeset-a-color);
786786
color: inherit;
787787
border-image: linear-gradient(8deg, #0048ff, #ce00ff, #ce00ff, #ce00ff) 10;
788-
margin-left: -1.5px;
788+
margin-left: -2px;
789789
font-size: 16.5px;
790790
padding-left: 14px;
791791
}
@@ -857,16 +857,17 @@ body {
857857

858858
.md-nav[data-md-level="2"] > .md-nav__list > .md-nav__item {
859859
/*margin-left: -16px !important;*/
860-
border-left: 0.5px dotted rgba(0, 0, 0, 0.4);
860+
border-left: 0.5px dotted rgba(0, 0, 0, 1);
861861
/*background: red;*/
862+
margin-bottom: 0.5px;
862863
}
863864

864865
.md-nav[data-md-level="3"] > .md-nav__list > .md-nav__item:last-of-type {
865866
margin-bottom: 6px;
866867
}
867868

868869
.md-sidebar--primary .md-nav__link, .md-sidebar--post .md-nav__link {
869-
padding: 4px 15px 4px;
870+
padding: 2px 15px 4px;
870871
margin-top: 0;
871872
}
872873

@@ -991,7 +992,8 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
991992
}
992993

993994
.md-nav--primary .md-nav__list {
994-
padding-bottom: .2rem;
995+
padding-top: .15rem;
996+
padding-bottom: .3rem;
995997
}
996998
}
997999

@@ -1285,9 +1287,8 @@ html .md-footer-meta.md-typeset a:is(:focus,:hover) {
12851287
content: "";
12861288
width: 100%;
12871289
z-index: 1000;
1288-
height: 2.5px;
1289-
bottom: -4.5px;
1290-
border-radius: 2px;
1290+
height: 3px;
1291+
bottom: -5px;
12911292
}
12921293

12931294
.md-tabs[hidden] .md-tabs__link {

docs/overrides/home.html

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -455,22 +455,14 @@ <h2>FAQ</h2>
455455

456456
<div class="tx-faq__item-body">
457457
<p>
458-
<span class="highlight">dstack</span> fully replaces Slurm. Its
459-
<a href="/docs/concepts/tasks" target="_blank">tasks</a> cover job submission, queuing, retries, GPU
460-
health checks, and scheduling for single-node and distributed runs.
458+
Slurm is a battle-tested system with decades of production use in HPC environments.
459+
<span class="highlight">dstack</span> by contrast, is built for modern ML/AI workloads with cloud-native provisioning and a container-first architecture.
460+
While both support distributed training and batch jobs, <span class="highlight">dstack</span>
461+
also natively supports development and production-grade inference.
461462
</p>
462463

463464
<p>
464-
Beyond job scheduling, <span class="highlight">dstack</span> adds
465-
<a href="/docs/dev-environments" target="_blank">dev environments</a> for interactive work,
466-
<a href="/docs/concepts/services" target="_blank">services</a> for production endpoints, and
467-
<a href="/docs/concepts/fleets" target="_blank">fleets</a> that give fine-grained control over
468-
cluster provisioning and placement.
469-
</p>
470-
471-
<p>
472-
You get one platform for development, training, and deployment across cloud, Kubernetes, and
473-
on-prem.
465+
See the <a href="/docs/guides/migration/slurm" target="_blank">migration guide</a> for a detailed comparison.
474466
</p>
475467
</div>
476468
</div>

0 commit comments

Comments
 (0)