Skip to content

Commit

Permalink
feat: Adds E4E Logo Home Button
Browse files Browse the repository at this point in the history
  • Loading branch information
ntlhui committed Jan 19, 2024
1 parent 46cb44b commit 04b15e1
Show file tree
Hide file tree
Showing 4 changed files with 9 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" src="{{ "e4e_website-no-e4e.png" | relative_url }}" title="UCSD Engineers for Exploration"></a>

{%- if page_paths -%}
<nav class="site-nav">
Expand Down
6 changes: 6 additions & 0 deletions _sass/e4e.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.main_logo {
max-width: 350px;
max-height: 100px;
margin-bottom: -60px;
margin-top: -10px;
}
3 changes: 2 additions & 1 deletion _sass/minima.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,6 @@ $on-laptop: 800px !default;
@import
"minima/base",
"minima/layout",
"minima/syntax-highlighting"
"minima/syntax-highlighting",
"e4e"
;
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 04b15e1

Please sign in to comment.