From cc3567d13000ea5b001a3722d1a770e30e5ab631 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Thu, 7 Mar 2024 12:04:55 +0100 Subject: [PATCH 1/4] new note --- _notes/2024-03-05-gy.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 _notes/2024-03-05-gy.md diff --git a/_notes/2024-03-05-gy.md b/_notes/2024-03-05-gy.md new file mode 100644 index 0000000..9e863b6 --- /dev/null +++ b/_notes/2024-03-05-gy.md @@ -0,0 +1,8 @@ +--- +layout: default +title: Note +date: "2024-03-05 17:16" +--- + +I used this place for some fun work to take my mind of the bad things in there and fiddled around a lot. Broke things. Created helpers. I'll drop the jekyll-feed plugin since it's having the wrong opinions, but creating my own rssplugin is a lot of fun actually. +I've put [the site's code out](https://code.muhh.lol/muhh/muhh.lol) there as well. From 50cf4834ae00074e3fc93b021977c1cd14b2b79c Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Thu, 7 Mar 2024 12:05:12 +0100 Subject: [PATCH 2/4] fix(Rakefile): use correct source for rsync --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 6fd880e..bf3abce 100644 --- a/Rakefile +++ b/Rakefile @@ -46,7 +46,7 @@ end desc "deploy site" task :deploy => [:build] do - sh "rsync -az --delete ./_site srv.muhh.lol:/var/www/htdocs/muhh.lol/" + sh "rsync -az --delete ./_site/ srv.muhh.lol:/var/www/htdocs/muhh.lol/" end task :default => [:clean, :build, :serve] From 4e19e1c0be166e67c7fdc84d567fbcf7d2a9b652 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Thu, 7 Mar 2024 12:05:38 +0100 Subject: [PATCH 3/4] chore(config): cleanup --- _config.yml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 0fcf962..125b87f 100644 --- a/_config.yml +++ b/_config.yml @@ -39,14 +39,35 @@ collections: rss_post_limit: 10000 +feed: + collections: + posts: + path: /feed.xml + notes: + path: /notes.xml + plugins: + - jekyll-deploy + - jekyll-feed - jekyll-redirect-from - jemoji -exclude: - - Rakefile - - README.md - - Gemfile - - Gemfile.lock - - .jekyll-cache - - .gitignore +# Exclude from processing. +# The following items will not be processed, by default. +# Any item listed under the `exclude:` key here will be automatically added to +# the internal "default list". +# +# Excluded items can be processed by explicitly listing the directories or +# their entries' file path in the `include:` list. +# +# exclude: +# - .sass-cache/ +# - .jekyll-cache/ +# - gemfiles/ +# - Gemfile +# - Gemfile.lock +# - node_modules/ +# - vendor/bundle/ +# - vendor/cache/ +# - vendor/gems/ +# - vendor/ruby/ From ddbc45e875ce7e7742f81339ac217ed5de4e16d7 Mon Sep 17 00:00:00 2001 From: Markus Heurung Date: Thu, 7 Mar 2024 12:06:00 +0100 Subject: [PATCH 4/4] feat(css): CATPPUCCIN! --- assets/new.scss | 64 +++++++++++++++++++++++++------------------------ 1 file changed, 33 insertions(+), 31 deletions(-) diff --git a/assets/new.scss b/assets/new.scss index ca8601b..fedf5e6 100644 --- a/assets/new.scss +++ b/assets/new.scss @@ -2,40 +2,42 @@ --- :root { - --backgroundColor: #fdfdfd; - --textColor: #303030; - --secondaryTextColor: #404040; - --mutedTextColor: #707070; - --subtleBackgroundColor: #f5f5f5; - --heartedBackgroundColor: #ffe2e2; - --selectionBackgroundColor: #ffc; - --linkColor: #2357cd; - --borderColor: #ccc; - --hrColor: #888; - --activeColor: #74d274; - --langBackgroundColor: #eeeeee; + /* Light Mode */ + --backgroundColor: #EFF1F5; /* froth */ + --textColor: #4C4F69; /* text */ + --secondaryTextColor: #565A6E; /* overlay2 */ + --mutedTextColor: #727585; /* overlay1 */ + --subtleBackgroundColor: #E6E9EF; /* surface2 */ + --heartedBackgroundColor: #F5E0DC; /* peach */ + --selectionBackgroundColor: #A6E3A1; /* green */ + --linkColor: #89B4FA; /* blue */ + --borderColor: #D9E0EE; /* crust */ + --hrColor: #ABAEC6; /* mantle */ + --activeColor: #F28FAD; /* pink */ + --langBackgroundColor: #DCE0EA; /* surface1 */ --langShadowColor: transparent; - --logoColor: #cccccc; - --photoBackground: #f4f4f4; + --logoColor: #B8C0E0; /* lavender */ + --photoBackground: #E9ECF2; /* surface0 */ } @media (prefers-color-scheme: dark) { :root { - --backgroundColor: #151615; - --textColor: #dbdfdf; - --secondaryTextColor: #cfd5d5; - --mutedTextColor: #b4b6b8; - --subtleBackgroundColor: #3a3b3b; - --heartedBackgroundColor: #652222; - --selectionBackgroundColor: #19446b; - --linkColor: #6eb8ff; - --borderColor: #414141; - --hrColor: #888; - --activeColor: #74d274; - --langBackgroundColor: #2c2c2c; - --langShadowColor: #0b0c0b33; - --logoColor: #555555; - --photoBackground: #1a1a1a; + /* Dark Mode */ + --backgroundColor: #1E1E2E; /* base */ + --textColor: #CDD6F4; /* text */ + --secondaryTextColor: #A6ADC8; /* overlay2 */ + --mutedTextColor: #88909F; /* overlay1 */ + --subtleBackgroundColor: #313244; /* surface2 */ + --heartedBackgroundColor: #913C3C; /* red */ + --selectionBackgroundColor: #223249; /* blue darker */ + --linkColor: #89B4FA; /* blue */ + --borderColor: #414559; /* crust */ + --hrColor: #4C4F69; /* mantle */ + --activeColor: #ABE9B3; /* green */ + --langBackgroundColor: #2A2A3C; /* surface1 */ + --langShadowColor: #00000033; + --logoColor: #6E6C7E; /* lavender darker */ + --photoBackground: #24273A; /* surface0 */ } } @@ -45,7 +47,7 @@ body { line-height: 1.7em; padding: 0 2.5em; margin: 0; - font-size: 18px; + font-size: 1.1em; word-wrap: break-word; } @@ -255,7 +257,7 @@ hr { article { font-family: system-ui, sans-serif; - font-size: 16px; + font-size: 1em; } .smol {