forked from Huxpro/huxpro.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v1.7.3][Buggy] add lineno / new theme to code block
- Loading branch information
Showing
10 changed files
with
1,358 additions
and
963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ title: Hux Blog | |
SEOTitle: 黄玄的博客 | Hux Blog | ||
header-img: img/home-bg.jpg | ||
email: [email protected] | ||
description: "关于前端与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。" | ||
description: "关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。" | ||
keyword: "黄玄, Hux黄玄, Hux, 鬼栈, huxpro, @huxpro, 黄玄的博客, Hux Blog, 博客, 个人网站, 互联网, Web, JavaScript, 前端, 设计" | ||
url: "https://huangxuan.me" # your host, for absolute URL | ||
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog' | ||
|
@@ -49,6 +49,12 @@ plugins: [jekyll-paginate] | |
markdown: kramdown | ||
kramdown: | ||
input: GFM # use Github Flavored Markdown !important | ||
syntax_highlighter_opts: | ||
span: | ||
line_numbers: false | ||
block: | ||
line_numbers: true | ||
start_line: 1 | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
/*! | ||
* Hux Blog v1.7.0 (http://huxpro.github.io) | ||
* Copyright 2018 Hux <[email protected]> | ||
*/ | ||
|
||
@media (min-width: 1200px) { | ||
.post-container, | ||
.sidebar-container { | ||
|
@@ -304,6 +299,235 @@ button.paper-button { | |
margin: 16px; | ||
border-radius: 2px; | ||
} | ||
.highlight, | ||
pre.highlight { | ||
background: #282c34; | ||
color: #abb2bf; | ||
} | ||
.highlight pre { | ||
background: #282c34; | ||
} | ||
.highlight .hll { | ||
background: #282c34; | ||
} | ||
.highlight .c { | ||
color: #5c6370; | ||
font-style: italic; | ||
} | ||
.highlight .err { | ||
color: #960050; | ||
background-color: #1e0010; | ||
} | ||
.highlight .k { | ||
color: #c678dd; | ||
} | ||
.highlight .l { | ||
color: #98c379; | ||
} | ||
.highlight .n { | ||
color: #abb2bf; | ||
} | ||
.highlight .o { | ||
color: #abb2bf; | ||
} | ||
.highlight .p { | ||
color: #abb2bf; | ||
} | ||
.highlight .cm { | ||
color: #5c6370; | ||
font-style: italic; | ||
} | ||
.highlight .cp { | ||
color: #5c6370; | ||
font-style: italic; | ||
} | ||
.highlight .c1 { | ||
color: #5c6370; | ||
font-style: italic; | ||
} | ||
.highlight .cs { | ||
color: #5c6370; | ||
font-style: italic; | ||
} | ||
.highlight .ge { | ||
font-style: italic; | ||
} | ||
.highlight .gs { | ||
font-weight: 700; | ||
} | ||
.highlight .kc { | ||
color: #c678dd; | ||
} | ||
.highlight .kd { | ||
color: #c678dd; | ||
} | ||
.highlight .kn { | ||
color: #c678dd; | ||
} | ||
.highlight .kp { | ||
color: #c678dd; | ||
} | ||
.highlight .kr { | ||
color: #c678dd; | ||
} | ||
.highlight .kt { | ||
color: #c678dd; | ||
} | ||
.highlight .ld { | ||
color: #98c379; | ||
} | ||
.highlight .m { | ||
color: #d19a66; | ||
} | ||
.highlight .s { | ||
color: #98c379; | ||
} | ||
.highlight .na { | ||
color: #d19a66; | ||
} | ||
.highlight .nb { | ||
color: #e5c07b; | ||
} | ||
.highlight .nc { | ||
color: #e5c07b; | ||
} | ||
.highlight .no { | ||
color: #e5c07b; | ||
} | ||
.highlight .nd { | ||
color: #e5c07b; | ||
} | ||
.highlight .ni { | ||
color: #e5c07b; | ||
} | ||
.highlight .ne { | ||
color: #e5c07b; | ||
} | ||
.highlight .nf { | ||
color: #abb2bf; | ||
} | ||
.highlight .nl { | ||
color: #e5c07b; | ||
} | ||
.highlight .nn { | ||
color: #abb2bf; | ||
} | ||
.highlight .nx { | ||
color: #abb2bf; | ||
} | ||
.highlight .py { | ||
color: #e5c07b; | ||
} | ||
.highlight .nt { | ||
color: #e06c75; | ||
} | ||
.highlight .nv { | ||
color: #e5c07b; | ||
} | ||
.highlight .ow { | ||
font-weight: 700; | ||
} | ||
.highlight .w { | ||
color: #f8f8f2; | ||
} | ||
.highlight .mf { | ||
color: #d19a66; | ||
} | ||
.highlight .mh { | ||
color: #d19a66; | ||
} | ||
.highlight .mi { | ||
color: #d19a66; | ||
} | ||
.highlight .mo { | ||
color: #d19a66; | ||
} | ||
.highlight .sb { | ||
color: #98c379; | ||
} | ||
.highlight .sc { | ||
color: #98c379; | ||
} | ||
.highlight .sd { | ||
color: #98c379; | ||
} | ||
.highlight .s2 { | ||
color: #98c379; | ||
} | ||
.highlight .se { | ||
color: #98c379; | ||
} | ||
.highlight .sh { | ||
color: #98c379; | ||
} | ||
.highlight .si { | ||
color: #98c379; | ||
} | ||
.highlight .sx { | ||
color: #98c379; | ||
} | ||
.highlight .sr { | ||
color: #56b6c2; | ||
} | ||
.highlight .s1 { | ||
color: #98c379; | ||
} | ||
.highlight .ss { | ||
color: #56b6c2; | ||
} | ||
.highlight .bp { | ||
color: #e5c07b; | ||
} | ||
.highlight .vc { | ||
color: #e5c07b; | ||
} | ||
.highlight .vg { | ||
color: #e5c07b; | ||
} | ||
.highlight .vi { | ||
color: #e06c75; | ||
} | ||
.highlight .il { | ||
color: #d19a66; | ||
} | ||
.highlight .gu { | ||
color: #75715e; | ||
} | ||
.highlight .gd { | ||
color: #f92672; | ||
} | ||
.highlight .gi { | ||
color: #a6e22e; | ||
} | ||
.highlighter-rouge .highlight { | ||
margin-bottom: 10px; | ||
border-radius: 6px; | ||
} | ||
.highlighter-rouge .highlight pre { | ||
color: #555; | ||
background: transparent; | ||
border: 0; | ||
margin: 0; | ||
padding: 0; | ||
word-wrap: normal; | ||
} | ||
.highlighter-rouge .highlight .lineno { | ||
text-align: right; | ||
margin-right: 10px; | ||
} | ||
.highlighter-rouge .highlight .table-responsive { | ||
margin: 0px; | ||
border: 0px; | ||
padding: 10px; | ||
} | ||
.highlighter-rouge .highlight .table { | ||
margin: 0px; | ||
} | ||
.highlighter-rouge .highlight table > tbody > tr > td { | ||
margin: 0; | ||
border: 0; | ||
display: inline-block; | ||
} | ||
body { | ||
/* Hux learn from | ||
* TypeIsBeautiful, | ||
|
@@ -385,9 +609,11 @@ select.sel-lang { | |
min-height: 28px; | ||
font-size: 14px; | ||
} | ||
.table th, | ||
.table td { | ||
border: 1px solid #eee !important; | ||
table.table > tbody th, | ||
table.table > thead th, | ||
table.table > tbody td, | ||
table.table > thead td { | ||
border: 1px solid #eee; | ||
} | ||
hr.small { | ||
max-width: 100px; | ||
|
@@ -911,10 +1137,10 @@ footer .copyright a:focus { | |
vertical-align: middle; | ||
vertical-align: baseline; | ||
opacity: 0; | ||
-webkit-transition: top 0.3s ease,opacity 0.3s ease; | ||
-moz-transition: top 0.3s ease,opacity 0.3s ease; | ||
-ms-transition: top 0.3s ease,opacity 0.3s ease; | ||
transition: top 0.3s ease,opacity 0.3s ease; | ||
-webkit-transition: top 0.3s ease, opacity 0.3s ease; | ||
-moz-transition: top 0.3s ease, opacity 0.3s ease; | ||
-ms-transition: top 0.3s ease, opacity 0.3s ease; | ||
transition: top 0.3s ease, opacity 0.3s ease; | ||
} | ||
.floating-label-form-group::not(:first-child) { | ||
padding-left: 14px; | ||
|
@@ -1070,7 +1296,7 @@ img::-moz-selection { | |
line-height: 28px; | ||
margin: 0 2px; | ||
margin-bottom: 8px; | ||
background: #D6D6D6; | ||
background: #d6d6d6; | ||
} | ||
#tag_cloud a:hover, | ||
#tag_cloud .tag:hover, | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.