Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Commit 5cbfabb

Browse files
author
Yuma Soga
committed
#35 Update Logo in Navigatin Bar
1 parent b0cd112 commit 5cbfabb

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

app/assets/stylesheets/bootstrap-creative/_navbar.scss

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
@include sans-serif-font;
77
@include transition-all;
88
.navbar-brand {
9-
font-weight: 700;
10-
text-transform: uppercase;
11-
color: $primary;
12-
@include sans-serif-font;
9+
background: image-url('coderdojo-konan-header-logo.png') no-repeat left center;;
10+
background-size: contain;
11+
height: 50px;
12+
width: 200px;
1313
&:focus,
1414
&:hover {
1515
color: darken($primary, .1);
@@ -38,9 +38,11 @@
3838
}
3939
@media (min-width: 992px) {
4040
border-color: transparent;
41-
background-color: transparent;
41+
background: rgba(0,0,0,0.3);
4242
.navbar-brand {
4343
color: fade-out($white, .3);
44+
height: 60px;
45+
width: 350px;
4446
&:focus,
4547
&:hover {
4648
color: $white;

app/views/staticpages/index.html.haml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/ Navigation
22
%nav#mainNav.navbar.navbar-expand-lg.navbar-light.fixed-top
3-
.container
4-
%a.navbar-brand.js-scroll-trigger{:href => "#page-top"} Start Bootstrap
3+
.container-fluid
4+
%a.navbar-brand.js-scroll-trigger{:href => "#page-top"}
55
%button.navbar-toggler.navbar-toggler-right{"aria-controls" => "navbarResponsive", "aria-expanded" => "false", "aria-label" => "Toggle navigation", "data-target" => "#navbarResponsive", "data-toggle" => "collapse", :type => "button"}
66
%span.navbar-toggler-icon
77
#navbarResponsive.collapse.navbar-collapse

0 commit comments

Comments
 (0)