9984 banner draft

This commit is contained in:
Matthias Kretschmann 2017-08-12 18:09:47 +02:00
parent f082840261
commit 2f54173ee1
Signed by: m
GPG Key ID: 606EEEF3C479A91F
7 changed files with 105 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,83 @@
$brand-9984-01: #ec008c !default;
$brand-9984-02: #f7931d !default;
$brand-9984-03: #161d21 !default;
$brand-9984-04: #e6e6e6 !default;
$font-family-silkscreen: silkscreennormal, monospace !default;
@font-face {
font-family: silkscreennormal;
// stylelint-disable declaration-colon-newline-after
src: url('../fonts/slkscr-webfont.woff2') format('woff2'),
url('../fonts/slkscr-webfont.woff') format('woff');
// stylelint-enable
font-weight: $font-weight-normal;
font-style: normal;
}
.banner--ninenine {
text-align: center;
background: $brand-9984-03;
font-family: $font-family-silkscreen;
font-weight: $font-weight-normal;
font-style: normal;
padding-top: $spacer / 2;
padding-bottom: $spacer / 2;
&,
.divider--9984,
.divider--slashes,
.ninenine__action {
transition: .15s ease-out;
}
&:hover,
&:focus {
background: $brand-9984-01;
.divider--9984,
.divider--slashes {
color: $brand-9984-04;
}
.ninenine__action {
background: $brand-9984-04;
color: $brand-9984-01;
}
}
}
.ninenine__content {
display: inline-block;
position: relative;
}
.ninenine__title,
.ninenine__meta,
.ninenine__tagline {
font-size: .8rem;
line-height: $line-height;
margin: 0;
color: $brand-9984-04;
em {
font-style: normal;
}
}
.ninenine__action {
box-shadow: none;
color: $brand-9984-04;
background: $brand-9984-01;
padding: $spacer / 5 $spacer / 4;
margin-left: $spacer / 2;
}
.divider--9984 {
color: $brand-9984-01;
}
.divider--slashes {
color: $brand-9984-02;
}

View File

@ -62,3 +62,4 @@
@import 'page-partners';
@import 'page-enterprise';
@import 'ipdb';
@import '9984';

11
_src/_includes/9984.html Normal file
View File

@ -0,0 +1,11 @@
<aside class="banner--ninenine ninenine">
<a href="https://2017.9984.io">
<div class="row row--wide">
<div class="ninenine__content">
<h1 class="ninenine__title">9984 <em class="divider--9984">>></em> SUMMIT <span class="ninenine__tagline"><em class="divider--slashes">//</em> Blockchain Futures for Developers, Enterprises &amp; Society</span></h1>
<h2 class="ninenine__meta">October 5 - 6, 2017 <em class="divider--slashes">//</em> Berlin, Germany <span class="ninenine__action">Get your ticket now</span></h2>
</div>
</div>
</a>
</aside>

View File

@ -13,6 +13,8 @@
</div>
<![endif]-->
{% include 9984.html %}
{{ content }}
{% include footer.html %}

View File

@ -232,6 +232,13 @@ export const images = () => src(SRC + '_assets/images/**/*')
.pipe(dest(DIST + 'assets/img/'))
//
// Copy Fonts
//
export const fonts = () => src(SRC + '_assets/fonts/**/*')
.pipe(dest(DIST + 'assets/fonts/'))
//
// Revision static assets
//
@ -328,7 +335,7 @@ const deployBanner = (done) => {
// `gulp build` is the development build
// `gulp build --production` is the production build
//
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, svg), rev, revReplace, criticalCss)
export const build = series(buildBanner, clean, jekyll, parallel(html, css, js, images, fonts, svg), rev, revReplace, criticalCss)
//
// Build site, run server, and watch for file changes