Skip to content

Commit 6b0a382

Browse files
committed
add favicon.ico; 样式调整;
1 parent 4f2fa16 commit 6b0a382

4 files changed

Lines changed: 14 additions & 1 deletion

File tree

template/details.ejs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44

55
<div class="markdown-body">
66
<% if(md_path){ %>
7-
<a class="edit_btn" href="https://github.com/jaywcjlove/linux-command/edit/master/<%=md_path%>">编辑</a>
7+
<span class="edit_btn">
8+
<a target="_blank" href="https://github.com/jaywcjlove/linux-command/edit/master<%=md_path%>">纠正错误</a>
9+
<span class="split"></span>
10+
<a target="_blank" href="https://github.com/jaywcjlove/linux-command/edit/master<%=md_path%>">添加实例</a>
11+
</span>
812
<% } %>
913
{{content}}
1014
</div>

template/header.ejs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta name="description" content="<%=describe.n?describe.n+':':''%><%=describe.d?describe.d+' - ':''%>最专业的Linux命令大全,内容包含Linux命令手册、详解、学习,值得收藏的Linux命令速查手册。">
77
<meta name="keywords" content="Linux,Command,命令大全,Linux命令手册<%=describe.n?','+describe.n:''%>">
88
<title><%=describe.n?describe.n+' - ':''%>Linux Command</title>
9+
<link rel="shortcut icon" href="<%=relative_path%>img/favicon.ico">
910
<link rel="stylesheet" type="text/css" href="<%=relative_path%>css/index.css">
1011
</head>
1112
<body>

template/img/favicon.ico

17.7 KB
Binary file not shown.

template/styl/mixins/markdown.styl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ div.markdown-body
66
float right
77
top 48px
88
z-index 2
9+
.split{
10+
display inline-block
11+
height 13px
12+
vertical-align middle
13+
width 1px
14+
border-left 1px solid #dfdfdf
15+
margin -1px 0 0 0
16+
}
917
}
1018
padding 30px 35px 30px 35px
1119
word-wrap break-word

0 commit comments

Comments
 (0)