refactor: footer styles

This commit is contained in:
George Cushen 2020-09-20 15:42:22 +01:00
commit ec6c60ba64
3 changed files with 34 additions and 27 deletions

View file

@ -1,3 +1,34 @@
// Footer styles
footer {
margin: 4rem 0 0;
padding: 2rem 0;
width: 100%;
}
footer p {
font-size: 0.75rem;
text-align: center;
}
footer .powered-by {
font-size: 0.67rem;
}
.site-footer,
footer a.back-to-top i {
color: rgba(0,0,0,0.54);
}
// Dark footer theme
.dark .site-footer,
.dark footer a.back-to-top i,
.dark .docs .body-footer {
color: rgba(255,255,255,0.54);
}
// Footer copyright license
.footer-license-icons {
display: flex;
flex-direction: row;

View file

@ -362,32 +362,6 @@ a[data-fancybox] {
color: #ddd;
}
/*************************************************
* Footer
**************************************************/
footer {
margin: 4rem 0 0;
padding: 2rem 0;
width: 100%;
}
footer p {
font-size: 0.75rem;
text-align: center;
}
site-footer,
footer a.back-to-top i {
color: rgba(0,0,0,0.54);
}
.dark site-footer,
.dark footer a.back-to-top i,
.dark .docs .body-footer {
color: rgba(255,255,255,0.54);
}
/**************************************************
* Tags/Labels
**************************************************/

View file

@ -21,7 +21,9 @@
<p class="powered-by">
{{ if not site.Params.i_am_a_sponsor }}
Published with
<a href="https://wowchemy.com" target="_blank" rel="noopener">Wowchemy Website Builder</a>
<a href="https://wowchemy.com" target="_blank" rel="noopener">Wowchemy</a>
the free, <a href="https://github.com/wowchemy/wowchemy-hugo-modules" target="_blank" rel="noopener">
open source</a> website builder that empowers creators.
{{ end }}
{{ if not (in (slice "book" "docs" "updates") .Type) }}