Files
Folo/apps/renderer/src/styles/base.css
T
2024-11-24 17:12:27 +08:00

54 lines
921 B
CSS

html,
#shadow-html {
--fo-font-family: "SN Pro", system-ui, sans-serif;
}
:root {
--sat: env(safe-area-inset-top);
--sar: env(safe-area-inset-right);
--sab: env(safe-area-inset-bottom);
--sal: env(safe-area-inset-left);
}
* {
-webkit-tap-highlight-color: transparent;
}
html[data-viewport="desktop"],
html[data-viewport="desktop"] body,
html[data-viewport="desktop"] #shadow-html,
html[data-viewport="desktop"] #root {
overscroll-behavior: none;
}
body,
#root {
@apply h-auto lg:h-screen;
@apply cursor-default;
@apply select-none;
/* @apply bg-white; */
@apply font-theme;
@apply print:overflow-auto print:h-auto;
}
:focus-visible {
/* outline: theme(colors.theme.accent.DEFAULT) auto 1px; */
outline: none;
}
button {
cursor: var(--pointer);
}
.prose a {
@apply cursor-pointer;
}
[data-theme="dark"] {
color-scheme: dark;
}
::selection {
@apply bg-accent/80 text-white;
}