Skip to content

Commit

Permalink
More header
Browse files Browse the repository at this point in the history
  • Loading branch information
Hekili authored Nov 2, 2023
1 parent 64accd1 commit c71eb58
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
12 changes: 9 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,15 @@

<section>
<div id="title">
<img class="logo" src="/assets/images/tacodog.png" />
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
<div class="flex-container">
<div class="flex-child">
<img class="logo" src="/assets/images/tacodog.png" />
</div>
<div class="flex-child">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p>{{ site.description | default: site.github.project_tagline }}</p>
</div>
</div>
<hr>
<span class="credits left">Project maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></span>
<span class="credits right"><!-- Hosted on GitHub Pages &mdash; Theme by <a href="https://twitter.com/mattgraham">mattgraham</a>--></span>
Expand Down
15 changes: 14 additions & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@

@import "{{ site.theme }}";

.flex-container {
display: flex;
};

.flex-child {
flex: 1;
border: 2px solid yellow;
};

.flex-child:first-child {
margin-right: 20px;
};

.logo {
display: inline;
width: 100px;
width: 74px;
height: 100px;
};

0 comments on commit c71eb58

Please sign in to comment.