Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
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-1
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 @@
* skin next style
*
* @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 */
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
45
px
;
padding
:
40px
0
px
;
}
.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
src/main/webapp/skins/next/footer.ftl
View file @
f88cbe31
<footer class="footer">
<div class="wrapper">
<div class="wrapper
fn-clear
">
<a href="${servePath}">${blogTitle}</a> •
${onlineVisitor1Label}${onlineVisitorCnt} <br/>
© ${year}
...
...
src/main/webapp/skins/next/js/next.js
View file @
f88cbe31
...
...
@@ -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
()
>
7
00
)
{
if
(
$
(
'
.b3-solo-list li
'
).
length
>
0
&&
$
(
window
).
width
()
>
10
00
)
{
$
(
'
.sidebar-toggle
'
).
click
();
}
});
...
...
@@ -90,7 +90,7 @@ var NexT = {
});
},
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
$
(
'
.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