koel/resources/assets/css/partials/shared.pcss

63 lines
1.1 KiB
Text
Raw Normal View History

2024-04-04 22:20:42 +00:00
@tailwind base;
2023-04-28 14:08:54 +00:00
2024-04-04 22:20:42 +00:00
@layer base {
h1, h2, h3, h4, h5, h6, blockquote {
@apply text-balance;
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
*::marker {
@apply hidden !important;
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
:root {
color-scheme: dark;
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
::placeholder {
@apply text-black/5;
2023-08-20 22:35:58 +00:00
}
2024-04-04 22:20:42 +00:00
body, html {
@mixin themed-background;
2022-07-04 15:57:08 +00:00
2024-04-04 22:20:42 +00:00
font-family: var(--font-family);
font-size: 13px;
2022-04-15 14:24:30 +00:00
2024-04-04 22:20:42 +00:00
@apply text-k-text-primary font-light leading-6 overflow-hidden;
2022-04-15 14:24:30 +00:00
}
2024-04-04 22:20:42 +00:00
input, select, button, textarea, .btn {
font-family: var(--font-family);
2022-04-15 14:24:30 +00:00
2024-04-04 22:20:42 +00:00
@apply appearance-none border-0 outline-0 text-base font-light;
2022-04-15 14:24:30 +00:00
2024-04-04 22:20:42 +00:00
&:required, &:invalid {
@apply shadow-none;
2022-04-15 14:24:30 +00:00
}
2024-02-25 19:32:53 +00:00
2024-04-04 22:20:42 +00:00
&::-moz-focus-inner {
@apply border-0 !important;
2022-12-30 09:35:15 +00:00
}
}
2024-04-04 22:20:42 +00:00
a {
@apply no-underline text-k-text-primary cursor-pointer hover:text-k-accent focus:text-k-accent;
2022-04-15 17:00:08 +00:00
2024-04-04 22:20:42 +00:00
&:link, &:visited {
@apply text-k-accent;
2022-04-15 17:00:08 +00:00
}
}
2024-04-04 22:20:42 +00:00
:root {
--fade-size: 3rem;
2022-04-15 17:00:08 +00:00
}
button, [role=button] {
@apply touch-manipulation select-none cursor-pointer focus-visible:outline-1 focus-visible:outline-k-accent;
}
* {
@apply focus-visible:ring-0 focus-visible:outline-1 focus-visible:outline-k-accent;
}
2022-04-15 17:00:08 +00:00
}