Files
website/components/ProducerCard.module.css
T
2026-10-03 23:17:38 +03:30

175 lines
2.3 KiB
CSS

.card {
display: flex;
flex-direction: column;
min-width: 0;
height: fit-content;
align-self: start;
}
.link {
display: flex;
flex-direction: column;
color: inherit;
text-decoration: none;
min-width: 0;
}
.coverWrap {
position: relative;
height: 150px;
overflow: hidden;
border-radius: 5px 5px 0 0;
}
.cover {
object-fit: cover;
}
.body {
position: relative;
border: 1px solid var(--color-card);
border-top: 0;
border-radius: 0 0 5px 5px;
padding: 0 16px 14px;
}
.info {
position: relative;
z-index: 1;
margin-top: -36px;
background: var(--color-card);
border-radius: 5px;
padding: 12px 14px 10px;
}
.info > * {
position: relative;
z-index: 1;
}
.identity {
display: flex;
align-items: center;
gap: 10px;
}
.logo {
width: 36px;
height: 30px;
object-fit: contain;
flex-shrink: 0;
}
.logo.wide {
width: 62px;
height: 30px;
}
.logo.round {
width: 42px;
height: 42px;
object-fit: cover;
margin-top: -12px;
}
.logo.square {
width: 42px;
height: 42px;
object-fit: cover;
margin-top: -6px;
}
.name {
font-size: 14px;
font-weight: 400;
letter-spacing: 2.4px;
text-transform: uppercase;
line-height: 1.2;
}
.tagline {
font-size: 11px;
font-weight: 300;
color: var(--color-muted);
margin-top: 2px;
transition: color 0.25s ease;
}
.info:hover .divider,
.info:focus-within .divider {
background: var(--color-white);
}
.meta {
display: flex;
align-items: center;
gap: 10px;
margin-top: 6px;
color: var(--color-dark);
}
.products strong,
.since strong {
font-weight: 500;
}
.products {
font-size: 10px;
font-weight: 300;
}
.products strong {
font-size: 12px;
}
.since {
font-size: 10px;
font-weight: 300;
}
.since strong {
font-size: 13px;
}
.divider {
width: 1px;
height: 14px;
background: #cfcfcf;
}
.description {
margin-top: 12px;
font-size: 13px;
font-weight: 300;
line-height: 18px;
color: var(--color-muted);
}
.rule {
height: 1px;
background: var(--color-card);
margin: 10px 0 8px;
}
.tags {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}
.tag {
display: inline-flex;
align-items: center;
gap: 4px;
font-size: 11px;
font-weight: 300;
color: var(--color-soft);
}
.tag img {
width: 14px;
height: 14px;
object-fit: contain;
}