From 0562a59e7dde9ce49f4f6f912a483ce102b106db Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Tue, 11 Apr 2017 14:30:58 +0200 Subject: [PATCH] make headers use optional tagline (#114) --- _src/_assets/styles/_page-features.scss | 1 - _src/_assets/styles/_page-usecases.scss | 8 ++++++-- .../styles/bigchain/_content-page.scss | 4 ++-- _src/_assets/styles/bigchain/_header.scss | 2 +- _src/_assets/styles/bigchain/_sections.scss | 5 +++-- _src/_assets/styles/bigchain/_variables.scss | 2 +- _src/_layouts/page.html | 8 +++++++- _src/community.html | 2 +- _src/contact.html | 5 +---- _src/usecases.html | 19 +++++++++---------- _src/whitepaper/index.md | 3 +-- 11 files changed, 32 insertions(+), 27 deletions(-) diff --git a/_src/_assets/styles/_page-features.scss b/_src/_assets/styles/_page-features.scss index 2990588..1d648e0 100644 --- a/_src/_assets/styles/_page-features.scss +++ b/_src/_assets/styles/_page-features.scss @@ -36,7 +36,6 @@ } .feature__text { - @extend .text-dimmed; margin-bottom: 0; } diff --git a/_src/_assets/styles/_page-usecases.scss b/_src/_assets/styles/_page-usecases.scss index 2f95a69..dd38218 100644 --- a/_src/_assets/styles/_page-usecases.scss +++ b/_src/_assets/styles/_page-usecases.scss @@ -10,10 +10,14 @@ } .section-description { - margin-bottom: $spacer * 2; - padding-bottom: $spacer * 2; + margin-bottom: $spacer * 3; + padding-bottom: $spacer * 3; border-bottom: 2px solid lighten($gray-dark, 10%); } + + .grid { + margin-bottom: 0; + } } // diff --git a/_src/_assets/styles/bigchain/_content-page.scss b/_src/_assets/styles/bigchain/_content-page.scss index e5019d2..468b82a 100644 --- a/_src/_assets/styles/bigchain/_content-page.scss +++ b/_src/_assets/styles/bigchain/_content-page.scss @@ -8,8 +8,8 @@ padding-bottom: ($spacer * 2); @media ($screen-sm) { - padding-top: ($spacer * 4); - padding-bottom: ($spacer * 4); + padding-top: ($spacer * 5); + padding-bottom: ($spacer * 5); } > h1, h2 { diff --git a/_src/_assets/styles/bigchain/_header.scss b/_src/_assets/styles/bigchain/_header.scss index 382fd1e..8795649 100644 --- a/_src/_assets/styles/bigchain/_header.scss +++ b/_src/_assets/styles/bigchain/_header.scss @@ -7,5 +7,5 @@ z-index: 1; text-align: center; margin: 0; - padding: ($spacer * 6) 0; + padding: ($spacer * 5) 0; } diff --git a/_src/_assets/styles/bigchain/_sections.scss b/_src/_assets/styles/bigchain/_sections.scss index c629fbf..fbc986f 100644 --- a/_src/_assets/styles/bigchain/_sections.scss +++ b/_src/_assets/styles/bigchain/_sections.scss @@ -14,8 +14,8 @@ } @media ($screen-sm) { - padding-top: ($spacer * 6); - padding-bottom: ($spacer * 6); + padding-top: ($spacer * 5); + padding-bottom: ($spacer * 5); } } @@ -53,6 +53,7 @@ .section-description { font-size: $font-size-lg; margin-bottom: 0; + color: $brand-main-gray-lighter; + .section-description { margin-top: $spacer; diff --git a/_src/_assets/styles/bigchain/_variables.scss b/_src/_assets/styles/bigchain/_variables.scss index bbf0f85..1ca8d25 100644 --- a/_src/_assets/styles/bigchain/_variables.scss +++ b/_src/_assets/styles/bigchain/_variables.scss @@ -68,7 +68,7 @@ $headings-color: $brand-main-blue-light !default; // Scaffolding // $body-bg: $brand-main-gray !default; -$text-color: $brand-main-gray-lighter !default; +$text-color: $brand-main-gray-light !default; $link-color: inherit !default; $link-hover-color: #fff !default; diff --git a/_src/_layouts/page.html b/_src/_layouts/page.html index 0835ce9..d4a9e9d 100644 --- a/_src/_layouts/page.html +++ b/_src/_layouts/page.html @@ -7,7 +7,13 @@ layout: base {% include menu-main.html %}
-

{{ page.title }}

+

+ {% if page.tagline %} + {{ page.tagline }} + {% else %} + {{ page.title }} + {% endif %} +

diff --git a/_src/community.html b/_src/community.html index 3ea15c8..ea1fe49 100644 --- a/_src/community.html +++ b/_src/community.html @@ -2,6 +2,7 @@ layout: page title: Community +tagline: "Get Involved" description: 'There are many ways you can contribute to the BigchainDB project, some very easy and others more involved.' image: photo2.jpg @@ -13,7 +14,6 @@ quotes: set3
-

Get Involved

There are many ways you can contribute to the BigchainDB project, some very easy and others more involved. We welcome all potential contributors, so we ask that everyone participating abide by some simple guidelines.

Read The Guidelines diff --git a/_src/contact.html b/_src/contact.html index ff7b87f..a86051f 100644 --- a/_src/contact.html +++ b/_src/contact.html @@ -2,14 +2,11 @@ layout: page title: Contact +tagline: Get In Touch ---
-
-

Get In Touch

-
-
{% include/form-contact.html %} diff --git a/_src/usecases.html b/_src/usecases.html index c0b77f2..1484537 100644 --- a/_src/usecases.html +++ b/_src/usecases.html @@ -2,12 +2,12 @@ layout: page title: Use Cases +tagline: Where blockchains and databases meet description: For blockchain technology to go mainstream, it needs scale. At BigchainDB, we’ve taken care of that for you. image: photo4.jpg intro: - title: Where blockchains and databases meet description: "BigchainDB is for developers and organizations looking for a scalable, queryable database with blockchain characteristics such as decentralization, immutability and the ability to treat anything stored in the database as an asset. Whether it’s atoms, bits or bytes of value, any real-world blockchain application needs scale and performance. A perfect fit for BigchainDB." addition: "We’re still in the early days of the decentralization movement and while all of the industries below are being disrupted in one way or another, there’s an abundance of opportunity within each." contact: @@ -24,17 +24,16 @@ js: page-usecases.min.js
-

{{ page.intro.title }}

-

{{ page.intro.description }}

+

{{ page.intro.description }}

-
-
- {{ page.intro.addition }} -
-
-

{{ page.intro.contact.text }}
{{ page.intro.contact.action }}

-
+
+
+ {{ page.intro.addition }}
+
+

{{ page.intro.contact.text }}
{{ page.intro.contact.action }}

+
+
diff --git a/_src/whitepaper/index.md b/_src/whitepaper/index.md index d3f78d7..bbe3817 100644 --- a/_src/whitepaper/index.md +++ b/_src/whitepaper/index.md @@ -2,6 +2,7 @@ layout: page title: Whitepaper +tagline: "BigchainDB: A Scalable Blockchain Database" description: 'This paper describes BigchainDB. BigchainDB fills a gap in the decentralization ecosystem: a decentralized database, at scale. It is capable of 1 million writes per second throughput, storing petabytes of data, and sub-second latency.' image: photo3.jpg @@ -15,8 +16,6 @@ whitepaper: button: Download PDF --- -## BigchainDB: A Scalable Blockchain Database - *by
Trent McConaghy, Rodolphe Marques, Andreas Müller, Dimitri De Jonghe, Troy McConaghy, Greg McMullen, Ryan Henderson, Sylvain Bellemare, Alberto Granzotto* *February 2016*