This commit is contained in:
parent
f237551193
commit
0321812a29
57 changed files with 25676 additions and 4089 deletions
|
@ -116,7 +116,15 @@
|
|||
> h2 > .header-mark::before {
|
||||
content: "#";
|
||||
}
|
||||
|
||||
> h3 > .header-mark::before {
|
||||
content: "##";
|
||||
}
|
||||
> h4 > .header-mark::before {
|
||||
content: "###";
|
||||
}
|
||||
> h5 > .header-mark::before {
|
||||
content: "####";
|
||||
}
|
||||
p {
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
@ -278,6 +286,7 @@
|
|||
@import "../_partial/_single/mapbox";
|
||||
@import "../_partial/_single/music";
|
||||
@import "../_partial/_single/bilibili";
|
||||
@import "../_partial/_single/katex";
|
||||
|
||||
hr {
|
||||
margin: 1rem 0;
|
||||
|
|
|
@ -96,6 +96,8 @@ header {
|
|||
.search-toggle {
|
||||
left: 0.5rem;
|
||||
right: auto;
|
||||
top: -1.125rem;
|
||||
bottom: -1.125rem;
|
||||
}
|
||||
|
||||
.search-loading {
|
||||
|
|
|
@ -34,10 +34,10 @@ pre,
|
|||
.highlight table,
|
||||
.highlight tr,
|
||||
.highlight td {
|
||||
background: $code-background-color;
|
||||
background: $code-background-color !important;
|
||||
|
||||
[theme="dark"] & {
|
||||
background: $code-background-color-dark;
|
||||
background: $code-background-color-dark !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -54,7 +54,7 @@ pre,
|
|||
margin: 0;
|
||||
padding: 0;
|
||||
border: none !important;
|
||||
white-space: nowrap;
|
||||
white-space: pre;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -229,7 +229,15 @@ pre,
|
|||
.gist-file,
|
||||
.gist-data,
|
||||
.gist-meta {
|
||||
border: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.gist-file {
|
||||
border-color: $global-font-secondary-color;
|
||||
|
||||
[theme="dark"] & {
|
||||
border-color: $global-font-secondary-color-dark;
|
||||
}
|
||||
}
|
||||
|
||||
.gist-meta {
|
||||
|
@ -243,10 +251,14 @@ pre,
|
|||
}
|
||||
}
|
||||
|
||||
color: $global-font-color;
|
||||
|
||||
[theme="dark"] & {
|
||||
color: $global-font-color-dark;
|
||||
|
||||
// imported from https://github.com/lonekorean/gist-syntax-themes/blob/master/stylesheets/one-dark.css
|
||||
.highlight {
|
||||
background: #141414;
|
||||
background: none;
|
||||
}
|
||||
.blob-num,
|
||||
.blob-code-inner,
|
||||
|
|
4
themes/CodeIT/assets/css/_partial/_single/_katex.scss
Normal file
4
themes/CodeIT/assets/css/_partial/_single/_katex.scss
Normal file
|
@ -0,0 +1,4 @@
|
|||
.katex, .katex-display{
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue