Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo
Commits
f88cbe31
Commit
f88cbe31
authored
Sep 06, 2016
by
Vanesssa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
改进 -
https://hacpai.com/article/1473088343125#toc_h3_7
parent
d5ce7caf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
27 deletions
+26
-27
src/main/webapp/skins/next/css/next.css
src/main/webapp/skins/next/css/next.css
+22
-23
src/main/webapp/skins/next/footer.ftl
src/main/webapp/skins/next/footer.ftl
+1
-1
src/main/webapp/skins/next/js/next.js
src/main/webapp/skins/next/js/next.js
+3
-3
No files found.
src/main/webapp/skins/next/css/next.css
View file @
f88cbe31
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
* skin next style
* skin next style
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.
1.2.1, Aug 2
6, 2016
* @version 0.
2.2.1, Sep
6, 2016
*/
*/
/* start reset */
/* start reset */
html
{
html
{
...
@@ -250,8 +250,10 @@ img {
...
@@ -250,8 +250,10 @@ img {
/* start framework */
/* start framework */
.wrapper
{
.wrapper
{
width
:
700px
;
max-width
:
700px
;
min-width
:
600px
;
margin
:
0
auto
;
margin
:
0
auto
;
padding
:
0
10px
;
}
}
.main
{
.main
{
...
@@ -263,12 +265,11 @@ img {
...
@@ -263,12 +265,11 @@ img {
.header
{
.header
{
background
:
#f5f5f5
;
background
:
#f5f5f5
;
margin-bottom
:
80px
;
margin-bottom
:
80px
;
padding
:
40px
45
px
;
padding
:
40px
0
px
;
}
}
.logo-wrap
{
.logo-wrap
{
float
:
left
;
float
:
left
;
margin-left
:
-20px
;
overflow
:
hidden
;
overflow
:
hidden
;
top
:
0
;
top
:
0
;
opacity
:
0
;
opacity
:
0
;
...
@@ -977,13 +978,18 @@ ul.comments .comment-meta time {
...
@@ -977,13 +978,18 @@ ul.comments .comment-meta time {
/* end archives */
/* end archives */
/* start responsive */
/* start responsive */
@media
(
max-width
:
1000px
)
{
.sidebar-toggle
,
.sidebar
{
display
:
none
;
}
@media
(
max-width
:
700px
)
{
body
{
.b3-solo-list
{
padding-right
:
0
!important
;
margin
:
0
;
padding
:
0
;
}
}
}
@media
(
max-width
:
700px
)
{
.page-archive
.posts-collapse
.archive-move-on
{
.page-archive
.posts-collapse
.archive-move-on
{
margin-left
:
5px
;
margin-left
:
5px
;
}
}
...
@@ -991,9 +997,6 @@ ul.comments .comment-meta time {
...
@@ -991,9 +997,6 @@ ul.comments .comment-meta time {
.posts-collapse
{
.posts-collapse
{
margin-left
:
10px
;
margin-left
:
10px
;
}
}
}
@media
(
max-width
:
500px
)
{
pre
{
pre
{
word-wrap
:
break-word
;
word-wrap
:
break-word
;
word-break
:
break-all
;
word-break
:
break-all
;
...
@@ -1013,7 +1016,6 @@ ul.comments .comment-meta time {
...
@@ -1013,7 +1016,6 @@ ul.comments .comment-meta time {
.logo-line-after
,
.logo-line-after
,
.menu
,
.menu
,
.site-search
,
.site-search
,
.sidebar-toggle
,
.back-to-top
{
.back-to-top
{
display
:
none
;
display
:
none
;
}
}
...
@@ -1031,18 +1033,9 @@ ul.comments .comment-meta time {
...
@@ -1031,18 +1033,9 @@ ul.comments .comment-meta time {
background-color
:
#ddd
;
background-color
:
#ddd
;
display
:
none
;
display
:
none
;
}
}
.header
.wrapper
{
padding
:
0
10px
;
}
.logo-wrap
.site-title
{
margin-left
:
10px
;
}
.wrapper
{
.wrapper
{
width
:
auto
;
min-width
:
inherit
;
margin
:
0
10px
;
}
}
.btn-bar
{
.btn-bar
{
...
@@ -1069,6 +1062,12 @@ ul.comments .comment-meta time {
...
@@ -1069,6 +1062,12 @@ ul.comments .comment-meta time {
.footer
{
.footer
{
text-align
:
center
;
text-align
:
center
;
font-size
:
12px
;
padding
:
10px
0
;
}
.footer
.fn-right
{
float
:
none
;
}
}
}
}
/* end responsive */
/* end responsive */
\ No newline at end of file
src/main/webapp/skins/next/footer.ftl
View file @
f88cbe31
<footer class="footer">
<footer class="footer">
<div class="wrapper">
<div class="wrapper
fn-clear
">
<a href="${servePath}">${blogTitle}</a> •
<a href="${servePath}">${blogTitle}</a> •
${onlineVisitor1Label}${onlineVisitorCnt} <br/>
${onlineVisitor1Label}${onlineVisitorCnt} <br/>
© ${year}
© ${year}
...
...
src/main/webapp/skins/next/js/next.js
View file @
f88cbe31
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* @fileoverview util and every page should be used.
* @fileoverview util and every page should be used.
*
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @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 = {
...
@@ -74,7 +74,7 @@ var NexT = {
'
top
'
:
'
0
'
'
top
'
:
'
0
'
},
function
()
{
},
function
()
{
// 当有文章页面有目录时,回调不放这里,侧边栏就会一片空白
// 当有文章页面有目录时,回调不放这里,侧边栏就会一片空白
if
(
$
(
'
.b3-solo-list li
'
).
length
>
0
&&
$
(
window
).
width
()
>
7
00
)
{
if
(
$
(
'
.b3-solo-list li
'
).
length
>
0
&&
$
(
window
).
width
()
>
10
00
)
{
$
(
'
.sidebar-toggle
'
).
click
();
$
(
'
.sidebar-toggle
'
).
click
();
}
}
});
});
...
@@ -90,7 +90,7 @@ var NexT = {
...
@@ -90,7 +90,7 @@ var NexT = {
});
});
},
},
initArticle
:
function
()
{
initArticle
:
function
()
{
if
(
$
(
'
.b3-solo-list li
'
).
length
>
0
&&
$
(
window
).
width
()
>
7
00
)
{
if
(
$
(
'
.b3-solo-list li
'
).
length
>
0
&&
$
(
window
).
width
()
>
10
00
)
{
// add color to sidebar menu
// add color to sidebar menu
$
(
'
.sidebar-toggle
'
).
addClass
(
'
has-toc
'
);
$
(
'
.sidebar-toggle
'
).
addClass
(
'
has-toc
'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment