Skip to content

Commit

Permalink
Use logo in header in larger viewports
Browse files Browse the repository at this point in the history
Change header color to match the text of the logo itself. This changes
the look a little but it's more in-line with the logo when changing
viewport size while reading like changing a table from portrait to
landscape.
  • Loading branch information
hifi committed Dec 26, 2023
1 parent 04a5f3d commit 57174d0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
7 changes: 6 additions & 1 deletion assets/scss/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ h3 a {
}

.navbar-brand {
color: #0053fa !important;
color: rgb(12,13,95) !important;
letter-spacing: -1px;
}

.navbar-brand img {
height: 2rem;
}

body.home .navbar-brand {
Expand Down
3 changes: 2 additions & 1 deletion layouts/partials/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
<label class="menu-icon d-md-none" for="menu-btn"><span class="navicon"></span></label>

<a class="navbar-brand order-1 order-md-0 mr-auto" href="{{ .Site.BaseURL | absURL }}">
{{ .Site.Params.Title }}
<img class="d-md-inline d-none" src="/images/logo.svg" />
<span class="d-sm-inline d-md-none">{{ .Site.Params.Title }}</span>
</a>

<ul class="navbar-nav social-nav order-3 order-md-5">
Expand Down

0 comments on commit 57174d0

Please sign in to comment.