From 4343a6442fa49f3f0db44d06780eaccedb112c1b Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 18 May 2017 21:08:45 +0200 Subject: [PATCH 1/2] IPDB banner --- _src/_assets/images/ipdb-rocket.svg | 7 +++++ _src/_assets/styles/_ipdb.scss | 42 +++++++++++++++++++++++++++++ _src/_assets/styles/bigchain.scss | 2 ++ _src/_includes/footer.html | 1 + _src/_includes/ipdb.html | 12 +++++++++ 5 files changed, 64 insertions(+) create mode 100644 _src/_assets/images/ipdb-rocket.svg create mode 100644 _src/_assets/styles/_ipdb.scss create mode 100644 _src/_includes/ipdb.html diff --git a/_src/_assets/images/ipdb-rocket.svg b/_src/_assets/images/ipdb-rocket.svg new file mode 100644 index 0000000..5f8050b --- /dev/null +++ b/_src/_assets/images/ipdb-rocket.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/_src/_assets/styles/_ipdb.scss b/_src/_assets/styles/_ipdb.scss new file mode 100644 index 0000000..f37703a --- /dev/null +++ b/_src/_assets/styles/_ipdb.scss @@ -0,0 +1,42 @@ +.ipdb { + text-align: center; + background: linear-gradient(-45deg, #114656 0%, #062e38 100%); + overflow: hidden; + + a { + font-weight: $font-weight-light; + color: rgba(#fff, .7); + display: block; + box-shadow: none; + padding: $spacer; + + &:hover { + background: none; + color: #fff; + } + } +} + +.ipdb__content { + display: inline-block; + position: relative; +} + +.ipdb-rocket { + fill: #fff; + position: absolute; + right: 0; + top: -.5rem; + width: 4rem; + height: 2.8rem; + opacity: .3; + + @media ($screen-sm) { + opacity: 1; + right: -5rem; + } + + @media ($screen-md) { + + } +} diff --git a/_src/_assets/styles/bigchain.scss b/_src/_assets/styles/bigchain.scss index 455d9b3..9afc3e0 100644 --- a/_src/_assets/styles/bigchain.scss +++ b/_src/_assets/styles/bigchain.scss @@ -58,3 +58,5 @@ @import 'page-contact'; @import 'page-cla'; @import 'page-partners'; + +@import 'ipdb'; diff --git a/_src/_includes/footer.html b/_src/_includes/footer.html index a7a41f8..ff5317b 100644 --- a/_src/_includes/footer.html +++ b/_src/_includes/footer.html @@ -1,3 +1,4 @@ +{% include ipdb.html %}