Skip to content

Commit

Permalink
Merge pull request #133 from sarahperea/halloween-footer
Browse files Browse the repository at this point in the history
added a footer to halloween page uniform with home page
  • Loading branch information
sudz123 authored Oct 4, 2018
2 parents 16078f9 + d990e78 commit fbfa164
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/haloween.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,14 @@ <h1 id="page-title">🎃 Happy Halloween</h1>
</div>
</section>

<footer id="footer"> </footer>
<div class="footer">
<div class="wrap">
<div class="copyright">
<p>
<script>document.write(new Date().getFullYear());</script> ALL RIGHTS RESERVED</p>
</div>
</div>
</div>
<script type="text/javascript" src="./scripts/halloween/easter_egg.js"></script>
</body>
</html>
23 changes: 23 additions & 0 deletions src/style/halloween/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,26 @@ p{
padding: 10px;
}

.footer {
position: relative;
left: 0;
bottom:-20px;
width: 100%;
background-color: black;
color: #fff;
text-align: left;
font-family:"Playfair Display", Georgia, serif;
padding:10px 0;
}

.copyright{
text-align:center;
display:inline-block;
clear:both;
width:100%;
}

.footer .copyright p {
font-family: "Karla", Arial, sans-serif;
font-size: 12px;
}
1 change: 0 additions & 1 deletion src/style/home/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ li {
}

.footer {

position: relative;
left: 0;
bottom:-20px;
Expand Down

0 comments on commit fbfa164

Please sign in to comment.