2016-03-10 13:06:59 -05:00
|
|
|
/* ==========================================================================
|
|
|
|
ARCHIVE
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.archive {
|
2018-08-09 15:06:00 -04:00
|
|
|
margin-top: 1em;
|
2016-03-10 13:06:59 -05:00
|
|
|
margin-bottom: 2em;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-17 15:38:07 -04:00
|
|
|
@include breakpoint($large) {
|
2017-07-21 16:08:29 -04:00
|
|
|
float: right;
|
2017-08-08 14:41:46 -04:00
|
|
|
width: calc(100% - #{$right-sidebar-width-narrow});
|
|
|
|
padding-right: $right-sidebar-width-narrow;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
width: calc(100% - #{$right-sidebar-width});
|
|
|
|
padding-right: $right-sidebar-width;
|
2016-03-17 22:56:01 -04:00
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
}
|
|
|
|
|
2018-10-02 11:04:28 -04:00
|
|
|
.archive__item {
|
|
|
|
position: relative;
|
2019-08-02 12:31:54 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
}
|
|
|
|
|
|
|
|
a[rel="permalink"] {
|
|
|
|
position: static;
|
|
|
|
}
|
2018-10-02 11:04:28 -04:00
|
|
|
}
|
|
|
|
|
2016-03-10 13:06:59 -05:00
|
|
|
.archive__subtitle {
|
2016-03-30 16:59:48 -04:00
|
|
|
margin: 1.414em 0 0;
|
2016-03-10 13:06:59 -05:00
|
|
|
padding-bottom: 0.5em;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-5;
|
2017-09-12 12:01:43 -04:00
|
|
|
color: $muted-text-color;
|
2016-03-10 13:06:59 -05:00
|
|
|
border-bottom: 1px solid $border-color;
|
2016-03-30 16:59:48 -04:00
|
|
|
|
|
|
|
+ .list__item .archive__item-title {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-title {
|
2016-03-30 16:59:48 -04:00
|
|
|
margin-bottom: 0.25em;
|
2016-03-10 22:29:30 -05:00
|
|
|
font-family: $sans-serif-narrow;
|
2017-12-07 08:56:14 -05:00
|
|
|
line-height: initial;
|
2017-09-06 15:02:41 -04:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2016-07-11 13:02:59 -04:00
|
|
|
|
2019-05-07 14:53:15 -04:00
|
|
|
a[rel="permalink"]::before {
|
2018-10-22 13:56:43 -04:00
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-07-11 13:02:59 -04:00
|
|
|
a + a {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2016-06-06 22:28:33 -04:00
|
|
|
}
|
|
|
|
|
2016-08-08 16:01:37 -04:00
|
|
|
/* remove border*/
|
2016-06-06 22:28:33 -04:00
|
|
|
.page__content {
|
|
|
|
.archive__item-title {
|
|
|
|
margin-top: 1em;
|
|
|
|
border-bottom: none;
|
|
|
|
}
|
2016-03-10 13:06:59 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-excerpt {
|
2016-03-30 22:20:55 -04:00
|
|
|
margin-top: 0;
|
2016-03-30 16:59:48 -04:00
|
|
|
font-size: $type-size-6;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2016-03-10 13:06:59 -05:00
|
|
|
& + p {
|
|
|
|
text-indent: 0;
|
|
|
|
}
|
2018-10-22 13:56:43 -04:00
|
|
|
|
|
|
|
a {
|
|
|
|
position: relative;
|
|
|
|
}
|
2016-03-18 15:07:02 -04:00
|
|
|
}
|
|
|
|
|
2016-03-23 16:33:47 -04:00
|
|
|
.archive__item-teaser {
|
2018-05-15 15:41:45 -04:00
|
|
|
position: relative;
|
2016-03-23 16:33:47 -04:00
|
|
|
border-radius: $border-radius;
|
|
|
|
overflow: hidden;
|
2018-05-15 15:41:45 -04:00
|
|
|
|
2016-03-23 16:33:47 -04:00
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-05-15 15:41:45 -04:00
|
|
|
.archive__item-caption {
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
padding: 2px 5px;
|
|
|
|
color: #fff;
|
|
|
|
font-family: $caption-font-family;
|
|
|
|
font-size: $type-size-8;
|
|
|
|
background: #000;
|
|
|
|
text-align: right;
|
|
|
|
z-index: 5;
|
|
|
|
opacity: 0.5;
|
|
|
|
border-radius: $border-radius 0 0 0;
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-20 22:15:43 -04:00
|
|
|
/*
|
|
|
|
List view
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.list__item {
|
2016-03-22 22:28:12 -04:00
|
|
|
.page__meta {
|
|
|
|
margin: 0 0 4px;
|
2018-01-17 12:44:21 -05:00
|
|
|
font-size: 0.6em;
|
2016-03-22 22:28:12 -04:00
|
|
|
}
|
2016-03-20 22:15:43 -04:00
|
|
|
}
|
|
|
|
|
2016-03-19 20:58:17 -04:00
|
|
|
/*
|
|
|
|
Grid view
|
|
|
|
========================================================================== */
|
|
|
|
|
2017-08-09 13:00:33 -04:00
|
|
|
.archive {
|
|
|
|
.grid__wrapper {
|
|
|
|
/* extend grid elements to the right */
|
|
|
|
|
|
|
|
@include breakpoint($large) {
|
|
|
|
margin-right: -1 * $right-sidebar-width-narrow;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
margin-right: -1 * $right-sidebar-width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-19 20:58:17 -04:00
|
|
|
.grid__item {
|
|
|
|
margin-bottom: 2em;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2017-07-21 16:08:29 -04:00
|
|
|
@include breakpoint($small) {
|
|
|
|
float: left;
|
|
|
|
width: span(5 of 10);
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(2n + 1) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(2n + 2) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(of 10);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
margin-left: 0; /* override margin*/
|
|
|
|
margin-right: 0; /* override margin*/
|
|
|
|
width: span(3 of 12);
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(2n + 1) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(4n + 1) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(4n + 2) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(1 of 12);
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(4n + 3) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(1 of 12);
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(4n + 4) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(1 of 12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-22 22:28:12 -04:00
|
|
|
.page__meta {
|
|
|
|
margin: 0 0 4px;
|
2018-01-17 12:44:21 -05:00
|
|
|
font-size: 0.6em;
|
2016-03-22 22:28:12 -04:00
|
|
|
}
|
|
|
|
|
2016-03-30 16:59:48 -04:00
|
|
|
.archive__item-title {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
font-size: $type-size-5;
|
|
|
|
}
|
|
|
|
|
2016-03-19 20:58:17 -04:00
|
|
|
.archive__item-excerpt {
|
|
|
|
display: none;
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2017-07-21 16:08:29 -04:00
|
|
|
@include breakpoint($medium) {
|
|
|
|
display: block;
|
|
|
|
font-size: $type-size-6;
|
2016-03-19 20:58:17 -04:00
|
|
|
}
|
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2017-07-21 16:08:29 -04:00
|
|
|
.archive__item-teaser {
|
|
|
|
@include breakpoint($small) {
|
|
|
|
max-height: 200px;
|
2016-03-19 20:58:17 -04:00
|
|
|
}
|
2016-03-21 16:36:24 -04:00
|
|
|
|
2017-07-21 16:08:29 -04:00
|
|
|
@include breakpoint($medium) {
|
|
|
|
max-height: 120px;
|
2016-03-19 20:58:17 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-24 15:28:29 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
Features
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.feature__wrapper {
|
|
|
|
@include clearfix();
|
|
|
|
margin-bottom: 2em;
|
|
|
|
border-bottom: 1px solid $border-color;
|
2018-08-09 15:34:20 -04:00
|
|
|
|
|
|
|
.archive__item-title {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.feature__item {
|
2018-10-02 11:04:28 -04:00
|
|
|
position: relative;
|
2016-03-24 15:28:29 -04:00
|
|
|
margin-bottom: 2em;
|
2018-08-09 15:34:20 -04:00
|
|
|
font-size: 1.125em;
|
2016-03-24 15:28:29 -04:00
|
|
|
|
|
|
|
@include breakpoint($small) {
|
2017-07-21 16:08:29 -04:00
|
|
|
float: left;
|
2016-04-14 12:23:32 -04:00
|
|
|
margin-bottom: 0;
|
2017-07-21 16:08:29 -04:00
|
|
|
width: span(4 of 12);
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(3n + 1) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: both;
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(3n + 2) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(of 12);
|
|
|
|
}
|
|
|
|
|
2017-12-07 08:56:14 -05:00
|
|
|
&:nth-child(3n + 3) {
|
2017-07-21 16:08:29 -04:00
|
|
|
clear: none;
|
|
|
|
margin-left: gutter(of 12);
|
|
|
|
}
|
2016-03-24 15:28:29 -04:00
|
|
|
|
|
|
|
.feature__item-teaser {
|
|
|
|
max-height: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-08-09 15:34:20 -04:00
|
|
|
.archive__item-body {
|
|
|
|
padding-left: gutter(1 of 12);
|
|
|
|
padding-right: gutter(1 of 12);
|
|
|
|
}
|
|
|
|
|
2018-10-02 11:04:28 -04:00
|
|
|
a.btn::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
&--left {
|
2018-10-02 11:04:28 -04:00
|
|
|
position: relative;
|
2017-07-21 16:08:29 -04:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2018-08-09 15:34:20 -04:00
|
|
|
font-size: 1.125em;
|
2016-03-24 15:28:29 -04:00
|
|
|
|
2018-10-22 13:56:43 -04:00
|
|
|
.archive__item {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2016-04-14 12:23:32 -04:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2018-10-02 11:04:28 -04:00
|
|
|
a.btn::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
@include breakpoint($small) {
|
|
|
|
.archive__item-teaser {
|
2017-07-21 16:08:29 -04:00
|
|
|
float: left;
|
|
|
|
width: span(5 of 12);
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-body {
|
2017-07-21 16:08:29 -04:00
|
|
|
float: right;
|
|
|
|
padding-left: gutter(0.5 of 12);
|
|
|
|
padding-right: gutter(1 of 12);
|
|
|
|
width: span(7 of 12);
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--right {
|
2018-10-02 11:04:28 -04:00
|
|
|
position: relative;
|
2017-07-21 16:08:29 -04:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2018-08-09 15:34:20 -04:00
|
|
|
font-size: 1.125em;
|
2016-04-01 12:50:07 -04:00
|
|
|
|
2018-10-22 13:56:43 -04:00
|
|
|
.archive__item {
|
|
|
|
float: left;
|
|
|
|
}
|
|
|
|
|
2016-04-14 12:23:32 -04:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2018-10-02 11:04:28 -04:00
|
|
|
a.btn::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
@include breakpoint($small) {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.archive__item-teaser {
|
2017-07-21 16:08:29 -04:00
|
|
|
float: right;
|
|
|
|
width: span(5 of 12);
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-body {
|
2018-08-09 15:34:20 -04:00
|
|
|
float: left;
|
2017-07-21 16:08:29 -04:00
|
|
|
width: span(7 of 12);
|
|
|
|
padding-left: gutter(0.5 of 12);
|
|
|
|
padding-right: gutter(1 of 12);
|
2016-03-24 15:28:29 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--center {
|
2018-10-02 11:04:28 -04:00
|
|
|
position: relative;
|
2017-07-21 16:08:29 -04:00
|
|
|
float: left;
|
|
|
|
margin-left: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2018-08-09 15:34:20 -04:00
|
|
|
font-size: 1.125em;
|
2016-04-01 12:50:07 -04:00
|
|
|
|
2018-10-22 13:56:43 -04:00
|
|
|
.archive__item {
|
|
|
|
float: left;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
2016-04-14 12:23:32 -04:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2018-10-02 11:04:28 -04:00
|
|
|
a.btn::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
}
|
|
|
|
|
2016-03-24 15:28:29 -04:00
|
|
|
@include breakpoint($small) {
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
.archive__item-teaser {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: span(5 of 12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-body {
|
|
|
|
margin: 0 auto;
|
|
|
|
width: span(7 of 12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-12-07 08:56:14 -05:00
|
|
|
}
|
2018-01-17 12:54:11 -05:00
|
|
|
|
|
|
|
/* Place inside an archive layout */
|
|
|
|
|
|
|
|
.archive {
|
|
|
|
.feature__wrapper {
|
|
|
|
.archive__item-title {
|
|
|
|
margin-top: 0.25em;
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature__item,
|
|
|
|
.feature__item--left,
|
|
|
|
.feature__item--center,
|
|
|
|
.feature__item--right {
|
|
|
|
font-size: 1em;
|
|
|
|
}
|
|
|
|
}
|
2018-03-20 14:47:13 -04:00
|
|
|
|
|
|
|
/*
|
|
|
|
Wide Pages
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.wide {
|
|
|
|
.archive {
|
|
|
|
@include breakpoint($large) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@include breakpoint($x-large) {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
2019-11-22 22:15:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/* Place inside a single layout */
|
|
|
|
|
|
|
|
.layout--single {
|
|
|
|
.feature__wrapper {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|