Commit f88cbe31 authored by Vanesssa's avatar Vanesssa
parent d5ce7caf
......@@ -18,7 +18,7 @@
* skin next style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.2.1, Aug 26, 2016
* @version 0.2.2.1, Sep 6, 2016
*/
/* start reset */
html {
......@@ -250,8 +250,10 @@ img {
/* start framework */
.wrapper {
width: 700px;
max-width: 700px;
min-width: 600px;
margin: 0 auto;
padding: 0 10px;
}
.main {
......@@ -263,12 +265,11 @@ img {
.header {
background: #f5f5f5;
margin-bottom: 80px;
padding: 40px 45px;
padding: 40px 0px;
}
.logo-wrap {
float: left;
margin-left: -20px;
overflow: hidden;
top: 0;
opacity: 0;
......@@ -977,13 +978,18 @@ ul.comments .comment-meta time {
/* end archives */
/* start responsive */
@media (max-width: 1000px) {
.sidebar-toggle,
.sidebar {
display: none;
}
@media (max-width: 700px) {
.b3-solo-list {
margin: 0;
padding: 0;
body {
padding-right: 0 !important;
}
}
@media (max-width: 700px) {
.page-archive .posts-collapse .archive-move-on {
margin-left: 5px;
}
......@@ -991,9 +997,6 @@ ul.comments .comment-meta time {
.posts-collapse {
margin-left: 10px;
}
}
@media (max-width: 500px) {
pre {
word-wrap: break-word;
word-break: break-all;
......@@ -1013,7 +1016,6 @@ ul.comments .comment-meta time {
.logo-line-after,
.menu,
.site-search,
.sidebar-toggle,
.back-to-top {
display: none;
}
......@@ -1031,18 +1033,9 @@ ul.comments .comment-meta time {
background-color: #ddd;
display: none;
}
.header .wrapper {
padding: 0 10px;
}
.logo-wrap .site-title {
margin-left: 10px;
}
.wrapper {
width: auto;
margin: 0 10px;
min-width: inherit;
}
.btn-bar {
......@@ -1069,6 +1062,12 @@ ul.comments .comment-meta time {
.footer {
text-align: center;
font-size: 12px;
padding: 10px 0;
}
.footer .fn-right {
float: none;
}
}
/* end responsive */
\ No newline at end of file
<footer class="footer">
<div class="wrapper">
<div class="wrapper fn-clear">
<a href="${servePath}">${blogTitle}</a> •
${onlineVisitor1Label}${onlineVisitorCnt} <br/>
&copy; ${year}
......
......@@ -17,7 +17,7 @@
* @fileoverview util and every page should be used.
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.1.0, Jul 30, 2016
* @version 0.2.1.0, Sep 6, 2016
*/
/**
......@@ -74,7 +74,7 @@ var NexT = {
'top': '0'
}, function () {
// 当有文章页面有目录时,回调不放这里,侧边栏就会一片空白
if ($('.b3-solo-list li').length > 0 && $(window).width() > 700) {
if ($('.b3-solo-list li').length > 0 && $(window).width() > 1000) {
$('.sidebar-toggle').click();
}
});
......@@ -90,7 +90,7 @@ var NexT = {
});
},
initArticle: function () {
if ($('.b3-solo-list li').length > 0 && $(window).width() > 700) {
if ($('.b3-solo-list li').length > 0 && $(window).width() > 1000) {
// add color to sidebar menu
$('.sidebar-toggle').addClass('has-toc');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment