diff --git a/source/css/_common/components/third-party/busuanzi-counter.styl b/source/css/_common/components/third-party/busuanzi-counter.styl index ea378cf1f..960fef686 100644 --- a/source/css/_common/components/third-party/busuanzi-counter.styl +++ b/source/css/_common/components/third-party/busuanzi-counter.styl @@ -1,18 +1,10 @@ if hexo-config("scheme") == Pisces .busuanzi-count { - &:before { - content: " "; - float: left; - width: 260px; - min-height: 25px; - } +tablet() { width: auto; - &:before { display: none; } } +mobile() { width: auto; - &:before { display: none; } } } diff --git a/source/css/_schemes/Pisces/_layout.styl b/source/css/_schemes/Pisces/_layout.styl index 1e6df4b4b..fac31f79d 100644 --- a/source/css/_schemes/Pisces/_layout.styl +++ b/source/css/_schemes/Pisces/_layout.styl @@ -101,23 +101,15 @@ .footer-inner { width: $main-desktop; - - &:before { - content: " "; - float: left; - width: 260px; - min-height: 50px; - } + padding-left: 260px; +tablet() { width: auto; - - &:before { display: none; } + padding-left: 0; } +mobile() { width: auto; - - &:before { display: none; } + padding-left: 0; } }