feat: add mobile support

This commit is contained in:
krios2146 2022-10-16 09:34:57 +07:00
parent 26062f0c93
commit 4a465803f4

View file

@ -525,6 +525,18 @@ body {
--shadow-s: none;
--shadow-l: none;
}
.is-mobile.theme-dark {
--color-base-00: #0d1117;
--color-base-10: #161b22;
--color-base-20: #161b22;
--tag-background: hsla(var(--interactive-accent-hsl), 0.2);
--modal-background: var(--background-secondary);
--search-result-background: var(--background-secondary);
--background-modifier-form-field: var(--background-modifier-border);
--background-modifier-cover: rgba(0, 0, 0, 0.5);
--background-modifier-hover: rgba(var(--mono-rgb-100), 0.15);
--settings-home-background: var(--background-primary);
}
/* Tables */
.markdown-rendered th {