Skip to content

Commit

Permalink
Site updated: 2020-07-20 16:27:06
Browse files Browse the repository at this point in the history
  • Loading branch information
ChengGuang-Li committed Jul 20, 2020
1 parent 6185984 commit 23be48f
Show file tree
Hide file tree
Showing 14 changed files with 238 additions and 66 deletions.
13 changes: 8 additions & 5 deletions 2020/07/16/EEE/index.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions about/index.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions archives/2020/07/index.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions archives/2020/index.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions archives/index.html

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions categories/index.html

Large diffs are not rendered by default.

182 changes: 162 additions & 20 deletions css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -1487,10 +1487,10 @@ pre .addition {
color: #105ede;
}
pre .meta {
color: #7c4dff;
color: #c792ea;
}
pre .comment {
color: rgba(149,165,166,0.8);
color: #969896;
}
pre .variable,
pre .attribute,
Expand All @@ -1504,21 +1504,21 @@ pre .css .id,
pre .tag .name,
pre .css .class,
pre .css .pseudo {
color: #e53935;
color: #ff5370;
}
pre .tag {
color: #39adb5;
color: #89ddff;
}
pre .number,
pre .preprocessor,
pre .literal,
pre .params,
pre .constant,
pre .command {
color: #f76d47;
color: #f78c6c;
}
pre .built_in {
color: #ffb62c;
color: #ffcb6b;
}
pre .ruby .class .title,
pre .css .rules .attribute,
Expand All @@ -1531,12 +1531,12 @@ pre .xml .cdata,
pre .special,
pre .number,
pre .formula {
color: #91b859;
color: #c3e88d;
}
pre .keyword,
pre .title,
pre .css .hexcolor {
color: #39adb5;
color: #89ddff;
}
pre .function,
pre .python .decorator,
Expand All @@ -1546,19 +1546,19 @@ pre .ruby .title .keyword,
pre .perl .sub,
pre .javascript .title,
pre .coffeescript .title {
color: #6182b8;
color: #82aaff;
}
pre .tag .attr,
pre .javascript .function {
color: #7c4dff;
color: #c792ea;
}
#article-container pre,
#article-container figure.highlight {
overflow: auto;
margin: 0 0 1rem;
padding: 0;
background: #f6f8fa;
color: #90a4ae;
background: #212121;
color: #eff;
line-height: 20px;
}
blockquote {
Expand Down Expand Up @@ -1600,7 +1600,7 @@ blockquote footer cite:before {
#article-container pre code {
padding: 0;
background: none;
color: #90a4ae;
color: #eff;
text-shadow: none;
}
#article-container figure.highlight {
Expand All @@ -1612,7 +1612,7 @@ blockquote footer cite:before {
border: none;
}
#article-container figure.highlight .line.marked {
background-color: rgba(128,203,196,0.251);
background-color: rgba(97,97,97,0.314);
}
#article-container figure.highlight table {
display: block;
Expand Down Expand Up @@ -1640,16 +1640,16 @@ blockquote footer cite:before {
#article-container figure.highlight figcaption a {
float: right;
padding-right: 10px;
color: #90a4ae;
color: #eff;
}
#article-container figure.highlight figcaption a:hover {
border-bottom-color: #90a4ae;
border-bottom-color: #eff;
}
#article-container figure.highlight .gutter pre {
padding-right: 0.5rem;
padding-left: 0.5rem;
background-color: #f6f8fa;
color: rgba(144,164,174,0.5);
background-color: #212121;
color: rgba(238,255,255,0.5);
text-align: right;
}
#article-container figure.highlight .code pre {
Expand All @@ -1665,8 +1665,8 @@ blockquote footer cite:before {
overflow: hidden;
width: 100%;
height: 1.5rem;
background: #e6ebf1;
color: #90a4ae;
background: #1c1c1c;
color: rgba(238,255,255,0.8);
font-size: 14px;
}
#article-container figure.highlight .highlight-tools .code-expand {
Expand Down Expand Up @@ -4880,6 +4880,16 @@ blockquote.pullquote.right {
[data-theme='dark'] .mermaid {
filter: brightness(0.7);
}
[data-theme='dark'] #local-search {
background: #121212;
}
[data-theme='dark'] #local-search .local-search-box--input {
background: #121212;
color: rgba(255,255,255,0.6);
}
[data-theme='dark'] #local-search .search-result-title {
color: rgba(255,255,255,0.6);
}
[data-theme='light'] .read-mode {
background: #fff;
}
Expand Down Expand Up @@ -5125,3 +5135,135 @@ blockquote.pullquote.right {
-ms-animation: none;
animation: none;
}
.search-dialog {
position: fixed;
top: 5rem;
left: 50%;
z-index: 1001;
display: none;
margin-left: -15rem;
padding: 1rem;
width: 30rem;
background: #f6f8fa;
}
.search-dialog hr {
margin: 1rem auto;
}
.search-dialog span.search-close-button {
position: absolute;
top: 0.8rem;
right: 1rem;
color: #858585;
font-size: 1rem;
line-height: 1;
cursor: pointer;
-webkit-transition: color 0.2s ease-in-out;
-moz-transition: color 0.2s ease-in-out;
-o-transition: color 0.2s ease-in-out;
-ms-transition: color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}
.search-dialog span.search-close-button:hover {
color: #49b1f5;
}
.search-dialog__title {
padding: 0 0 0.7rem;
color: #49b1f5;
font-size: 1rem;
line-height: 1;
}
.search-mask {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
display: none;
background: rgba(0,0,0,0.6);
}
@media screen and (max-width: 768px) {
.search-dialog {
top: 0;
left: 0;
margin: 0;
width: 100%;
height: 100%;
}
.search-result-list {
padding-bottom: 2rem;
max-height: 75vh !important;
}
}
#local-search {
-webkit-animation: titlescale 0.5s;
-moz-animation: titlescale 0.5s;
-o-animation: titlescale 0.5s;
-ms-animation: titlescale 0.5s;
animation: titlescale 0.5s;
}
#local-search .local-search-box {
margin: 0 auto;
max-width: 100%;
width: 100%;
}
#local-search .local-search-box input {
padding: 0.25rem 0.7rem;
width: 100%;
outline: none;
border: 2px solid #49b1f5;
border-radius: 2rem;
background: #f6f8fa;
font-size: 14px;
-webkit-appearance: none;
}
#local-search .local-search__hit-item {
position: relative;
padding-left: 1.3rem;
line-height: 1.7;
}
#local-search .local-search__hit-item:hover:before {
border-color: #ff7242;
}
#local-search .local-search__hit-item:before {
position: absolute;
top: 0.3rem;
left: 0;
width: 0.3rem;
height: 0.3rem;
border: 0.15rem solid #49b1f5;
border-radius: 0.3rem;
background: transparent;
content: '';
line-height: 0.3rem;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
-ms-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
#local-search .local-search__hit-item a {
display: block;
color: #4c4948;
font-weight: 600;
font-size: 14px;
cursor: pointer;
}
#local-search .local-search__hit-item a:hover {
color: #49b1f5;
}
#local-search .local-search__hit-item .search-result {
margin: 0 0 0.4rem;
word-break: break-all;
}
#local-search .local-search__hit-item .search-keyword {
color: #f47466;
font-weight: bold;
}
#local-search .local-search-stats__hr {
display: none !important;
}
#local-search .search-result-list {
overflow-y: auto;
max-height: 10.5rem;
}
Binary file added img/favicon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/palm.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 10 additions & 7 deletions index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 23be48f

Please sign in to comment.