Move pledge structure out to just the list items

This commit is contained in:
Kelly Dwan 2019-10-27 13:00:35 -04:00
parent 53ebaef350
commit 416b62a52a
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
2 changed files with 23 additions and 21 deletions

View file

@ -55,4 +55,27 @@ body.archive.post-type-archive-5ftf_pledge {
font-weight: 700;
}
}
/* Structure */
article {
display: grid;
grid-template-columns: 330px auto;
margin-bottom: ms(12);
.entry-image {
grid-column: 1;
grid-row: 1 / span 2;
margin-right: ms(8);
}
.entry-header {
grid-column: 2;
grid-row: 1;
}
.entry-content {
grid-column: 2;
grid-row: 2;
}
}
}

View file

@ -1,25 +1,4 @@
article.type-5ftf_pledge {
/* Structure */
display: grid;
grid-template-columns: 330px auto;
margin-bottom: ms(12);
.entry-image {
grid-column: 1;
grid-row: 1 / span 2;
margin-right: ms(8);
}
.entry-header {
grid-column: 2;
grid-row: 1;
}
.entry-content {
grid-column: 2;
grid-row: 2;
}
/* Styles */
.entry-image__placeholder {