Move nav-fixed to body, apply show-slide overlay tokens, rebuild footer as zibll template_1 list-inline (logo/links/contact/mini + footer-conter), and align navbar brand/logo/menu spacing with zibll main.css.
224 lines
4.1 KiB
CSS
224 lines
4.1 KiB
CSS
/**
|
|
* Footer — Zibll template_1 shell (list-inline)
|
|
*/
|
|
.footer {
|
|
color: var(--footer-color, var(--color-ink-4));
|
|
background: var(--footer-bg, var(--surface-1));
|
|
padding: 30px;
|
|
font-size: 13px;
|
|
margin-top: auto;
|
|
border-top: 1px solid rgba(255, 255, 255, 0.55);
|
|
}
|
|
|
|
.footer a:not(.but):not(.focus-color) {
|
|
color: var(--footer-color, var(--color-ink-4));
|
|
}
|
|
|
|
.footer a:hover {
|
|
color: var(--focus-color, var(--color-primary));
|
|
}
|
|
|
|
.footer .container-footer {
|
|
max-width: calc(var(--mian-max-width, var(--container, 1200px)) + 180px);
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.footer .list-inline {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
list-style: none;
|
|
margin: 0 0 12px;
|
|
padding: 0;
|
|
gap: 10px 0;
|
|
}
|
|
|
|
.footer .list-inline > li {
|
|
margin: 5px 15px;
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
}
|
|
|
|
@media (min-width: 992px) {
|
|
.footer .list-inline > li + li + li {
|
|
margin-left: auto;
|
|
}
|
|
}
|
|
|
|
.footer .footer-logo,
|
|
.footer .footer-logo-img,
|
|
.footer a.footer-logo img {
|
|
height: 40px;
|
|
width: auto;
|
|
max-width: 180px;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.footer .site-footer__logo--night {
|
|
display: none;
|
|
}
|
|
|
|
html.dark .footer .site-footer__logo--day,
|
|
body.dark-theme .footer .site-footer__logo--day {
|
|
display: none;
|
|
}
|
|
|
|
html.dark .footer .site-footer__logo--night,
|
|
body.dark-theme .footer .site-footer__logo--night {
|
|
display: inline-block;
|
|
}
|
|
|
|
.footer .title-h-left,
|
|
.footer .site-footer__title {
|
|
margin: 8px 0 10px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--color-ink, #333);
|
|
}
|
|
|
|
.footer .footer-muted,
|
|
.footer .em09 {
|
|
font-size: 0.92em;
|
|
color: var(--muted-2-color, var(--color-ink-4));
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.footer .fcode-links {
|
|
margin: 0 0 8px;
|
|
line-height: 1.9;
|
|
}
|
|
|
|
.footer .fcode-links > a + a:before {
|
|
content: "";
|
|
width: 4px;
|
|
height: 4px;
|
|
margin: 0 0.5em;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
background: var(--main-color, var(--color-ink-2));
|
|
opacity: 0.3;
|
|
vertical-align: 0.2em;
|
|
}
|
|
|
|
.footer .footer-contact {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.footer .footer-contact > a,
|
|
.footer .footer-contact__item {
|
|
font-size: 18px;
|
|
margin: 5px;
|
|
width: 35px;
|
|
height: 35px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 50%;
|
|
background: var(--surface-2, #f3f3f3);
|
|
color: var(--footer-color, var(--color-ink-3));
|
|
text-decoration: none;
|
|
transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
|
|
}
|
|
|
|
.footer .footer-contact > a:hover,
|
|
.footer .footer-contact__item:hover {
|
|
color: #fff;
|
|
background: var(--focus-color, var(--color-primary));
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.footer .footer-wechat-img {
|
|
display: none;
|
|
position: absolute;
|
|
width: 140px;
|
|
bottom: 90%;
|
|
left: -55px;
|
|
padding-bottom: 12px;
|
|
z-index: 5;
|
|
}
|
|
|
|
.footer .hover-show {
|
|
position: relative;
|
|
}
|
|
|
|
.footer .hover-show:hover .footer-wechat-img,
|
|
.footer .hover-show:focus .footer-wechat-img {
|
|
display: block;
|
|
}
|
|
|
|
.footer .footer-wechat-img img {
|
|
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
|
border-radius: 4px;
|
|
width: 100%;
|
|
height: auto;
|
|
background: #fff;
|
|
}
|
|
|
|
.footer .footer-miniimg {
|
|
width: 90px;
|
|
margin: 0 10px;
|
|
text-align: center;
|
|
vertical-align: text-top;
|
|
display: inline-block;
|
|
}
|
|
|
|
.footer .footer-miniimg img {
|
|
width: 90px;
|
|
height: 90px;
|
|
object-fit: cover;
|
|
border-radius: 4px;
|
|
background: var(--surface-2);
|
|
}
|
|
|
|
.footer .footer-conter,
|
|
.footer .site-footer__copyright {
|
|
margin: 8px 0 0;
|
|
line-height: 1.8;
|
|
color: var(--footer-color, var(--color-ink-4));
|
|
font-size: 13px;
|
|
text-align: left;
|
|
}
|
|
|
|
.footer .footer-conter a:hover {
|
|
color: var(--focus-color, var(--color-primary));
|
|
}
|
|
|
|
.footer .mt10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
#float-right-btns.float-right,
|
|
.float-right {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 80px;
|
|
z-index: 90;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|
|
|
|
@media (max-width: 767px) {
|
|
.footer {
|
|
padding: 24px 16px 28px;
|
|
}
|
|
|
|
.footer .list-inline {
|
|
display: block;
|
|
}
|
|
|
|
.footer .list-inline > li {
|
|
display: block;
|
|
margin: 12px 0;
|
|
max-width: none !important;
|
|
}
|
|
}
|