Merge pull request #57 from safing/feature/link-blog-posts-to-ks

Add Kickstarter banner to footer
This commit is contained in:
Dave Gson 2020-02-05 12:56:33 +00:00 committed by GitHub
commit 663ae2d213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 37 additions and 3 deletions

View file

@ -1,3 +1,12 @@
<content class="kickstarter-plug">
<a href="{{ site.kickstarter_url }}">
<div>
<h3>Our Kickstarter campaign is live!</h3>
<p>become one of the SPN's first users 🏆 and get exclusive behind-the-scenes videos 🎬</p>
</div>
</a>
</content>
<footer class="f-bg">
<div class="list">
<ul>
@ -41,4 +50,4 @@
<li>Safing © {{ site.time | date: '%Y' }}</li>
</ul>
</div>
</footer>
</footer>

View file

@ -1,3 +1,29 @@
content.kickstarter-plug {
width: 100%;
a {
width: 100%;
background-color: rgba(5, 206, 120, 0.99);
text-decoration: none;
color: black;
div {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
padding: 3.5em;
h3 {
text-decoration: underline;
font-weight: normal;
font-size: 1.5em;
margin-bottom: 0.4em;
}
}
}
}
footer{
color: white;
height: 45vh;
@ -90,11 +116,10 @@ footer .legal ul li{
}
@media (max-width: 1318px) {
footer{
height: 45vh;
border-top-style: solid;
border-top-width: 8rem;
// border-top-width: 8rem; removed because of KS plug banner
}
footer .list ul{