slightly simplify the footer structure

This commit is contained in:
lone-cloud 2016-10-12 14:58:55 -07:00
parent 6d659f2136
commit 81ae7b8423
4 changed files with 18 additions and 17 deletions

View file

@ -27,13 +27,13 @@
{{/if}}
<footer id="footer">
<p>
<span class="relative">
<span id="dimmer" {{action "toggleDimmer"}} class={{dimmerOnClass}}></span>© {{year}}
<div id="dimmer" {{action "toggleDimmer"}} class={{dimmerOnClass}}></div>
<a href="http://egorphilippov.me" target="_blank" rel="noopener noreferrer">
Egor Philippov
</a>
</span>
</p>
<div id="footer-text">
© {{year}}
<a href="http://www.egorphilippov.me" div="" target="_blank" rel="noopener noreferrer">
Egor Philippov
</a>
</div>
</footer>

View file

@ -23,7 +23,7 @@ html {
}
body {
margin-bottom: $footerHeight + 30px;
margin-bottom: $footerHeight;
position: static;
}
@ -40,11 +40,14 @@ body, button {
left: 0;
bottom: 0;
width: 100%;
text-align: center;
height: $footerHeight;
p {
padding-left: 0;
text-align: center;
}
}
#footer-text {
display: inline-block;
position: relative;
bottom: 10px;
a {
margin-left: 5px;
}

View file

@ -82,9 +82,7 @@ body.dimmerOn {
}
#dimmer {
position: absolute;
left: -50px;
bottom: -10px;
display: inline-block;
cursor: pointer;
width: 40px;
height: 40px;

View file

@ -1,6 +1,6 @@
$playerHeight: 400px;
$playerDefaultIconColor: #BBBBBB;
$footerHeight: 40px;
$footerHeight: 45px;
$playerBottomHeight: 255px;
$secondaryThemeColor: #F12B24;
$glowingText: 0 0 2px #fff, 0 0 8px #fff, 0 0 20px #228DFF;