From 27f506d6e41757750a81a379aad9107f7e69a79b Mon Sep 17 00:00:00 2001 From: Zhao Xin <7176466@qq.com> Date: Sun, 18 Sep 2022 22:40:47 +0800 Subject: [PATCH] gitpush --- _config.next.yml | 4 ++-- source/_data/styles.styl | 4 ++++ source/_posts/作品/p5js/柏林噪声1D.md | 7 ------- 3 files changed, 6 insertions(+), 9 deletions(-) create mode 100644 source/_data/styles.styl diff --git a/_config.next.yml b/_config.next.yml index 0366857..8a984e8 100644 --- a/_config.next.yml +++ b/_config.next.yml @@ -28,7 +28,7 @@ custom_file_path: #bodyEnd: source/_data/body-end.njk #variable: source/_data/variables.styl #mixin: source/_data/mixins.styl - #style: source/_data/styles.styl + style: source/_data/styles.styl # --------------------------------------------------------------- # Scheme Settings @@ -139,7 +139,7 @@ avatar: # Replace the default image and set the url here. url: /images/zhaoxin.jpg # If true, the avatar will be displayed in circle. - rounded: false + rounded: true # If true, the avatar will be rotated with the cursor. rotated: false diff --git a/source/_data/styles.styl b/source/_data/styles.styl new file mode 100644 index 0000000..4c1563b --- /dev/null +++ b/source/_data/styles.styl @@ -0,0 +1,4 @@ +pre, +code { + font-family: 'Fira Code', 'Ubuntu Mono', monospace; +} diff --git a/source/_posts/作品/p5js/柏林噪声1D.md b/source/_posts/作品/p5js/柏林噪声1D.md index 2f29e2f..6bc91f2 100644 --- a/source/_posts/作品/p5js/柏林噪声1D.md +++ b/source/_posts/作品/p5js/柏林噪声1D.md @@ -8,13 +8,6 @@ tags: [] date: 2022-09-18 16:45:10 --- - - ``` js let offset = 0 let ratio = 0.01