Skip to content

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
nahbee10 committed Nov 15, 2024
1 parent c4d1c65 commit 3be58c5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
.theme-doc-toc-mobile {
@apply !hidden;
}
.table-of-contents {
@apply !pl-0;
}
.table-of-contents__link {
@apply !text-light-neutral-2 dark:!text-dark-neutral-2 hover:!text-light-neutral-1 hover:dark:!text-dark-neutral-1 !body-3;
}
Expand All @@ -77,7 +80,7 @@
@apply !flex !flex-col md:!flex-row !w-full !h-auto !gap-y-2 md:!gap-y-0 md:!gap-x-3 !mt-8;
}
.pagination-nav__link {
@apply md:w-full !flex !flex-col !space-y-1 bg-light-accent-2 dark:bg-dark-accent-2 hover:bg-light-accent-2-hovered hover:dark:bg-dark-accent-2-hovered text-light-accent-1 !rounded-lg !p-4 !border-0 !min-h-fit !h-auto;
@apply md:w-1/2 md:!grow-0 !flex !flex-col !space-y-1 bg-light-accent-2 dark:bg-dark-accent-2 hover:bg-light-accent-2-hovered hover:dark:bg-dark-accent-2-hovered text-light-accent-1 !rounded-lg !p-4 !border-0 !min-h-fit !h-auto;
}
.pagination-nav__sublabel {
@apply text-light-accent-1 !body-4 flex flex-row items-center w-fit;
Expand All @@ -89,6 +92,9 @@
.pagination-nav__label::after {
@apply !content-none;
}
.pagination-nav:has(.pagination-nav__link--next):not(:has(.pagination-nav__link--prev)) {
@apply md:!flex-row-reverse;
}
.pagination-nav__link--next > .pagination-nav__sublabel::after {
@apply hidden md:inline-block w-4 h-4 bg-cover content-[""] bg-[url("/img/arrow-right.svg")] ml-2;
}
Expand All @@ -111,5 +117,5 @@
@apply !mono-body-5 !text-light-neutral-1 dark:!text-dark-neutral-1;
}
.col.docItemCol_src-theme-DocItem-Layout-styles-module {
@apply !max-w-full md:max-w-[75%];
@apply sm:!max-w-full md:!max-w-[75%];
}

0 comments on commit 3be58c5

Please sign in to comment.