8000 feat: add breadcrumb styles and improve markdown readability #432 by mohd-khan09 · Pull Request #433 · coderabbitai/coderabbit-docs · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension
8000
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 7F42 {
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);
}
Loading
0