Unify social/OAuth/contact icons on the global Font Awesome 5.15.4 pack, add aksrt_render_social_links for author hero, enqueue FA on admin SPA, and delete assets/img/icons.
253 lines
4.8 KiB
CSS
253 lines
4.8 KiB
CSS
/**
|
|
* Footer — Zibll template_1 shell (list-inline + float third column)
|
|
* Contract: zibll/css/main.css footer block + zib_footer_con markup
|
|
*/
|
|
.footer {
|
|
color: var(--footer-color, var(--color-ink-4));
|
|
background: var(--footer-bg, var(--surface-1));
|
|
padding: 30px;
|
|
font-size: 13px;
|
|
margin-top: auto;
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
|
|
/* Bootstrap-like list-inline — NOT flex (Zibll uses float for third col) */
|
|
.footer .list-inline {
|
|
list-style: none;
|
|
margin: 0 0 12px;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer .list-inline > li {
|
|
margin: 5px 15px;
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
}
|
|
|
|
.footer .list-inline > li + li + li {
|
|
float: right;
|
|
}
|
|
|
|
.footer a.footer-logo img,
|
|
.footer .footer-logo img {
|
|
height: 40px;
|
|
width: auto;
|
|
max-width: 180px;
|
|
vertical-align: middle;
|
|
display: inline-block;
|
|
}
|
|
|
|
/* title-h-left underline bar (Zibll) */
|
|
.footer .title-h-left {
|
|
position: relative;
|
|
margin: 8px 0 10px;
|
|
padding-bottom: 8px;
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: var(--color-ink, #333);
|
|
}
|
|
|
|
.footer .title-h-left:before {
|
|
transition: 0.4s;
|
|
transform-origin: left;
|
|
position: absolute;
|
|
content: "";
|
|
width: 40px;
|
|
height: 3px;
|
|
background: var(--theme-color, var(--color-primary));
|
|
left: 0;
|
|
bottom: 3px;
|
|
border-radius: 5px;
|
|
box-shadow: 1px 1px 3px -1px var(--theme-color, var(--color-primary));
|
|
}
|
|
|
|
.footer .footer-muted,
|
|
.footer .em09 {
|
|
font-size: 0.92em;
|
|
color: var(--muted-2-color, var(--color-ink-4));
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.footer .opacity8 {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* Circular contact buttons — Zibll .toggle-radius + .footer-contact > a */
|
|
.footer .toggle-radius {
|
|
background: var(--this-bg, var(--main-border-color, var(--surface-2, #f0f0f0)));
|
|
width: 29px;
|
|
height: 29px;
|
|
display: inline-block;
|
|
text-align: center;
|
|
border-radius: 100%;
|
|
position: relative;
|
|
vertical-align: text-top;
|
|
line-height: 29px;
|
|
color: var(--footer-color, var(--color-ink-3));
|
|
text-decoration: none;
|
|
}
|
|
|
|
.footer .footer-contact {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.footer .footer-contact > a {
|
|
font-size: 20px;
|
|
margin: 5px;
|
|
width: 35px;
|
|
height: 35px;
|
|
line-height: 35px;
|
|
display: inline-block;
|
|
text-align: center;
|
|
border-radius: 100%;
|
|
background: var(--this-bg, var(--main-border-color, var(--surface-2, #f0f0f0)));
|
|
color: var(--footer-color, var(--color-ink-3));
|
|
text-decoration: none;
|
|
vertical-align: text-top;
|
|
position: relative;
|
|
transition: color 0.15s ease, background 0.15s ease;
|
|
}
|
|
|
|
.footer .footer-contact > a:hover {
|
|
color: #fff;
|
|
background: var(--focus-color, var(--color-primary));
|
|
}
|
|
|
|
.footer .footer-contact > a i {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.footer .footer-wechat-img {
|
|
display: none;
|
|
position: absolute;
|
|
width: 140px;
|
|
bottom: 90%;
|
|
left: -55px;
|
|
padding-bottom: 20px;
|
|
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 p {
|
|
margin: 0 0 4px;
|
|
}
|
|
|
|
.footer .footer-miniimg img {
|
|
width: 90px;
|
|
height: auto;
|
|
max-width: 100%;
|
|
display: block;
|
|
margin: 0 auto;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.footer .footer-conter {
|
|
margin: 8px 0 0;
|
|
line-height: 1.8;
|
|
color: var(--footer-color, var(--color-ink-4));
|
|
font-size: 13px;
|
|
}
|
|
|
|
.footer .mt10 {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
/* Device visibility — Zibll hidden-xs */
|
|
@media (max-width: 767px) {
|
|
.footer .hidden-xs,
|
|
.hidden-xs {
|
|
display: none !important;
|
|
}
|
|
|
|
.footer {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
.footer .container-footer {
|
|
text-align: center;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.footer .list-inline > li + li + li {
|
|
float: none;
|
|
}
|
|
|
|
.footer .list-inline > li {
|
|
display: block;
|
|
margin: 12px 0;
|
|
max-width: none !important;
|
|
}
|
|
|
|
.footer .title-h-left:before {
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
/* Float right buttons shell (kept from prior shell) */
|
|
#float-right-btns.float-right,
|
|
.float-right {
|
|
position: fixed;
|
|
right: 16px;
|
|
bottom: 60px;
|
|
z-index: 1030;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 8px;
|
|
}
|