115 lines
2.3 KiB
SCSS
115 lines
2.3 KiB
SCSS
.card--block {
|
|
|
|
container-type: inline-size;
|
|
container-name: impact;
|
|
border: var(--border-light);
|
|
margin-bottom: calc(var(--padding-body)*1);
|
|
padding: var(--padding-inner);
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: start;
|
|
justify-content: start;
|
|
gap: calc(var(--spacing)*0.25);
|
|
|
|
|
|
@include hover-card-line();
|
|
@include figure-16-9();
|
|
@include pin();
|
|
|
|
|
|
|
|
.group-top{
|
|
display: flex;
|
|
gap: calc(var(--padding-inner)*0.5);
|
|
}
|
|
|
|
|
|
|
|
.title{
|
|
font-size: var(--fs-normal);
|
|
font-weight: 500;
|
|
text-transform: uppercase;
|
|
line-height: var(--leading-title);
|
|
padding-top: calc(var(--spacing)*0.75);
|
|
padding-bottom: calc(var(--spacing)*1);
|
|
margin-right: 2ch;
|
|
}
|
|
|
|
.date{
|
|
font-size: var(--fs-small);
|
|
}
|
|
|
|
.investigations{
|
|
text-decoration: none;
|
|
list-style: none;
|
|
// border-top: var(--border-light);
|
|
padding-top: calc(var(--spacing)*0.5);
|
|
width: 100%;
|
|
|
|
z-index: 100;
|
|
li{
|
|
width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: var(--color-txt-light);
|
|
font-size: var(--fs-small);
|
|
a{
|
|
text-decoration: none;
|
|
color: var(--color-txt-light);
|
|
}
|
|
a::before{
|
|
content: "↪ "
|
|
}
|
|
&:hover{
|
|
a{
|
|
text-decoration: underline 1px;
|
|
text-underline-offset: 2px;
|
|
color: var(--color-txt);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.card--open-graph{
|
|
width: 100%;
|
|
margin: calc(var(--spacing)*0.5) 0;
|
|
}
|
|
|
|
.pin{
|
|
position: absolute;
|
|
top: var(--padding-inner);
|
|
right: var(--padding-inner);
|
|
}
|
|
|
|
& > figure{
|
|
width: calc(100% + var(--padding-inner)*2);
|
|
position: relative;
|
|
left: calc(var(--padding-inner)*-1);
|
|
top: calc(var(--padding-inner)*-1);
|
|
}
|
|
|
|
.tag{
|
|
position: relative;
|
|
top: 3px;
|
|
}
|
|
|
|
// .link-block{
|
|
// background-color: rgba(255, 0, 0, 0.781);
|
|
// }
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
@media #{$small-up}{
|
|
.card--block,
|
|
.grid-sizer{
|
|
width: calc(50% - 13px);
|
|
}
|
|
|
|
}
|
|
|