diff options
| author | Mohamed Bassem <me@mbassem.com> | 2026-01-02 19:21:48 +0000 |
|---|---|---|
| committer | Mohamed Bassem <me@mbassem.com> | 2026-01-02 19:21:48 +0000 |
| commit | f69b35f83d5eeba96140645bbcd52e1a3788f24a (patch) | |
| tree | 684cdf356fa05401d70d3e721ddefe8f4624007d /docs | |
| parent | 016433d48292d6bdd64565a2a03e716abca9f408 (diff) | |
| download | karakeep-f69b35f83d5eeba96140645bbcd52e1a3788f24a.tar.zst | |
fix(docs): remove horizontal scrolling in docs
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/src/css/custom.css | 95 |
1 files changed, 0 insertions, 95 deletions
diff --git a/docs/src/css/custom.css b/docs/src/css/custom.css index 76568be2..9cfc2a44 100644 --- a/docs/src/css/custom.css +++ b/docs/src/css/custom.css @@ -163,19 +163,6 @@ h3 { margin-top: 2rem; } -p { - margin-bottom: 1.25rem; -} - -a { - text-decoration: none; - transition: color var(--transition-fast); -} - -a:hover { - text-decoration: underline; - text-underline-offset: 3px; -} /* ============================================ Navbar @@ -319,7 +306,6 @@ article { .theme-doc-markdown { margin-top: 1rem; max-width: 100%; - overflow-x: auto; } /* Breadcrumbs */ @@ -344,32 +330,6 @@ article { } /* ============================================ - Table of Contents - ============================================ */ -.table-of-contents { - font-size: 0.8125rem; - border-left: 1px solid var(--docs-color-border); - padding-left: 0.75rem; -} - -.table-of-contents__link { - color: var(--ifm-font-color-secondary); - display: block; - padding: 0.375rem 0; - transition: color var(--transition-fast); -} - -.table-of-contents__link:hover, -.table-of-contents__link--active { - color: var(--ifm-color-primary); - text-decoration: none; -} - -.table-of-contents__link--active { - font-weight: 500; -} - -/* ============================================ Code Blocks ============================================ */ code { @@ -572,61 +532,6 @@ li::marker { } /* ============================================ - Version Dropdown - ============================================ */ -.navbar__item.dropdown .navbar__link { - font-size: 0.8125rem; - padding: 0.375rem 0.75rem; - border: 1px solid var(--docs-color-border); - border-radius: 0.375rem; -} - -.dropdown__menu { - border: 1px solid var(--docs-color-border); - border-radius: 0.5rem; - box-shadow: - 0 4px 6px -1px rgba(0, 0, 0, 0.1), - 0 2px 4px -1px rgba(0, 0, 0, 0.06); - padding: 0.5rem; - min-width: 10rem; -} - -[data-theme="dark"] .dropdown__menu { - box-shadow: - 0 4px 6px -1px rgba(0, 0, 0, 0.3), - 0 2px 4px -1px rgba(0, 0, 0, 0.2); -} - -.dropdown__link { - border-radius: 0.375rem; - padding: 0.5rem 0.75rem; - font-size: 0.875rem; - transition: background-color var(--transition-fast); -} - -.dropdown__link:hover { - background-color: var(--ifm-menu-color-background-hover); -} - -.dropdown__link--active { - background-color: var(--ifm-menu-color-background-active); - color: var(--ifm-color-primary); -} - -/* ============================================ - Theme Toggle - ============================================ */ -.navbar__items--right > :last-child { - padding-right: 0; -} - -[data-theme="light"] - .clean-btn[title="Switch between dark and light mode"] - svg { - color: var(--ifm-font-color-secondary); -} - -/* ============================================ Scrollbar Styling ============================================ */ ::-webkit-scrollbar { |
