2015-12-20 05:22:45 +01:00
|
|
|
|
|
|
|
.section {
|
2015-12-20 18:03:44 +01:00
|
|
|
padding-top: ($spacer * 2);
|
|
|
|
padding-bottom: ($spacer * 2);
|
2015-12-20 05:22:45 +01:00
|
|
|
|
2016-01-22 16:03:56 +01:00
|
|
|
&:last-child { border-bottom: none; }
|
|
|
|
|
2015-12-20 05:22:45 +01:00
|
|
|
// use this so animated elements coming in from outside of screen
|
|
|
|
// don't affect layout
|
|
|
|
overflow: hidden;
|
|
|
|
|
2015-12-20 18:03:44 +01:00
|
|
|
// vertically center everything
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2015-12-20 19:31:36 +01:00
|
|
|
min-height: 420px;
|
2015-12-20 18:03:44 +01:00
|
|
|
|
2015-12-20 19:31:36 +01:00
|
|
|
.row { flex: 1; }
|
2015-12-20 18:03:44 +01:00
|
|
|
|
2015-12-20 05:22:45 +01:00
|
|
|
@media ($screen-sm) {
|
2015-12-20 19:31:36 +01:00
|
|
|
padding-top: ($spacer * 4);
|
|
|
|
padding-bottom: ($spacer * 4);
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-12-20 19:31:36 +01:00
|
|
|
.section-header {
|
|
|
|
margin-bottom: ($spacer * 4);
|
|
|
|
}
|
|
|
|
|
2015-12-20 05:22:45 +01:00
|
|
|
.section-title,
|
|
|
|
.section-description {
|
2015-12-20 18:03:44 +01:00
|
|
|
text-align: center;
|
2015-12-20 19:31:36 +01:00
|
|
|
|
2015-12-20 05:22:45 +01:00
|
|
|
@media ($screen-sm) {
|
|
|
|
max-width: 100%;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-title {
|
2015-12-21 14:48:45 +01:00
|
|
|
font-size: $font-size-h2;
|
2015-12-20 05:22:45 +01:00
|
|
|
margin-top: 0;
|
2015-12-21 14:03:31 +01:00
|
|
|
margin-bottom: ($spacer * 2);
|
2015-12-20 19:31:36 +01:00
|
|
|
|
2015-12-21 14:34:02 +01:00
|
|
|
// the bottom line
|
2015-12-20 19:31:36 +01:00
|
|
|
&:after {
|
|
|
|
content: "";
|
2016-01-22 16:03:56 +01:00
|
|
|
height: 1px;
|
2015-12-20 19:31:36 +01:00
|
|
|
width: 5rem;
|
|
|
|
display: block;
|
|
|
|
margin: ($spacer * 2) auto 0 auto;
|
2016-01-22 16:03:56 +01:00
|
|
|
background: $gray;
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-description {
|
2015-12-21 14:48:45 +01:00
|
|
|
font-size: $font-size-lg;
|
2016-02-06 17:44:53 +01:00
|
|
|
line-height: $line-height-lg;
|
2015-12-20 05:22:45 +01:00
|
|
|
margin-bottom: 0;
|
|
|
|
|
|
|
|
+ .section-description {
|
2015-12-20 18:03:44 +01:00
|
|
|
margin-top: $spacer;
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.section-actions {
|
2015-12-20 18:03:44 +01:00
|
|
|
margin-top: $spacer;
|
2015-12-20 05:22:45 +01:00
|
|
|
|
|
|
|
.btn {
|
|
|
|
margin-left: 5px;
|
|
|
|
margin-right: 5px;
|
|
|
|
min-width: 200px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Section backgrounds
|
|
|
|
//
|
|
|
|
.background--blue {
|
2016-01-22 16:03:56 +01:00
|
|
|
background: $brand-main-blue;
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
|
|
|
|
2016-01-22 16:03:56 +01:00
|
|
|
.background--darker {
|
|
|
|
background: $gray-darker;
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
|
|
|
|
2016-01-10 02:11:27 +01:00
|
|
|
.background--light {
|
2016-01-22 16:03:56 +01:00
|
|
|
background: $gray-lightest;
|
|
|
|
|
|
|
|
.section-title,
|
|
|
|
p {
|
|
|
|
color: $gray;
|
|
|
|
}
|
2016-01-10 02:11:27 +01:00
|
|
|
}
|
|
|
|
|
2015-12-20 19:31:36 +01:00
|
|
|
.background--gray {
|
2016-01-22 16:03:56 +01:00
|
|
|
background: $brand-main-gray;
|
2015-12-20 05:22:45 +01:00
|
|
|
}
|
2016-01-29 18:45:09 +01:00
|
|
|
|
|
|
|
|
|
|
|
//
|
|
|
|
// Photo background
|
|
|
|
//
|
|
|
|
.background--photo {
|
|
|
|
@extend .color-overlay;
|
|
|
|
text-shadow: 0 1px 0 rgba(0,0,0,.1);
|
|
|
|
|
|
|
|
// background
|
|
|
|
background: url('../img/photo1.jpg') no-repeat center top;
|
|
|
|
background-size: cover;
|
|
|
|
|
|
|
|
.section-title,
|
|
|
|
.section-description,
|
|
|
|
.header__title {
|
|
|
|
//color: #fff;
|
|
|
|
}
|
|
|
|
}
|