Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/leonhe/hugo_eiio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuanfei He <lhe868@gmail.com>2020-03-21 15:58:25 +0300
committerYuanfei He <lhe868@gmail.com>2020-07-10 18:12:19 +0300
commit789a1fd25203b0919de3df4f72196e245708a758 (patch)
treeac7b99af907274a5b8ab0e20ecc4e99ed993bcfb
parent8a79b4e19396120e4201ea94363920cccdb62849 (diff)
update theme url
-rw-r--r--layouts/_default/baseof.html6
-rw-r--r--static/css/style.css60
2 files changed, 33 insertions, 33 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 0261a5f..ff6821d 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -31,10 +31,10 @@
<script type="text/javascript">
$(document).ready(function() {
hljs.initHighlightingOnLoad();
- $('div.src').each(function(i, block) {
+ $('div src').each(function(i, block) {
hljs.highlightBlock(block);
});
-$("div.src").each(function(){
+$("pre code").each(function(){
$(this).html("<ul><li>" + $(this).html().replace(/\n/g,"\n</li><li>") +"\n</li></ul>");
});
});
@@ -63,7 +63,7 @@ $(this).html("<ul><li>" + $(this).html().replace(/\n/g,"\n</li><li>") +"\n</li><
<div class="container footer">
<div class="row">
<div class="col-lg-10">
- <small class="text-muted">{{ .Site.Copyright }} Theme:<a href="https://heyuanfei.com/">LeonHe</a></small>
+ <small class="text-muted">{{ .Site.Copyright }} Theme:<a href="https://hii8.com/">LeonHe</a></small>
</div>
<div class="col-lg-2">
<small class="text-muted">{{ .Site.Params.footerRight}}</small>
diff --git a/static/css/style.css b/static/css/style.css
index 95f489a..b7c4be3 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -122,54 +122,54 @@
.hljs {
border: 0;
- font-family: "Consulas", "Courier New", Courier, mono, serif;
font-size: 12px;
display: block;
- padding: 1px;
- margin: 0;
+ padding: 10px;
+ margin: 1px;
width: 100%;
font-weight: 200;
- white-space: pre-wrap
+ white-space: pre-wrap;
+ color: #707070;
}
.hljs ul {
list-style: decimal;
- margin: 0px 0px 0 40px !important;
+ margin: 0px 0px 0px 40px !important;
padding: 0px;
}
.hljs ul li {
list-style: decimal-leading-zero;
- border-left: 1px solid #ddd !important;
- padding: 5px!important;
+ border-left: 1px solid #282a35 !important;
+ padding: 0 !important;
margin: 0 !important;
- line-height: 14px;
+ line-height: 18px;
word-break: break-all;
word-wrap: break-word;
}
.hljs ul li:nth-of-type(even) {
color: inherit;
-}
- blockquote {
- font-weight: bold;
- font-style: italic;
- border-left: 5px solid #ffa68c;
+}
+ blockquote {
+ font-weight: bold;
+ font-style: italic;
+ border-left: 5px solid #ffa68c;
display:block;
- background: #fff;
- padding: 15px 20px 15px 45px;
- margin: 0 0 20px;
- position: relative;
-
- /*字体*/
- font-family: Georgia, serif;
- line-height: 1.2;
- color: #666;
- text-align: justify;
- /*边框 - (选项)*/
- border-right: 2px solid #ffa68c;
-
- /*盒子阴影 - (选项)*/
- -moz-box-shadow: 2px 2px 8px #ccc;
- -webkit-box-shadow: 2px 2px 8px #ccc;
- box-shadow: 2px 2px 8px #ccc;
+ background: #fff;
+ padding: 15px 20px 15px 45px;
+ margin: 0 0 20px;
+ position: relative;
+
+ /*字体*/
+ font-family: Georgia, serif;
+ line-height: 1.2;
+ color: #666;
+ text-align: justify;
+ /*边框 - (选项)*/
+ border-right: 2px solid #ffa68c;
+
+ /*盒子阴影 - (选项)*/
+ -moz-box-shadow: 2px 2px 8px #ccc;
+ -webkit-box-shadow: 2px 2px 8px #ccc;
+ box-shadow: 2px 2px 8px #ccc;
}
blockquote::before{
content: "\201C"; /*左双引号的Unicode编码*/