From 680028ccaf214f7d5e2d5a5d75f56d734ea97386 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 7 Sep 2017 14:05:37 +0200 Subject: [PATCH] caretakers tweaks --- _src/_assets/scss/_caretakers.scss | 6 ++---- _src/_assets/scss/page-foundation.scss | 4 ---- _src/_includes/caretakers.html | 4 ++-- _src/docs.md | 2 +- 4 files changed, 5 insertions(+), 11 deletions(-) diff --git a/_src/_assets/scss/_caretakers.scss b/_src/_assets/scss/_caretakers.scss index 89ce44e..62a7119 100644 --- a/_src/_assets/scss/_caretakers.scss +++ b/_src/_assets/scss/_caretakers.scss @@ -15,7 +15,6 @@ &:hover, &:focus { .logo-caretaker { - opacity: 1; fill: $link-color; color: $link-color; } @@ -25,14 +24,13 @@ .logo-caretaker { fill: $brand-04; color: $brand-04; - opacity: .6; max-width: 100%; - height: 20px; // need to hardcode some size to overwrite browser's default 150px height for SVGs + height: 1.5rem; // need to hardcode some size to overwrite browser's default 150px height for SVGs transition: .25s ease-out; @media ($screen-sm) { height: auto; - max-height: 40px; + max-height: 2.2rem; } } diff --git a/_src/_assets/scss/page-foundation.scss b/_src/_assets/scss/page-foundation.scss index a175a54..afafb24 100644 --- a/_src/_assets/scss/page-foundation.scss +++ b/_src/_assets/scss/page-foundation.scss @@ -34,10 +34,6 @@ .section__title { font-size: $font-size-h2; } - - .logo-caretaker { - opacity: 1; - } } .section--board { diff --git a/_src/_includes/caretakers.html b/_src/_includes/caretakers.html index bd27cf8..8f50542 100644 --- a/_src/_includes/caretakers.html +++ b/_src/_includes/caretakers.html @@ -1,12 +1,12 @@
- {% assign caretakers = (site.data.caretakers | sort: 'date') %} + {% assign caretakers = (site.data.caretakers | sort: 'name') %} {% for caretaker in caretakers %} {% assign slug = (caretaker.name | downcase | replace: ' ', '-' | replace: '.', '-') %} -