108 lines
No EOL
2.2 KiB
SCSS
108 lines
No EOL
2.2 KiB
SCSS
.card--article{
|
|
border: var(--border-light);
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
padding: var(--padding-inner);
|
|
|
|
@include figure-16-9();
|
|
|
|
.content{
|
|
// padding: var(--padding-inner);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.pin{
|
|
position: absolute;
|
|
top: calc(var(--padding-inner)*1.5);
|
|
left: calc(var(--padding-inner)*1.5);
|
|
z-index: 10;
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: var(--radius-small);
|
|
background-color: rgba(255, 255, 255, 0.27);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
svg{
|
|
width: 16px;
|
|
fill: var(--color-txt);
|
|
}
|
|
}
|
|
|
|
.time-alone{
|
|
display: none;
|
|
margin-top: calc(var(--spacing)*0.25);
|
|
margin-bottom: calc(var(--spacing)*0.75);
|
|
}
|
|
|
|
.title{
|
|
margin-top: calc(var(--spacing)*0.5);
|
|
font-size: var(--fs-medium);
|
|
font-weight: normal;
|
|
text-transform: uppercase;
|
|
text-wrap: balance;
|
|
// flex-grow: 2;
|
|
|
|
a{ text-decoration: none;}
|
|
}
|
|
|
|
.description{
|
|
margin-top: calc(var(--spacing)*0.5);
|
|
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 3;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.dl{
|
|
margin-top: calc(var(--spacing)*0.5);
|
|
// font-size: var(--fs-small);
|
|
border-bottom: var(--border-light);
|
|
.dl__group{
|
|
@include grid-content();
|
|
border-top: var(--border-light);
|
|
padding: calc(var(--spacing)*0.5) 0;
|
|
}
|
|
|
|
dt{
|
|
color: var(--color-txt-light);
|
|
padding-right: 1ch;
|
|
}
|
|
|
|
ul{
|
|
list-style: none;
|
|
li{ padding-bottom: 0.2em; }
|
|
}
|
|
|
|
}
|
|
|
|
|
|
.keywords-wrapper{
|
|
z-index: 3000;
|
|
margin-top: calc(var(--spacing)*0.5);
|
|
// margin-bottom: calc(var(--spacing)*0.5);
|
|
}
|
|
|
|
.keywords{
|
|
|
|
grid-column: 2;
|
|
}
|
|
|
|
|
|
&:hover{
|
|
border-color: var(--color-txt);
|
|
background-color: var(--grey-950);
|
|
}
|
|
|
|
.link-block{
|
|
z-index: 2000;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} |