hugo-theme-next/assets/css/_common/outline/footer/index.scss
2022-05-21 15:01:19 +08:00

101 lines
1.6 KiB
SCSS

// Footer Section
// --------------------------------------------------
.footer {
color: $grey-dark;
font-size: $font-size-small;
padding: 20px 0;
&.footer-fixed {
bottom: 0;
left: 0;
position: absolute;
right: 0;
}
}
// Flexbox layout makes it possible to reorder the child
// elements of .footer-inner through the `order` CSS property
.footer-inner {
box-sizing: border-box;
text-align: center;
@include flex-column();
@include main-container();
}
.use-motion {
.footer {
opacity: 0;
}
}
@keyframes icon-animate {
0%, 100% {
transform: scale(1);
}
10%, 30% {
transform: scale(.9);
}
20%, 40%, 60%, 80% {
transform: scale(1.1);
}
50%, 70% {
transform: scale(1.1);
}
}
.languages {
display: inline-block;
font-size: $font-size-large;
position: relative;
.lang-select-label span {
margin: 0 .5em;
}
.lang-select {
height: 100%;
left: 0;
opacity: 0;
position: absolute;
top: 0;
width: 100%;
}
}
.with-love {
color: $cfg_footer_icon_color;
display: inline-block;
margin: 0 5px;
@if $cfg_footer_icon_animated {
animation: icon-animate 1.33s ease-in-out infinite;
}
}
@if $cfg_footer_beian_enable {
.beian img {
display: inline-block;
margin: 0 3px;
vertical-align: middle;
}
}
@if $cfg_busuanzi_enable {
.busuanzi-count {
@if $cfg_busuanzi_visitors {
#busuanzi_container_site_uv {
display: none;
}
}
@if $cfg_busuanzi_views {
#busuanzi_container_site_pv {
display: none;
}
}
}
}