movie-web/src/setup/index.css

57 lines
1.0 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
2022-02-10 23:45:17 +01:00
html,
body {
2023-01-23 23:01:08 +01:00
@apply bg-denim-100 text-denim-700 font-open-sans overflow-x-hidden;
min-height: 100vh;
min-height: 100dvh;
2022-02-10 23:45:17 +01:00
}
2023-01-23 23:51:40 +01:00
html[data-full], html[data-full] body {
overscroll-behavior-y: none;
}
body[data-no-scroll] {
overflow-y: hidden;
height: 100vh;
}
#root {
2023-01-07 21:36:18 +01:00
padding: 0.05px;
min-height: 100vh;
2023-01-23 23:01:08 +01:00
min-height: 100dvh;
width: 100%;
}
2023-01-08 22:29:38 +01:00
body[data-no-select] {
user-select: none;
}
.roll {
animation: roll 1s;
}
@keyframes roll {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.line-clamp {
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
google-cast-launcher {
@apply pointer-events-auto m-2 text-white flex items-center justify-center p-2;
@apply transition-[background-color,transform] duration-100 rounded-full bg-denim-600 bg-opacity-0 hover:bg-opacity-50 active:bg-denim-500 active:bg-opacity-100 active:scale-110;
}