Skip to content

Commit 1cb3085

Browse files
restore list styles
1 parent 9db5394 commit 1cb3085

File tree

1 file changed

+45
-19
lines changed

1 file changed

+45
-19
lines changed

src/css/custom.css

Lines changed: 45 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696
}
9797

9898
@layer base {
99+
99100
*,
100101
*::before,
101102
*::after {
@@ -206,6 +207,7 @@
206207
.breadcrumbs__item--active {
207208
@apply text-sm font-medium text-muted-foreground hover:text-foreground;
208209
}
210+
209211
[class^="breadcrumbHomeIcon_node_modules-@docusaurus-theme-classic-lib-theme-DocBreadcrumbs-Items-Home-styles-module"] {
210212
display: inline-block !important;
211213
}
@@ -247,32 +249,55 @@
247249
}
248250
}
249251

250-
.theme-doc-markdown h1, #__blog-post-container h1 {
251-
@apply text-5xl mb-4;
252+
.theme-doc-markdown h1,
253+
#__blog-post-container h1 {
254+
@apply text-5xl mb-4;
255+
}
256+
257+
.theme-doc-markdown h2,
258+
#__blog-post-container h2 {
259+
@apply text-3xl mb-4;
260+
}
261+
262+
.theme-doc-markdown h3,
263+
#__blog-post-container h3 {
264+
@apply text-2xl mb-4;
252265
}
253266

254-
.theme-doc-markdown h2, #__blog-post-container h2 {
255-
@apply text-3xl mb-4;
267+
.theme-doc-markdown h4,
268+
#__blog-post-container h4 {
269+
@apply text-xl mb-4;
256270
}
257271

258-
.theme-doc-markdown h3, #__blog-post-container h3 {
259-
@apply text-2xl mb-4;
272+
.theme-doc-markdown h5,
273+
#__blog-post-container h5 {
274+
@apply text-base mb-4;
260275
}
261276

262-
.theme-doc-markdown h4, #__blog-post-container h4 {
263-
@apply text-xl mb-4;
277+
.theme-doc-markdown h6,
278+
#__blog-post-container h6 {
279+
@apply text-sm mb-4;
264280
}
265281

266-
.theme-doc-markdown h5, #__blog-post-container h5 {
267-
@apply text-base mb-4;
282+
.theme-doc-markdown ul,
283+
.theme-doc-markdown ol {
284+
@apply mb-6 ml-6 list-inside;
268285
}
269286

270-
.theme-doc-markdown h6, #__blog-post-container h6 {
271-
@apply text-sm mb-4;
287+
.theme-doc-markdown ul {
288+
@apply list-disc;
272289
}
273290

291+
.theme-doc-markdown ol {
292+
@apply list-decimal;
293+
}
274294

275-
.tabs-container > div {
295+
.tabs-container>ul.tabs {
296+
@apply mb-0;
297+
@apply ml-0;
298+
}
299+
300+
.tabs-container>div {
276301
/* rounded bottom corners */
277302
@apply rounded-b-lg p-4 border border-border/70 dark:border-border/60 bg-background dark:bg-card;
278303

@@ -365,15 +390,15 @@ footer.footer--dark .footer__link-item:hover {
365390
display: none !important;
366391
}
367392

368-
.docs-doc-id-ask main > .container {
393+
.docs-doc-id-ask main>.container {
369394
padding: 0 !important;
370395
}
371396

372-
.docs-doc-id-ask article > nav {
397+
.docs-doc-id-ask article>nav {
373398
display: none !important;
374399
}
375400

376-
.docs-doc-id-ask main > .container > .row > .col {
401+
.docs-doc-id-ask main>.container>.row>.col {
377402
max-width: 100% !important;
378403
}
379404

@@ -388,15 +413,16 @@ img.unstyled {
388413
box-shadow: none !important;
389414
}
390415

391-
.theme-doc-markdown a, #__blog-post-container a {
416+
.theme-doc-markdown a,
417+
#__blog-post-container a {
392418
@apply underline;
393419
}
394420

395421
/**
396422
* Page Specific
397423
*/
398424
.theme-doc-markdown .card h2 {
399-
@apply text-2xl;
425+
@apply text-2xl;
400426
}
401427

402428
.navbar__item.navbar__link.navbar__item-get_started {
@@ -408,7 +434,7 @@ code:not([class]),
408434
code[class=""] {
409435
@apply rounded-[0.5rem] bg-muted px-1.5 py-0.5;
410436
}
437+
411438
pre code {
412439
@apply bg-white dark:bg-card dark:border dark:border-solid dark:border-gray-600;
413440
}
414-

0 commit comments

Comments
 (0)