Skip to content

Commit

Permalink
代码块样式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Oct 20, 2016
1 parent 56d65de commit 077091c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
13 changes: 3 additions & 10 deletions Application/Home/View/Page/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
<include file="Common/header" />
<link href="__PUBLIC__/highlight/default.min.css" rel="stylesheet">
<link href="__PUBLIC__/css/page/index.css" rel="stylesheet">
<style type="text/css">
.hljs{
padding: 0px;
}

</style>
<link href="__PUBLIC__/css/page/index.css?v=1.12" rel="stylesheet">
<h3 style="text-align: center;">{$page.page_title}</h3>
<!-- 这里开始是内容 -->

<div id="page_md_content" style="padding-top:10px;" ><textarea style="display:none;">
<div id="page_md_content" ><textarea style="display:none;">
{$page.page_md_content}</textarea></div>

<div id="page_html_content" style="display:none;">{$page.page_html_content}</div>
Expand All @@ -25,4 +18,4 @@ <h3 style="text-align: center;">{$page.page_title}</h3>
<script src="__PUBLIC__/editor.md/lib/sequence-diagram.min.js"></script>
<script src="__PUBLIC__/editor.md/lib/jquery.flowchart.min.js"></script>
<script src="__PUBLIC__/editor.md/editormd.min.js"></script>
<script src="__PUBLIC__/js/page/index.js?a=1"></script>
<script src="__PUBLIC__/js/page/index.js?a=12"></script>
12 changes: 12 additions & 0 deletions Public/css/page/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,16 @@ p{

li{
line-height: 30px;
}

.hljs{
padding: 0px;
}

.linenums li{
list-style-type:none;
}

#page_md_content{
padding-top:10px;
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
"keywords": ["showdoc","documents","Api"],
"homepage": "https://github.com/star7th/showdoc",
"version":"v1.1.3",
"version":"v1.1.4",
"license": "Apache-2.0",
"authors": [
{
Expand Down

0 comments on commit 077091c

Please sign in to comment.