Refactor footer style

This commit is contained in:
Cotes Chung 2021-12-05 03:23:00 +08:00
parent 36f55f091d
commit afcf0bde22
4 changed files with 2 additions and 12 deletions

View File

@ -3,7 +3,7 @@
-->
<footer class="d-flex w-100 justify-content-center">
<div class="d-flex justify-content-between align-items-center">
<div class="d-flex justify-content-between align-items-center text-muted">
<div class="footer-left">
<p class="mb-0">
© {{ 'now' | date: "%Y" }}

View File

@ -155,8 +155,6 @@ footer {
padding: 0 1rem;
height: $footer-height;
font-size: 0.8rem;
color: #7a7b7d;
background-color: var(--footer-bg-color);
> div.d-flex {
line-height: 1.2rem;
@ -171,7 +169,7 @@ footer {
}
a {
color: var(--footer-link);
@extend %text-color;
&:link {
@include no-text-decoration;

View File

@ -84,10 +84,6 @@
--timeline-color: rgb(63, 65, 68);
--timeline-year-dot-color: var(--timeline-color);
/* Footer */
--footer-bg-color: var(--main-wrapper-bg);
--footer-link: rgb(171, 171, 171);
.post-content img {
filter: brightness(90%);
}
@ -139,7 +135,6 @@
rgb(39, 39, 45),
rgb(26, 26, 30)
);
}
} // dark-scheme

View File

@ -76,7 +76,4 @@
--timeline-node-bg: #c2c6cc;
--timeline-year-dot-color: #ffffff;
/* Footer */
--footer-bg-color: #ffffff;
--footer-link: #424242;
} // light-scheme