From bbfb32aa9286b7fdd46843e9a83dc37eb9cfd813 Mon Sep 17 00:00:00 2001 From: Jason Costello Date: Fri, 3 Mar 2017 19:04:56 -0800 Subject: [PATCH] SVG logo --- website/source/assets/images/logo-header.svg | 30 +++++++++++++++++++ .../source/assets/stylesheets/_header.scss | 8 ++--- .../hashicorp-shared/_project-utility.scss | 4 +-- 3 files changed, 36 insertions(+), 6 deletions(-) create mode 100644 website/source/assets/images/logo-header.svg diff --git a/website/source/assets/images/logo-header.svg b/website/source/assets/images/logo-header.svg new file mode 100644 index 0000000000..7f9e690f4c --- /dev/null +++ b/website/source/assets/images/logo-header.svg @@ -0,0 +1,30 @@ + + + HashiCorp Terraform + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/website/source/assets/stylesheets/_header.scss b/website/source/assets/stylesheets/_header.scss index 2f6c87c33a..2b092a6d6c 100755 --- a/website/source/assets/stylesheets/_header.scss +++ b/website/source/assets/stylesheets/_header.scss @@ -15,11 +15,11 @@ body.page-sub{ .navbar-brand { .logo{ - font-size: 32px; + width: $project-logo-width; + height: $project-logo-height; + font-size: 0px; font-family: $font-family-klavika; - font-weight: 500; - background: image-url('logo-header.png') 0 0 no-repeat; - @include img-retina("../images/logo-header.png", "../images/logo-header@2x.png", $project-logo-width, $project-logo-height); + background: image-url('logo-header.svg') 0 0 no-repeat; background-position: 0 40%; &:hover{ diff --git a/website/source/assets/stylesheets/hashicorp-shared/_project-utility.scss b/website/source/assets/stylesheets/hashicorp-shared/_project-utility.scss index 570d6932c2..1efeeb53d5 100755 --- a/website/source/assets/stylesheets/hashicorp-shared/_project-utility.scss +++ b/website/source/assets/stylesheets/hashicorp-shared/_project-utility.scss @@ -4,8 +4,8 @@ // -------------------------------------------------- // Variables -$project-logo-width: 38px; -$project-logo-height: 40px; +$project-logo-width: 163px; +$project-logo-height: 42px; $project-logo-pad-left: 8px; // Mixins