Skip to content

Commit

Permalink
feat: Fixes header color and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Hui committed Mar 8, 2024
1 parent d284729 commit 06175b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="wrapper">
{%- assign default_paths = site.pages | map: "path" -%}
{%- assign page_paths = site.header_pages | default: default_paths -%}
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
<a class="site-title" rel="author" href="{{ "/" | relative_url }}"><img class="main_logo" title="{{site.title | escape }}" src="{{"e4e_website-no-e4e.png" | absolute_url}}"></a>

{%- if page_paths -%}
<nav class="site-nav">
Expand Down
10 changes: 9 additions & 1 deletion _sass/minima/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@
border-top: 5px solid $grey-color-dark;
border-bottom: 1px solid $grey-color-light;
min-height: $spacing-unit * 1.865;
padding-bottom: 15px;
padding-top: 15px;

// Positioning context for the mobile navigation icon
position: relative;
background: #000;

}

.site-title {
Expand Down Expand Up @@ -37,7 +41,7 @@
}

.page-link {
color: $text-color;
color: #999;
line-height: $base-line-height;

// Gaps between nav items, but not on the last one
Expand Down Expand Up @@ -100,6 +104,10 @@
}
}

.main_logo {
max-width: 350px;
max-height: 100px;
}


/**
Expand Down
Binary file added e4e_website-no-e4e.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 06175b7

Please sign in to comment.