Files
decePubClient/Styles/base.css
T

46 lines
1.1 KiB
CSS
Raw Normal View History

/* Port of the old SCSS/base.scss and wwwroot/css/tailwind-override.css. daisyUI's rootcolor module already gives the
page base-100 and base-content. */
@layer base {
:focus-visible {
outline: none;
}
/* The page never scrolls itself (the feed and the pages scroll inside), so a pull past its top would only make a phone
reload the app. Only vertically: a sideways overscroll is the trackpad's back gesture. */
html, body {
overscroll-behavior-y: none;
}
details > summary::-webkit-details-marker {
color: var(--color-base-content);
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-button,
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: var(--neo-strong);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background-color: var(--color-base-content);
}
::selection {
color: var(--color-base-100);
background-color: var(--neo-strong);
}
/* Preflight resets link decoration; links keep their underline, links styled as buttons don't. */
a:not(.btn) {
text-decoration-line: underline;
}
}