80 lines
1.6 KiB
CSS
80 lines
1.6 KiB
CSS
@import "tailwindcss";
|
|
|
|
@theme {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
}
|
|
|
|
/*
|
|
The default border color has changed to `currentcolor` in Tailwind CSS v4,
|
|
so we've added these compatibility styles to make sure everything still
|
|
looks the same as it did with Tailwind CSS v3.
|
|
|
|
If we ever want to remove these styles, we need to add an explicit border
|
|
color utility to any element that depends on these defaults.
|
|
*/
|
|
@layer base {
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
border-color: var(--color-gray-200, currentcolor);
|
|
}
|
|
}
|
|
|
|
body {
|
|
color: var(--foreground);
|
|
background: var(--background);
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
}
|
|
|
|
.list-wrapper {
|
|
background: var(--main);
|
|
max-height: 80px;
|
|
width: 100%;
|
|
}
|
|
|
|
.list-item {
|
|
display: flex;
|
|
border-radius: 1.125rem;
|
|
}
|
|
|
|
.list-avatar {
|
|
width: 80px;
|
|
height: 80px;
|
|
background-size: cover;
|
|
border-radius: 0; /* rounded-none */
|
|
overflow: hidden;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.list-info {
|
|
flex-shrink: 1;
|
|
padding-left: 0.75rem; /* pl-3 */
|
|
padding-top: 0.5rem; /* pt-2 */
|
|
margin-top: 0.25rem; /* my-1 */
|
|
margin-bottom: 0.25rem; /* my-1 */
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.list-name {
|
|
font-size: 1.25rem; /* text-xl */
|
|
font-weight: 700; /* font-bold */
|
|
margin-top: 0.25rem; /* my-1 */
|
|
margin-bottom: 0.25rem; /* my-1 */
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.transition-shadow {
|
|
transition: box-shadow 0.3s ease-in-out;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
}
|