market/src/components/atoms/File.module.css

21 lines
438 B
CSS

.file {
background: var(--color-secondary);
background-size: 100%;
padding: var(--spacer) calc(var(--spacer) / 2);
margin-right: calc(var(--spacer) / 1.5);
height: 7.5rem;
width: 6rem;
/* cut the corner */
clip-path: polygon(85% 0, 100% 15%, 100% 100%, 0 100%, 0 0);
}
.file li {
font-size: var(--font-size-small);
color: var(--color-white);
}
.file li.empty {
font-size: var(--font-size-mini);
opacity: 0.75;
}