Skip to content

Commit

Permalink
Add Theme Attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix committed Jan 11, 2020
1 parent 0ce2905 commit d138c77
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
6 changes: 6 additions & 0 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,10 @@

{% include social.html %}

{%- assign theme_name = "portfolYOU" -%}
{%- assign theme_repo = "https://github.com/YoussefRaafatNasry/portfolYOU" -%}
<small id="attribution">
theme <a href="{{ theme_repo }}">{{ theme_name }}</a>
</small>

</footer>
20 changes: 19 additions & 1 deletion _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,22 @@ body {
// Footer
.social {
text-decoration: none !important;
}
}

#attribution {
opacity: 0.5;
a {
text-decoration: none;
font-weight: bold;
}
}

@media only screen and (min-width: 768px) {
#attribution {
writing-mode: vertical-rl;
transform: rotate(180deg);
position: fixed;
bottom: 56px;
right: 22px;
}
}

0 comments on commit d138c77

Please sign in to comment.