add footer style

This commit is contained in:
FarseaSH 2021-09-02 10:59:57 +08:00
parent b7e6c0cd39
commit 9d41748d8a
2 changed files with 8 additions and 11 deletions

View file

@ -1,5 +1,3 @@
<footer class="footer mt-auto py-3"> <div class="footer">
<div class="container footcontainer"> Powered by <a href="https://www.hugo.io">Hugo</a> | Theme <a href="https://github.com/FarseaSH/hugo-theme-moments">Moments</a>
<div class="text-muted">Powered by <a href="https://www.hugo.io">Hugo</a> | Theme <a href="https://github.com/FarseaSH/hugo-theme-moments">Moments</a></div> </div>
</div>
</footer>

View file

@ -169,17 +169,16 @@ hr {
/* footer底注 */ /* footer底注 */
.footer { .footer {
padding-top: 20px;
padding-bottom: 30px;
background-color: #f5f5f5; background-color: #f5f5f5;
color: #6c757d !important;
text-align: center; text-align: center;
font-size: 95%; font-size: 95%;
} }
.footcontainer {
width: auto;
padding-right: 15px;
padding-left: 15px;
}
.footcontainer a{ .footer a{
text-decoration: underline !important; text-decoration: underline !important;
color:#6c757d !important; color:#6c757d !important;
} }