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 {
|
2017-03-16 20:34:29 +02:00
|
|
|
@include fluid-type($min-vw, $max-vw, 18px, 24px);
|
2017-03-07 23:12:17 +02:00
|
|
|
margin-bottom: 0.5rem;
|
|
|
|
color: tint($text-color, 25%);
|
|
|
|
line-height: inherit;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
.entry-image {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
.entry-meta {
|
|
|
|
@include fluid-type($min-vw, $max-vw, 12px, 16px);
|
2017-03-16 20:34:29 +02:00
|
|
|
margin-bottom: 1rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
ul {
|
|
|
|
@include list-unstyled();
|
|
|
|
|
|
|
|
@include breakpoint(max-width $medium) {
|
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
li {
|
|
|
|
padding-bottom: 0.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.byline-item {
|
2017-03-17 15:36:47 +02:00
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 1.5rem;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
}
|
2017-03-17 15:36:47 +02:00
|
|
|
|
|
|
|
.icon {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
fill: $accent-color;
|
|
|
|
}
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
2017-03-10 21:37:14 +02:00
|
|
|
/*
|
|
|
|
Entry list
|
|
|
|
========================================================================== */
|
2017-03-07 23:12:17 +02:00
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
.entries-list {
|
2017-03-09 21:21:10 +02:00
|
|
|
.entry-title {
|
2017-03-17 15:36:47 +02:00
|
|
|
word-wrap: break-word; /* break long words that could overflow */
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: $accent-color;
|
|
|
|
}
|
2017-03-09 21:21:10 +02:00
|
|
|
}
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.entry-excerpt {
|
|
|
|
@include breakpoint($medium) {
|
2018-01-05 21:25:42 +02:00
|
|
|
width: span(11 of 16);
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
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) {
|
2018-01-05 21:25:42 +02:00
|
|
|
width: span(11 of 16);
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
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-17 15:36:47 +02:00
|
|
|
|
|
|
|
.entry-meta {
|
|
|
|
@include breakpoint($medium) {
|
2018-01-05 21:25:42 +02:00
|
|
|
float: right;
|
|
|
|
width: span(5 of 16 last);
|
|
|
|
padding-left: gutter(1 of 16);
|
2017-03-17 15:36:47 +02:00
|
|
|
}
|
2018-04-03 03:55:22 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
> .summary {
|
|
|
|
> p:first-child {
|
|
|
|
font-size: 1.125em;
|
|
|
|
line-height: 1.625;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-17 15:36:47 +02:00
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
/*
|
|
|
|
Entries Grid Layout
|
|
|
|
========================================================================== */
|
2017-03-17 15:36:47 +02:00
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
.entries-grid {
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
|
|
|
|
grid-gap: 2em;
|
|
|
|
|
|
|
|
.entry {
|
|
|
|
display: -webkit-box;
|
|
|
|
display: -ms-flexbox;
|
|
|
|
display: flex;
|
|
|
|
-webkit-box-orient: vertical;
|
|
|
|
-webkit-box-direction: normal;
|
|
|
|
-ms-flex-direction: column;
|
|
|
|
flex-direction: column;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-bottom: 2rem;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-title {
|
|
|
|
@include fluid-type($min-vw, $max-vw, 18px, 24px);
|
|
|
|
-webkit-box-ordinal-group: 2;
|
|
|
|
-ms-flex-order: 1;
|
|
|
|
order: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-excerpt,
|
|
|
|
.entry-content {
|
|
|
|
-webkit-box-ordinal-group: 4;
|
|
|
|
-ms-flex-order: 3;
|
|
|
|
order: 3;
|
|
|
|
|
|
|
|
/* remove space after last child element */
|
|
|
|
> *:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-excerpt {
|
|
|
|
/* normalize font sizes */
|
|
|
|
> * {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.entry-meta {
|
|
|
|
-webkit-box-ordinal-group: 3;
|
|
|
|
-ms-flex-order: 2;
|
|
|
|
order: 2;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
font-size: 0.75em;
|
|
|
|
|
|
|
|
ul {
|
2017-03-17 15:36:47 +02:00
|
|
|
li {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
2018-04-03 03:55:22 +03:00
|
|
|
}
|
2017-03-17 15:36:47 +02:00
|
|
|
|
2018-04-03 03:55:22 +03:00
|
|
|
.more-link {
|
|
|
|
margin-top: -1em;
|
|
|
|
|
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2017-03-17 15:36:47 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-03-17 17:53:13 +02:00
|
|
|
|
2017-03-07 23:12:17 +02:00
|
|
|
|
|
|
|
.entry-content {
|
|
|
|
> p:first-child {
|
|
|
|
font-size: 1.125em;
|
2017-03-13 20:41:39 +02:00
|
|
|
line-height: 1.625;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
2017-03-16 20:34:29 +02:00
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2017-03-07 23:12:17 +02:00
|
|
|
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;
|
|
|
|
border-top: 1px solid $border-color;
|
2017-03-16 20:34:29 +02:00
|
|
|
font-size: 80%;
|
2017-03-07 23:12:17 +02:00
|
|
|
}
|
|
|
|
|
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;
|
2017-03-16 20:34:29 +02:00
|
|
|
}
|