2017-03-10 21:37:14 +02:00
|
|
|
/* ==========================================================================
|
|
|
|
Entries (Posts, collection documents, etc.)
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.entry {
|
|
|
|
@include clearfix();
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-title {
|
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
color: tint($text-color, 25%);
|
|
|
|
@include fluid-type($min-vw, $max-vw, 18px, 24px);
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-meta {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
@include fluid-type($min-vw, $max-vw, 12px, 16px);
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.byline-item {
|
|
|
|
|
|
|
|
&:not(:first-child):before {
|
|
|
|
content: '\00b7';
|
|
|
|
margin: 0 0.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/*
|
|
|
|
Entry list
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.entries {
|
|
|
|
|
|
|
|
.entry-header {
|
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
@include span(5 of 16);
|
|
|
|
@include suffix(1 of 16);
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* remove space after last child element */
|
2017-03-07 23:12:17 +02:00
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* break long words that could overflow */
|
2017-03-09 21:21:10 +02:00
|
|
|
.entry-title {
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.entry-excerpt {
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
@include span(11 of 16 last);
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* normalize font sizes */
|
2017-03-07 23:12:17 +02:00
|
|
|
> * {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* remove space after last child element */
|
2017-03-07 23:12:17 +02:00
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content {
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
@include span(11 of 16 last);
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* remove space after last child element */
|
2017-03-07 23:12:17 +02:00
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-content {
|
|
|
|
|
|
|
|
> p:first-child {
|
|
|
|
font-size: 1.125em;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
color: tint($text-color, 25%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* Footnotes */
|
2017-03-07 23:12:17 +02:00
|
|
|
.footnotes {
|
|
|
|
margin: 2rem 0;
|
|
|
|
padding-top: 1rem;
|
|
|
|
font-size: 80%;
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/* Read more link */
|
2017-03-07 23:12:17 +02:00
|
|
|
.more-link {
|
|
|
|
font-size: 75%;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|