Skip to content

Commit

Permalink
Fix center alignment of elements.
Browse files Browse the repository at this point in the history
Most of these changes compensate extra space around the SVG icons.
  • Loading branch information
cbrueffer committed Aug 22, 2019
1 parent c9cee9e commit ae9e470
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion _includes/footer.html
@@ -1,5 +1,7 @@
<footer class="footer-main">
{{ site.name }} © {{ site.time | date: '%Y' }}
<span class="copyright">
{{ site.name }} © {{ site.time | date: '%Y' }}
</span>
<a class="link" href="{{ site.url }}/feed.xml" target="_blank">
{% fa_svg fas.fa-rss %}
</a>
Expand Down
8 changes: 6 additions & 2 deletions _sass/components/footer.sass
Expand Up @@ -22,12 +22,16 @@
box-shadow: #FFF 0 0 0 5px
border-radius: 3px

> .copyright
padding-left: 10px

> .link
display: inline
vertical-align: middle

> .icon
width: 30px !important
height: 30px !important
width: 25px !important
height: 25px !important
display: inline-block
fill: $gama !important
transition: ease-in-out all .3s
Expand Down
1 change: 0 additions & 1 deletion _sass/components/nav.sass
Expand Up @@ -40,7 +40,6 @@
margin: 0
border-radius: 4%
transition: all .4s ease-in-out
width: 70px

&:hover
color: $alpha
1 change: 1 addition & 0 deletions _sass/components/social-links.sass
@@ -1,5 +1,6 @@
.social-links
margin-top: 20px
margin-left: 15px

> .link
margin: 0
Expand Down

0 comments on commit ae9e470

Please sign in to comment.