Summary Blocks
The Library of Code is a compilation of different bits of html, CSS and Javascript that I’ve used in my own web design. Rather than keeping the links from creators all over the internet stored locally I thought I’d share them instead! Keep these at hand by subscribing to the foubography rss feed or head to foubography’s instagram and save the posts.
Just paste this bit of code in Design > Custom CSS and adjust accordingly.
-
/* Summary Block Title */
.sqs-block-summary-v2 { .summary-title, .summary-heading {
font-family: syne;
font-weight: 800;
font-size: 18px !important;
text-transform: uppercase;} }
/* Summary Block Title END */
-
.sqs-block-summary-v2 {
.summary-title,
.summary-heading {
text-align: justify;
} }
-
/* Summary Block Metadata */
.summary-metadata-item {
font-family: syne;
text-transform: uppercase !important;}
/* Summary Block Metadata END */
-
/* Remove Original Demeter */
.summary-metadata-item:after {
display: none;
}
/* Remove Original Demeter END */
/* Add New Demeter */
.summary-metadata--primary:after {
content: "|";
font-weight: 500;
padding-left: 0.25px;
padding-right: 4.5px;
}
/* Add New Demeter END */
-
.sqs-block-summary-v2 .summary-metadata-item.summary-metadata-item--cats {
font-size: 0px !important;
}.sqs-block-summary-v2 .summary-metadata-item.summary-metadata-item--cats a{
font-size: 10px !important;
font-family: 'Poppins';
}.sqs-block-summary-v2 .summary-metadata-item.summary-metadata-item--cats a:not(:last-child):after{
content: "|";
visibility: visible;
padding-left: 8px;
padding-right: 8px;
}