2016-03-10 19:06:59 +01:00
|
|
|
/* ==========================================================================
|
|
|
|
ARCHIVE
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.archive {
|
|
|
|
margin-bottom: 2em;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-15 17:34:14 +01:00
|
|
|
@include breakpoint($medium) {
|
2016-03-20 20:20:33 +01:00
|
|
|
@include span(12 of 12);
|
2016-03-17 20:38:07 +01:00
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-17 20:38:07 +01:00
|
|
|
@include breakpoint($large) {
|
2016-03-20 20:20:33 +01:00
|
|
|
@include span(10 of 12 last);
|
2016-03-18 03:56:01 +01:00
|
|
|
@include prefix(0.5 of 12);
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
a {
|
2016-04-05 21:18:05 +02:00
|
|
|
color: inherit;
|
2016-03-20 01:58:17 +01:00
|
|
|
text-decoration: none;
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__subtitle {
|
2016-03-30 22:59:48 +02:00
|
|
|
margin: 1.414em 0 0;
|
2016-03-10 19:06:59 +01:00
|
|
|
padding-bottom: 0.5em;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-5;
|
2016-03-20 02:50:18 +01:00
|
|
|
color: mix(#fff, $gray, 25%);
|
2016-03-10 19:06:59 +01:00
|
|
|
border-bottom: 1px solid $border-color;
|
2016-03-30 22:59:48 +02:00
|
|
|
|
|
|
|
+ .list__item .archive__item-title {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
}
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-title {
|
2016-03-30 22:59:48 +02:00
|
|
|
margin-bottom: 0.25em;
|
2016-03-11 04:29:30 +01:00
|
|
|
font-family: $sans-serif-narrow;
|
2016-06-06 18:11:52 +02:00
|
|
|
// font-size: $type-size-5;
|
2016-03-10 19:06:59 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-excerpt {
|
2016-03-31 04:20:55 +02:00
|
|
|
margin-top: 0;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-10 19:06:59 +01:00
|
|
|
& + p {
|
|
|
|
text-indent: 0;
|
|
|
|
}
|
2016-03-18 20:07:02 +01:00
|
|
|
}
|
|
|
|
|
2016-03-23 21:33:47 +01:00
|
|
|
.archive__item-teaser {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
overflow: hidden;
|
|
|
|
img {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-18 20:07:02 +01:00
|
|
|
a:hover {
|
|
|
|
.archive__item-teaser {
|
|
|
|
box-shadow: 0 0 10px rgba(#000, 0.25);
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-18 20:07:02 +01:00
|
|
|
.archive__item-title {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-03-20 01:58:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-21 03:15:43 +01:00
|
|
|
/*
|
|
|
|
List view
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.list__item {
|
|
|
|
@include breakpoint($medium) {
|
|
|
|
padding-right: $right-sidebar-width-narrow;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 03:15:43 +01:00
|
|
|
@include breakpoint($large) {
|
|
|
|
padding-right: $right-sidebar-width;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-21 03:15:43 +01:00
|
|
|
@include breakpoint($x-large) {
|
|
|
|
padding-right: $right-sidebar-width-wide;
|
|
|
|
}
|
2016-03-23 03:28:12 +01:00
|
|
|
|
|
|
|
.page__meta {
|
|
|
|
margin: 0 0 4px;
|
|
|
|
}
|
2016-03-21 03:15:43 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
/*
|
|
|
|
Grid view
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.grid__item {
|
|
|
|
margin-bottom: 2em;
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-23 03:28:12 +01:00
|
|
|
.page__meta {
|
|
|
|
margin: 0 0 4px;
|
|
|
|
}
|
|
|
|
|
2016-03-30 22:59:48 +02:00
|
|
|
.archive__item-title {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
font-size: $type-size-5;
|
|
|
|
}
|
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
.archive__item-excerpt {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
@include gallery(5 of 10);
|
|
|
|
.archive__item-teaser {
|
|
|
|
max-height: 200px;
|
|
|
|
}
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
@include breakpoint($medium) {
|
|
|
|
margin-left: 0; // reset before mixin does its thing
|
|
|
|
margin-right: 0; // reset before mixin does its thing
|
|
|
|
@include gallery(2.5 of 10);
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
.archive__item-teaser {
|
|
|
|
max-height: 120px;
|
|
|
|
}
|
2016-03-21 21:36:24 +01:00
|
|
|
|
2016-03-20 01:58:17 +01:00
|
|
|
.archive__item-excerpt {
|
|
|
|
display: block;
|
2016-03-30 22:59:48 +02:00
|
|
|
font-size: $type-size-6;
|
2016-03-20 01:58:17 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-03-24 20:28:29 +01:00
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
Features
|
|
|
|
========================================================================== */
|
|
|
|
|
|
|
|
.feature__wrapper {
|
|
|
|
@include clearfix();
|
|
|
|
margin-bottom: 2em;
|
|
|
|
border-bottom: 1px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feature__item {
|
|
|
|
margin-bottom: 2em;
|
2016-04-01 18:50:07 +02:00
|
|
|
font-size: 1.25rem;
|
2016-03-24 20:28:29 +01:00
|
|
|
|
|
|
|
@include breakpoint($small) {
|
2016-04-14 18:23:32 +02:00
|
|
|
margin-bottom: 0;
|
2016-03-24 20:28:29 +01:00
|
|
|
text-align: center;
|
|
|
|
@include gallery(4 of 12);
|
|
|
|
|
|
|
|
.feature__item-teaser {
|
|
|
|
max-height: 200px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-14 18:23:32 +02:00
|
|
|
.archive__item-body {
|
|
|
|
padding-left: 0.5em;
|
|
|
|
padding-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:28:29 +01:00
|
|
|
&--left {
|
|
|
|
@include full();
|
2016-04-14 18:23:32 +02:00
|
|
|
// margin-bottom: 2em;
|
2016-04-01 18:50:07 +02:00
|
|
|
font-size: 1.25rem;
|
2016-03-24 20:28:29 +01:00
|
|
|
|
2016-04-14 18:23:32 +02:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:28:29 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
.archive__item-teaser {
|
|
|
|
@include span(5 of 12);
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-body {
|
|
|
|
@include span(7 of 12 last);
|
|
|
|
@include prefix(0.5 of 12);
|
|
|
|
@include suffix(1 of 12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--right {
|
|
|
|
@include full();
|
2016-04-14 18:23:32 +02:00
|
|
|
// margin-bottom: 2em;
|
2016-04-01 18:50:07 +02:00
|
|
|
font-size: 1.25rem;
|
|
|
|
|
2016-04-14 18:23:32 +02:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:28:29 +01:00
|
|
|
@include breakpoint($small) {
|
|
|
|
text-align: right;
|
|
|
|
|
|
|
|
.archive__item-teaser {
|
|
|
|
@include span(5 of 12 rtl);
|
|
|
|
}
|
|
|
|
|
|
|
|
.archive__item-body {
|
|
|
|
@include span(7 of 12 last rtl);
|
|
|
|
@include prefix(0.5 of 12);
|
|
|
|
@include suffix(1 of 12);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--center {
|
|
|
|
@include full();
|
2016-04-14 18:23:32 +02:00
|
|
|
// margin-bottom: 2em;
|
2016-04-01 18:50:07 +02:00
|
|
|
font-size: 1.25rem;
|
|
|
|
|
2016-04-14 18:23:32 +02:00
|
|
|
.archive__item-teaser {
|
|
|
|
margin-bottom: 2em;
|
|
|
|
}
|
|
|
|
|
2016-03-24 20:28:29 +01: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);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|