mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 03:00:50 +02:00
refactor: footer styles
This commit is contained in:
parent
c4ce9f5bd3
commit
ec6c60ba64
3 changed files with 34 additions and 27 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
**************************************************/
|
||||
|
|
|
@ -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) }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue