logo header

This commit is contained in:
captainill 2015-11-10 10:55:52 -08:00
parent d77f55b312
commit 0bfa65c438
5 changed files with 8 additions and 6 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 978 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@ -9,11 +9,13 @@
background-color: $black;
.navbar-brand {
.logo{
font-size: 20px;
text-transform: uppercase;
color: $green;
padding-left: 36px;
font-size: 22px;
line-height: 77px;
background: image-url('../images/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-position: 0 45%;
background-position: 0 center;
&:hover{
opacity: .6;

View File

@ -4,8 +4,8 @@
// --------------------------------------------------
// Variables
$project-logo-width: 38px;
$project-logo-height: 40px;
$project-logo-width: 24px;
$project-logo-height: 34px;
$project-logo-pad-left: 8px;
// Mixins

View File

@ -25,7 +25,7 @@
<div class="container-fluid">
<div class="navbar-header">
<div class="navbar-brand">
<a class="logo" href="/">packer</a>
<a class="logo" href="/">Packer</a>
<a class="by-hashicorp white" href="https://hashicorp.com/"><span class="svg-wrap">by</span><%= partial "layouts/svg/svg-by-hashicorp" %><%= partial "layouts/svg/svg-hashicorp-logo" %>Hashicorp</a>
</div>
<button class="navbar-toggle white" type="button">