Skip to content

Commit

Permalink
Move github related post-header icons on the righ
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed May 16, 2017
1 parent 30f2e54 commit 7a3ca9b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _layouts/page.html
Expand Up @@ -5,8 +5,8 @@

<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
<a href="https://github.com/fusioninventory/fusioninventory.github.io/tree/master/{{ page.path }}"><img src="{{ baseurl }}/images/edit_page.png" title="Edit this page on github" alt="Edit this page on github"/></a>
<a href="https://github.com/fusioninventory/fusioninventory.github.io/issues/new?title={{ page.path }}"><img src="{{ baseurl }}/images/report_issue.png" title="Report issue on github" alt="Report issue on github"/></a>
<a href="https://github.com/fusioninventory/fusioninventory.github.io/tree/master/{{ page.path }}" class="edit-icon"><img src="{{ baseurl }}/images/edit_page.png" title="Edit this page on github" alt="Edit this page on github"/></a>
<a href="https://github.com/fusioninventory/fusioninventory.github.io/issues/new?title={{ page.path }}" class="issue-icon"><img src="{{ baseurl }}/images/report_issue.png" title="Report issue on github" alt="Report issue on github"/></a>

<!--the Twitter base https://twitter.com/share -->

Expand Down
14 changes: 11 additions & 3 deletions _sass/_layout.scss
Expand Up @@ -198,6 +198,14 @@
*/
.post-header {
margin-bottom: $spacing-unit;

.edit-icon {
float: right;
}

.issue-icon {
float: right;
}
}

.post-title {
Expand All @@ -214,23 +222,23 @@
margin-bottom: $spacing-unit;

h2 {
font-size: 32px;
font-size: $base-font-size * 1.5;

@include media-query($on-laptop) {
font-size: 28px;
}
}

h3 {
font-size: 26px;
font-size: $base-font-size * 1.2;

@include media-query($on-laptop) {
font-size: 22px;
}
}

h4 {
font-size: 20px;
font-size: $base-font-size;

@include media-query($on-laptop) {
font-size: 18px;
Expand Down

0 comments on commit 7a3ca9b

Please sign in to comment.