Monorepo for Tangled tangled.org

docs: fix search input styles and dark mode

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

anirudh.fi ddd98867 9d516aae

verified
+24
+24
docs/styles.css
··· 1 + :root { 2 + --pagefind-ui-scale: 0.875 !important; 3 + --pagefind-ui-border-width: 1px !important; 4 + --pagefind-ui-border-radius: 4px !important; 5 + --pagefind-ui-border: #d1d5db !important; 6 + --pagefind-ui-background: #f9fafb !important; 7 + --pagefind-ui-text: #111827 !important; 8 + --pagefind-ui-primary: #6b7280 !important; 9 + --pagefind-ui-font: inherit !important; 10 + } 11 + 12 + .pagefind-ui__search-input { 13 + font-weight: normal !important; 14 + } 15 + 16 + @media (prefers-color-scheme: dark) { 17 + :root { 18 + --pagefind-ui-border: #4b5563 !important; 19 + --pagefind-ui-background: #1f2937 !important; 20 + --pagefind-ui-text: #f9fafb !important; 21 + --pagefind-ui-primary: #9ca3af !important; 22 + } 23 + } 24 + 1 25 @media (max-width: 768px) { 2 26 .pagefind-ui__result-thumb { 3 27 width: 0 !important;