Skip to content

Commit 4ec8975

Browse files
committed
spruce up the docs
1 parent 7154fe0 commit 4ec8975

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

docs/intro/intro.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ import DocCardList from "@docusaurus/theme-classic/lib/theme/DocCardList";
99
#  
1010

1111
<div style={{textAlign: "center"}}>
12-
<img src="/img/defang-logo.svg" alt="Defang Logo" style={{width: "200px", marginBottom: "2rem"}} />
12+
<img src="/img/defang-logo.svg" alt="Defang Logo" className="w-48 mb-4 mx-auto" />
1313
<h1>Defang Documentation</h1>
1414
<p>
1515
Defang lets you take your app from Docker Compose to a secure and scalable deployment on your favorite cloud in minutes. Build cloud applications in any language and stack, deploy to your account on your favorite cloud with a single command, and iterate quickly with AI-assisted tooling.
1616
</p>
17+
<div className="h-8"/>
1718
<h2>Getting Started</h2>
1819
<DocCardList
1920
items={[

src/css/custom.css

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -249,27 +249,27 @@
249249
}
250250

251251
.theme-doc-markdown h1 {
252-
@apply text-5xl;
252+
@apply text-5xl mb-4;
253253
}
254254

255255
.theme-doc-markdown h2 {
256-
@apply text-3xl;
256+
@apply text-3xl mb-4;
257257
}
258258

259259
.theme-doc-markdown h3 {
260-
@apply text-2xl;
260+
@apply text-2xl mb-4;
261261
}
262262

263263
.theme-doc-markdown h4 {
264-
@apply text-xl;
264+
@apply text-xl mb-4;
265265
}
266266

267267
.theme-doc-markdown h5 {
268-
@apply text-base;
268+
@apply text-base mb-4;
269269
}
270270

271271
.theme-doc-markdown h6 {
272-
@apply text-sm;
272+
@apply text-sm mb-4;
273273
}
274274

275275

@@ -388,3 +388,14 @@ img.unstyled {
388388
border-radius: 0 !important;
389389
box-shadow: none !important;
390390
}
391+
392+
/**
393+
* Page Specific
394+
*/
395+
[class*="docs-doc-id-intro/intro"] .theme-doc-markdown .card h2 {
396+
@apply text-2xl;
397+
}
398+
399+
.navbar__item.navbar__link.navbar__item-get_started {
400+
@apply hidden sm:block;
401+
}

0 commit comments

Comments
 (0)