Browse Source

代码块样式优化

star7th 9 years ago
parent
commit
97bc9e4a67
2 changed files with 2 additions and 5 deletions
  1. 1 1
      Application/Home/View/Page/index.html
  2. 1 4
      Public/css/page/index.css

+ 1 - 1
Application/Home/View/Page/index.html

@@ -1,6 +1,6 @@
 <include file="Common/header" />
 <link href="__PUBLIC__/highlight/default.min.css" rel="stylesheet"> 
-<link href="__PUBLIC__/css/page/index.css?v=1.12" rel="stylesheet">
+<link href="__PUBLIC__/css/page/index.css?v=1.123" rel="stylesheet">
 <h3 style="text-align: center;">{$page.page_title}</h3>
 <!-- 这里开始是内容 -->
 <div id="page_md_content" ><textarea style="display:none;">

+ 1 - 4
Public/css/page/index.css

@@ -17,12 +17,9 @@ li{
 	line-height: 30px;
 }
 
-.hljs{
-	padding: 0px;
-}
-
 .linenums li{
 	list-style-type:none;
+	line-height: 20px;
 }
 
 #page_md_content{