Skip to content

Commit

Permalink
Merge pull request #1446 from Acris/bugfix
Browse files Browse the repository at this point in the history
fixed: footer layout
  • Loading branch information
iissnan committed Feb 19, 2017
2 parents fdd4c4b + 6462c3b commit a9cefe1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -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; }
}
}

Expand Down
14 changes: 3 additions & 11 deletions source/css/_schemes/Pisces/_layout.styl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit a9cefe1

Please sign in to comment.