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
ee5f2d0d
Commit
ee5f2d0d
authored
Jul 10, 2016
by
Van
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
responsive
parent
2ec246a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
7 deletions
+77
-7
src/main/webapp/skins/next/css/next.css
src/main/webapp/skins/next/css/next.css
+72
-1
src/main/webapp/skins/next/header.ftl
src/main/webapp/skins/next/header.ftl
+5
-6
No files found.
src/main/webapp/skins/next/css/next.css
View file @
ee5f2d0d
...
...
@@ -18,9 +18,13 @@
* skin next style
*
* @author <a href="http://vanessa.b3log.org">Liyuan Li</a>
* @version 0.1.0.
0, Jul 7
, 2016
* @version 0.1.0.
1, Jul 10
, 2016
*/
/* start reset */
html
{
background-color
:
#f5f5f5
;
}
body
{
margin
:
0
;
font-family
:
Lato
,
"PingFang SC"
,
"Microsoft YaHei"
,
sans-serif
;
...
...
@@ -776,6 +780,10 @@ ul.comments .comment-meta time {
text-align
:
center
;
}
.tag-cloud
ul
.tag-cloud-tags
{
padding-left
:
0
;
}
#tags
li
{
list-style
:
none
;
display
:
inline-block
;
...
...
@@ -920,6 +928,69 @@ ul.comments .comment-meta time {
@media
(
max-width
:
500px
)
{
.site-nav-toggle
{
display
:
block
;
margin-top
:
16px
;
}
.logo-line-before
,
.logo-line-after
,
.menu
,
.site-search
,
.sidebar-toggle
,
.back-to-top
{
display
:
none
;
}
.header
{
margin-bottom
:
50px
;
padding
:
5px
0px
;
}
.header-line
{
position
:
relative
;
top
:
52px
;
height
:
1px
;
width
:
100%
;
background-color
:
#ddd
;
display
:
none
;
}
.header
.wrapper
{
padding
:
0
10px
;
}
.logo-wrap
.site-title
{
margin-left
:
10px
;
}
.wrapper
{
width
:
auto
;
margin
:
0
10px
;
}
.btn-bar
{
display
:
block
;
width
:
22px
;
height
:
2px
;
background
:
#555
;
border-radius
:
1px
;
}
.btn-bar
+
.btn-bar
{
margin-top
:
4px
;
}
.menu
{
width
:
100%
;
margin
:
0
0
0
-20px
;
padding
:
0
5px
;
line-height
:
26px
;
}
.menu
.menu-item
{
display
:
block
;
}
.footer
{
text-align
:
center
;
}
}
/* end responsive */
\ No newline at end of file
src/main/webapp/skins/next/header.ftl
View file @
ee5f2d0d
<header class="header">
<div class="header-line"></div>
<div class="fn-clear wrapper">
<div class="logo-wrap">
<a href="${servePath}" rel="start">
...
...
@@ -8,12 +9,10 @@
</a>
</div>
<div class="site-nav-toggle">
<button>
<div class="site-nav-toggle fn-right" onclick="$('.header-line').toggle();$('nav').children('.menu').slideToggle();">
<span class="btn-bar"></span>
<span class="btn-bar"></span>
<span class="btn-bar"></span>
</button>
</div>
<nav>
...
...
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