This commit is contained in:
parent
48ded249a3
commit
da79013711
14 changed files with 203 additions and 200 deletions
|
|
@ -1,117 +1,100 @@
|
|||
|
||||
|
||||
.card--article-small{
|
||||
.card--article-small {
|
||||
|
||||
@include grid-content();
|
||||
|
||||
|
||||
padding-top: calc(var(--spacing)*0.5);
|
||||
padding-bottom: calc(var(--spacing)*0.5);
|
||||
|
||||
border-bottom: var(--border-light);
|
||||
&:first-of-type{
|
||||
|
||||
&:first-of-type {
|
||||
border-top: var(--border-light);
|
||||
}
|
||||
|
||||
&.has-link {
|
||||
@include hover-card-line();
|
||||
}
|
||||
|
||||
|
||||
// &:first-of-type{
|
||||
// padding-top: calc(var(--spacing)*0.5);
|
||||
// border-top: var(--border-light);
|
||||
// }
|
||||
|
||||
@include figure-16-9();
|
||||
|
||||
figure{
|
||||
@media #{$x-small}{ margin-left: 0px; }
|
||||
figure {
|
||||
@media #{$x-small} {
|
||||
margin-left: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.content{
|
||||
.content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding-top: calc(var(--spacing)*0.25);
|
||||
padding-right: calc(var(--padding-inner)*3);
|
||||
}
|
||||
|
||||
.title{
|
||||
.title {
|
||||
font-weight: 500;
|
||||
font-size: var(--fs-small);
|
||||
margin-bottom: 0.25em;
|
||||
margin-bottom: 0.25em;
|
||||
text-wrap: balance;
|
||||
max-width: 42ch;
|
||||
text-transform: uppercase;
|
||||
line-height: 1.1;
|
||||
a{ text-decoration: none;}
|
||||
|
||||
line-height: var(--leading-title);
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
time{
|
||||
time {
|
||||
flex-grow: 1;
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
|
||||
.description{
|
||||
@include clamp(2);
|
||||
.description {
|
||||
@include clamp(2);
|
||||
margin-bottom: calc(var(--spacing)*0.75);
|
||||
margin-top: calc(var(--spacing)*0.25);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@include btn--go-to();
|
||||
@include hover-card-line();
|
||||
|
||||
.keywords{ display: none; }
|
||||
|
||||
@media #{$medium}{
|
||||
.title{
|
||||
.keywords {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media #{$medium} {
|
||||
.title {
|
||||
font-size: var(--fs-normal);
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media #{$x-small}{
|
||||
@media #{$x-small} {
|
||||
|
||||
// figure{
|
||||
// aspect-ratio: inherit;
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// }
|
||||
.content {
|
||||
display: contents;
|
||||
}
|
||||
|
||||
.icon-article{ display: none; }
|
||||
.description{
|
||||
display: none;
|
||||
}
|
||||
.content{
|
||||
padding: 0;
|
||||
}
|
||||
.title{
|
||||
margin-bottom: 0;
|
||||
}
|
||||
time{
|
||||
.title {
|
||||
font-size: var(--fs-small);
|
||||
margin-top: 0.25em;
|
||||
padding-top: calc(var(--spacing)*0.25);
|
||||
}
|
||||
|
||||
.keywords {
|
||||
display: block;
|
||||
line-height: 1.1;
|
||||
margin-top: calc(var(--spacing)*0.5);
|
||||
padding-right: calc(var(--padding-inner)*1);
|
||||
li, a{
|
||||
display: inline;
|
||||
border: none;
|
||||
padding: 0px;
|
||||
color: var(--color-txt-light);
|
||||
}
|
||||
|
||||
figure {
|
||||
grid-row: 1/3;
|
||||
}
|
||||
|
||||
|
||||
.description {
|
||||
grid-column: span 2;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue