diff options
author | Mark Otto <markdotto@gmail.com> | 2020-05-31 05:00:08 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2020-06-16 21:19:32 +0300 |
commit | 6ca54573a9bdf2062fc863e4d1b9305b5aa01ecd (patch) | |
tree | 40f7ff2bf785a05798b191fdfdd3faa82abe5335 /site/assets | |
parent | e0845885178cf2cc8f345f5d2ee41ea1c53f022a (diff) |
Update v5 homepage to match v4.5's changes
Diffstat (limited to 'site/assets')
-rw-r--r-- | site/assets/scss/_buttons.scss | 7 | ||||
-rw-r--r-- | site/assets/scss/_content.scss | 4 | ||||
-rw-r--r-- | site/assets/scss/_masthead.scss | 48 |
3 files changed, 26 insertions, 33 deletions
diff --git a/site/assets/scss/_buttons.scss b/site/assets/scss/_buttons.scss index 0ed47855f8..6a2d703e63 100644 --- a/site/assets/scss/_buttons.scss +++ b/site/assets/scss/_buttons.scss @@ -4,14 +4,15 @@ .btn-bd-primary { font-weight: 600; - color: $bd-purple-bright; + color: $white; + background-color: $bd-purple-bright; border-color: $bd-purple-bright; &:hover, &:active { color: $white; - background-color: $bd-purple-bright; - border-color: $bd-purple-bright; + background-color: darken($bd-purple-bright, 10%); + border-color: darken($bd-purple-bright, 10%); } &:focus { diff --git a/site/assets/scss/_content.scss b/site/assets/scss/_content.scss index f238fdf727..a6c1639b06 100644 --- a/site/assets/scss/_content.scss +++ b/site/assets/scss/_content.scss @@ -68,3 +68,7 @@ .bd-text-purple-bright { color: $bd-purple-bright; } + +.bd-bg-purple-bright { + background-color: $bd-purple-bright; +} diff --git a/site/assets/scss/_masthead.scss b/site/assets/scss/_masthead.scss index e524f271af..770815a5aa 100644 --- a/site/assets/scss/_masthead.scss +++ b/site/assets/scss/_masthead.scss @@ -1,6 +1,10 @@ .bd-masthead { padding: 3rem 0; - background-image: linear-gradient(45deg, #fafafa, #f5f5f5); + background: linear-gradient(165deg, lighten($bd-purple-light, 16%) 50%, $white 50%); + + @include media-breakpoint-up(sm) { + padding: 5rem 0; + } h1 { @include font-size(4rem); @@ -15,40 +19,24 @@ padding: .8rem 2rem; font-weight: 600; } - - @include media-breakpoint-up(sm) { - padding: 5rem 0; + .lead { + @include font-size(1.5rem); + font-weight: 400; + color: $gray-700; } } -.lead-lg { - @include font-size(1.5rem); -} - -.home-icon { - width: 6rem; - height: 6rem; - @include border-radius(25%); - box-shadow: 0 .25rem .5rem rgba(0, 0, 0, .15), inset 0 -1px 0 rgba(0, 0, 0, .15); -} - -.home-icon-purple { - background-image: linear-gradient(180deg, $pink, $purple); -} - -.home-icon-blue { - background-image: linear-gradient(180deg, $teal, $blue); -} - -.home-icon-yellow { - background-image: linear-gradient(180deg, $yellow, $orange); -} - @include media-breakpoint-up(md) { .mw-md-75 { max-width: 75%; } } -.half-rule { - width: 6rem; - margin: 2rem 0; +.masthead-followup-icon { + padding: .75rem; + background-image: linear-gradient(to bottom right, rgba(255, 255, 255, .2), rgba(255, 255, 255, .01)); + @include border-radius(.75rem); + box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .1); +} + +.masthead-followup-svg { + filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .125)); } |