From 26d3d62515b3911f6a3f87e6161b9491cb02d8de Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Wed, 14 Nov 2018 11:35:08 +0800 Subject: Add Hero layout #380 --- docs/dist/spectre.css | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'docs/dist/spectre.css') diff --git a/docs/dist/spectre.css b/docs/dist/spectre.css index 25c0159..64a3d43 100644 --- a/docs/dist/spectre.css +++ b/docs/dist/spectre.css @@ -1,4 +1,4 @@ -/*! Spectre.css v0.5.5 | MIT License | github.com/picturepan2/spectre */ +/*! Spectre.css v0.5.6 | MIT License | github.com/picturepan2/spectre */ /* Manually forked from Normalize.css */ /* normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */ /** 1. Change the default font family in all browsers (opinionated). 2. Correct the line height in all browsers. 3. Prevent adjustments of font size after orientation changes in IE on Windows Phone and in iOS. */ @@ -1310,7 +1310,7 @@ textarea.form-input { } .form-input:not(:placeholder-shown):invalid:focus { - background: #ff701c; + background: #fffaf7; box-shadow: 0 0 0 .1rem rgba(232, 86, 0, .2); } @@ -1952,6 +1952,31 @@ video.video-responsive::before { } } +.hero { + display: flex; + display: -ms-flexbox; + -ms-flex-direction: column; + flex-direction: column; + -ms-flex-pack: justify; + justify-content: space-between; + padding-bottom: 4rem; + padding-top: 4rem; +} + +.hero.hero-sm { + padding-bottom: 2rem; + padding-top: 2rem; +} + +.hero.hero-lg { + padding-bottom: 8rem; + padding-top: 8rem; +} + +.hero .hero-body { + padding: .4rem; +} + .navbar { align-items: stretch; display: flex; -- cgit v1.3.1-26-gb76a