Skip to content

Commit

Permalink
Merge pull request #9 from anehx/add-logo
Browse files Browse the repository at this point in the history
docs(logo): Add the new logo into the header
  • Loading branch information
czosel authored May 8, 2019
2 parents 499e9e7 + e355310 commit 317aeec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</head>
<body>
<header class="page-header" role="banner">
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<img class="project-logo" src="/assets/images/logo.svg" alt="{{ site.title | default: site.github.repository_name }}">
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<a href="{{ site.github.owner_url }}" class="btn">GitHub</a>
<div class="contact">
Expand All @@ -27,6 +27,8 @@ <h2 class="project-tagline">{{ site.description | default: site.github.project_t

<footer class="site-footer">
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
<br>
<span class="site-footer-credits">Logo designed by <a href="https://github.com/hutriteguh">Hutri Teguh</a>.</span>
</footer>
</main>

Expand Down
6 changes: 3 additions & 3 deletions assets/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ $body-link-color: $caluma-blue;
body {
font-family: "Oxygen", Helvetica, Arial, sans-serif;
}
.project-name {
font-size: 4rem;
font-weight: 300;
.project-logo {
width: 100%;
max-width: 30rem;
}
.contact {
margin-top: 3rem;
Expand Down
1 change: 1 addition & 0 deletions assets/images/logo.svg
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 317aeec

Please sign in to comment.