add disable animation, mermaid support

Signed-off-by: GitHub Action <action@github.com>
This commit is contained in:
GitHub Action
2024-10-23 17:21:35 +00:00
parent 08494a1088
commit cdef5afeed
6 changed files with 17 additions and 11 deletions

View File

@ -6,6 +6,7 @@ $dark-grey: #3b3e48 !default;
$highlight-grey: #7d828a !default;
$midnightblue: #2c3e50 !default;
$typewriter: hsl(172, 100%, 36%) !default;
$codebackground: #272822 !default;
// Scroll to Top Default colors
$stt-stroke: #ccc !default;

View File

@ -1,9 +1,7 @@
@import "predefined.scss";
@import "normalize.scss";
@import "syntax.scss";
{{ if ne false .Site.Params.usesAnimation }}
@import "animate.scss";
{{ end }}
@import "scroll.scss";
@import "socialshare.scss";
{{ if (fileExists "assets/scss/userstyles.scss") }}
@ -66,7 +64,9 @@ pre {
background: $midnightblue;
overflow-x: auto;
-webkit-overflow-scrolling: touch;
&.mermaid {
background: $codebackground;
}
code {
padding: 0;
margin: 0;