File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed
Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const {
4545 {
4646 showGithubButton && (
4747 <Button
48- class = { ` btn btn--primary gh-button fade-in--pure min-w-[115px] ` }
48+ class = { ` btn btn--primary gh-button fade-in--pure min-w-[115px] md:hidden lg:inline-flex ` }
4949 data-reveal = " fade-in--pure--visible"
5050 data-reveal-delay = " 100"
5151 data-reveal-immediate = " true"
Original file line number Diff line number Diff line change 1414 @apply font-primary;
1515 }
1616
17- /* Restore crucial styles from Tailwind Preflight: https://tailwindcss.com/docs/preflight */
18- /* Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) */
1917 * ,
2018 ::after ,
2119 ::before {
4644 [x-cloak ] {
4745 @apply hidden;
4846 }
47+ .sl-markdown-content {
48+ ul : not ([role='tablist']),
49+ ol:not([role='tablist']) {
50+ @apply mb-4! space-y-2.5! pl-6 ! leading- [1.5 ];
51+ }
52+
53+ ul : not ([role='tablist']) {
54+ @apply list-disc;
55+ }
56+
57+ ol : not ([role='tablist']) {
58+ @apply list-decimal;
59+ }
60+
61+ li : not (.tab ) {
62+ @apply [& > p : only - child]: mb-0!;
63+ }
64+ }
4965}
5066
5167@layer utilities {
253269 @apply mt-0 mb-4;
254270 }
255271 li {
272+ @apply leading-[18px ];
256273 summary {
257274 @apply p-0 hover:text-(--sl-color-text-accent );
258275 .large {
273290
274291 li {
275292 @apply ml-0 border-l-0 pl-0;
276- @apply mb-[6 px ];
293+ @apply mb-[5 px ];
277294
278295 a {
279- @apply p-0 text-[13px ] leading-[16px ] text- (--sl-color-text ) hover:text-(--sl-color-text-accent );
296+ @apply p-0 pr-5 text-[13px ] leading-[16px ] text- (--sl-color-text )/ 80 hover:text-(--sl-color-text-accent );
297+
298+ span {
299+ @apply leading-[18px ];
300+ }
280301 }
281302
282303 a [aria-current = 'page' ] {
362383
363384 ul {
364385 li {
365- @apply mb-[6 px ];
386+ @apply mb-[5 px ];
366387 a {
367- @apply p-0 text-[13px ] leading-[16 px ] text- (--sl-color-text ) hover:text-(--sl-color-text-accent );
388+ @apply p-0 text-[13px ] leading-[18 px ] text- (--sl-color-text ) hover:text-(--sl-color-text-accent );
368389 }
369390 }
391+ ul {
392+ @apply mt-[5px ];
393+ }
370394 }
371395 }
372396 .right-sidebar-panel : global (: where (a )) {
You can’t perform that action at this time.
0 commit comments