Skip to content

Commit

Permalink
Improve header look
Browse files Browse the repository at this point in the history
  • Loading branch information
jlian committed Mar 6, 2019
1 parent 473422f commit 664c640
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/page-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{{ $.Scratch.Set "transparency" "bg-black-50" }}
{{ $.Scratch.Set "text_color" "white-80" }}
<header class="cover bg-top" style="background: url('{{ $featured_image }}') center;">
<div class="bg-black-30">
<div class="bg-black-20">
<div>
{{ partial "site-navigation.html" .}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/site-header.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{/* Trimming the slash and adding absURL make sure the image works no matter where our site lives */}}
{{ $featured_image := (trim $featured_image "/") | absURL }}
<header class="cover bg-top" style="background: url('{{ $featured_image }}') center;">
<div class="bg-black-30">
<div class="bg-black-20">
{{ partial "site-navigation.html" .}}
<div class="tc-l pv3 pv6-l ph3 ph4-ns">
<h1 class="f2 f1-m f-headline-l measure-narrow lh-title mv0">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/summary-with-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<div class="mb3 pr3-ns mb0-ns w-100 w-40-ns">
<a href="{{.URL}}" class="db dim aspect-ratio aspect-ratio--16x9">
<div style="background: url('{{ $featured_image }}') center;" class="img aspect-ratio--object cover overflow-hidden flex" alt="image from {{ .Title }}">
<div class="bg-black-30 cover w-100 dn-ns">
<div class="bg-black-20 cover w-100 dn-ns">
<div class="mw8 center pv3 pv5-l ph3">
<time class="f6 mb2 dib ttu tracked white-80">
{{ .Date.Format "January 2, 2006" }}
Expand Down
2 changes: 1 addition & 1 deletion static/css/style.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.personal {
fill: #BABABA;
fill: hsla(0,0%,100%,.9);
}

.personal:hover {
Expand Down

0 comments on commit 664c640

Please sign in to comment.