Build out overlay header and feature row _include helper
This commit is contained in:
@@ -122,3 +122,137 @@ a:hover {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Features
|
||||
========================================================================== */
|
||||
|
||||
.feature__wrapper {
|
||||
@include clearfix();
|
||||
margin-bottom: 2em;
|
||||
border-bottom: 1px solid $border-color;
|
||||
}
|
||||
|
||||
.feature__item {
|
||||
margin-bottom: 2em;
|
||||
|
||||
@include breakpoint($small) {
|
||||
text-align: center;
|
||||
@include gallery(4 of 12);
|
||||
|
||||
.feature__item-teaser {
|
||||
max-height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.archive__item-excerpt {
|
||||
margin-bottom: 1em;
|
||||
font-size: 18px;
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
&--left {
|
||||
@include full();
|
||||
margin-bottom: 2em;
|
||||
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.archive__item-excerpt {
|
||||
margin-bottom: 1em;
|
||||
font-size: 18px;
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--right {
|
||||
@include full();
|
||||
margin-bottom: 2em;
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.archive__item-excerpt {
|
||||
margin-bottom: 1em;
|
||||
font-size: 18px;
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&--center {
|
||||
@include full();
|
||||
margin-bottom: 2em;
|
||||
@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);
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item-title {
|
||||
margin-bottom: 0.5em;
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.archive__item-excerpt {
|
||||
margin-bottom: 1em;
|
||||
font-size: 18px;
|
||||
|
||||
p {
|
||||
font-size: 18px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -55,6 +55,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.page__lead {
|
||||
font-family: $sans-serif;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.page__content {
|
||||
p, li {
|
||||
font-size: 16px;
|
||||
@@ -76,14 +81,29 @@
|
||||
background-repeat: no-repeat;
|
||||
background-position: center;
|
||||
|
||||
.wrapper {
|
||||
padding-left: 2em;
|
||||
padding-right: 2em;
|
||||
}
|
||||
|
||||
.page__title,
|
||||
.page__meta {
|
||||
.page__meta,
|
||||
.page__lead,
|
||||
.btn {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 4px rgba(#000, 0.5);
|
||||
}
|
||||
|
||||
.page__title {
|
||||
font-size: 64px;
|
||||
font-size: 48px;
|
||||
|
||||
@include breakpoint($small) {
|
||||
font-size: 60px;
|
||||
}
|
||||
}
|
||||
|
||||
.page__lead {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
/* ==========================================================================
|
||||
SPLASH
|
||||
========================================================================== */
|
||||
|
||||
.splash__item {
|
||||
margin-bottom: 2em;
|
||||
|
||||
@include breakpoint($small) {
|
||||
text-align: center;
|
||||
@include gallery(4 of 12);
|
||||
|
||||
.splash__item-teaser {
|
||||
max-height: 200px;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.archive__item-excerpt {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
@import "page";
|
||||
@import "archive";
|
||||
@import "sidebar";
|
||||
@import "splash";
|
||||
|
||||
@import "vendor/font-awesome/font-awesome";
|
||||
@import "vendor/magnific-popup/magnific-popup";
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user