1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 09:46:57 +01:00

add newsletter page

This commit is contained in:
Matthias Kretschmann 2018-06-13 12:37:11 +02:00
parent 6d9bc4fcd2
commit ab4898f11d
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 89 additions and 0 deletions

View File

@ -0,0 +1,69 @@
.page-newsletter {
.header--newsletter {
background: url('../img/nosprite/starbase-drivers.svg') no-repeat center 103%;
background-size: contain;
padding-bottom: 5%;
&:before {
display: none;
}
}
.content--page--markdown {
padding-top: 0;
padding-bottom: 0;
}
.section--newsletter {
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
display: flex;
align-items: center;
min-height: 60vh;
background: darken($body-bg, 5%);
.form-control {
border-color: $gray-light;
&:focus {
border-color: #fff;
}
}
.btn {
@extend .btn-primary;
}
.newsletter__title {
color: $brand-main-blue-light;
}
// stylelint-disable selector-max-compound-selectors
.form-label,
.form-control,
.form-control:focus ~ .form-label,
.newsletter__text,
.newsletter__gdpr {
color: $text-color;
}
// stylelint-enable selector-max-compound-selectors
.icon {
stroke: $gray-light;
color: $gray-light;
}
a {
box-shadow: inset 0 -1px 0 $gray-light;
&:hover,
&:focus {
background: $gray-light;
}
}
}
}

View File

@ -12,6 +12,10 @@
&:focus { &:focus {
border-color: #000; border-color: #000;
} }
&.parsley-error {
border-color: $brand-danger !important; // stylelint-disable-line
}
} }
.btn { .btn {
@ -32,6 +36,12 @@
.form--newsletter { .form--newsletter {
margin-top: $spacer * 2; margin-top: $spacer * 2;
} }
.parsley-errors-list {
right: auto;
left: 0;
bottom: -.25rem;
}
} }
.newsletter__title { .newsletter__title {

View File

@ -65,3 +65,4 @@
@import 'page-services'; @import 'page-services';
@import 'oceanprotocol'; @import 'oceanprotocol';
@import 'page-guide'; @import 'page-guide';
@import 'page-newsletter';

9
_src/newsletter.md Normal file
View File

@ -0,0 +1,9 @@
---
layout: page
title: Newsletter
tagline: Subscribe to stay in the loop about all things BigchainDB
description: Subscribe to stay in the loop about all things BigchainDB
---
{% include sections/section-newsletter.html %}