Skip to content
This repository was archived by the owner on Aug 16, 2025. It is now read-only.

feat: add breadcrumb styles and improve markdown readability #432 #433

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
--ifm-navbar-height: 5rem;
--ifm-font-family-base: "Poppins", "Work Sans", sans-serif;
--ifm-background-color-primary: #f6f6f1;
--ifm-background-color-secondary: #e8e8e8;
--ifm-breadcrumb-item-background-active: #ffe9e2;
}

[data-theme="dark"] {
Expand All @@ -51,6 +53,8 @@
--ifm-color-primary-lightest: #171717;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--ifm-background-color-primary: #171717;
--ifm-background-color-secondary: #232323;
--ifm-breadcrumb-item-background-active: #3f322e;
}

#__docusaurus {
Expand Down Expand Up @@ -102,6 +106,8 @@ a[docid="docs"] > svg {
overflow: hidden;
max-width: 100%;
background: #000;
border-radius: 1rem;
border: 4px solid var(--ifm-background-color-secondary);
}

.video-container iframe {
Expand Down Expand Up @@ -298,3 +304,34 @@ a[docid="docs"] > svg {
.pagination-nav {
display: none;
}
/* ===== MARKDOWN STYLES ===== */
.theme-doc-markdown.markdown {
line-height: 1.8rem;
}
/* ===== BREADCRUMB STYLES ===== */

.breadcrumbs {
display: flex;
gap: 0.5rem;
overflow-x: auto;
white-space: nowrap;
}
.breadcrumbs::-webkit-scrollbar {
display: none;
}
.breadcrumbs__item {
display: flex;
align-items: center;
white-space: nowrap;
gap: 1rem;
}
.breadcrumbs__link {
transition: color 0.2s ease;
background-color: var(--ifm-background-color-secondary);
}

.breadcrumbs__item--active .breadcrumbs__link {
font-weight: 600;
cursor: default;
background-color: var(--ifm-breadcrumb-item-background-active);
}