From 3f6a3e2d171d83021ad49cfe87fecba0b6540168 Mon Sep 17 00:00:00 2001 From: horhik Date: Sun, 6 Jun 2021 15:09:21 +0300 Subject: [PATCH] add gruvbox theme --- assets/css/basic.scss | 7 +- assets/css/variables.scss | 17 ++ config.toml | 16 +- layouts/partials/footer.html | 8 +- layouts/partials/header.html | 2 +- public/categories/index.html | 90 ++++++++- public/categories/index.xml | 11 +- public/categories/page/1/index.html | 2 +- public/index.html | 78 +++++++- public/index.xml | 30 ++- public/page/1/index.html | 2 +- public/posts/index.html | 108 ++++++++++- public/posts/index.xml | 30 ++- public/posts/my-first-post/index.html | 122 ++++++++++++ public/posts/page/1/index.html | 2 +- .../index.html | 181 ++++++++++++------ public/posts/second-test-post/index.html | 63 +++++- public/sitemap.xml | 22 ++- public/tags/index.html | 90 ++++++++- public/tags/index.xml | 11 +- public/tags/page/1/index.html | 2 +- ...s_f300667da4f5b5f84e1a9e0702b2fdde.content | 25 ++- 22 files changed, 821 insertions(+), 98 deletions(-) create mode 100644 public/posts/my-first-post/index.html diff --git a/assets/css/basic.scss b/assets/css/basic.scss index 2a2d3ed..ebcef7b 100644 --- a/assets/css/basic.scss +++ b/assets/css/basic.scss @@ -37,8 +37,13 @@ a, .link{ font-size: 2em; } -code{ +// Highlighting one line code (which uses ` not ```) +p code, quote code, q code{ font-family: $main-font; + background: var(--selection); + color: var(--cyan); + border-radius: 3px; + padding: 0 6px; } @import "logo"; diff --git a/assets/css/variables.scss b/assets/css/variables.scss index f618825..46fbc15 100644 --- a/assets/css/variables.scss +++ b/assets/css/variables.scss @@ -1,3 +1,5 @@ +/* Dracula theme */ +/* :root { --background: #282A36 ; --comment: #6272A4 ; @@ -11,6 +13,21 @@ --red: #FF5555 ; --yellow: #F1FA8C; } +*/ +/* Gruvbox theme */ +:root { + --background: #282828 ; + --comment: #458588 ; + --selection: #665c54 ; + --foreground: #ebdbb2 ; + --cyan: #83a598 ; + --orange: #fe8019; + --green: #98971a ; + --pink: #d3869b ; + --purple: #b16286 ; + --red: #cc241d ; + --yellow: #F1FA8C; +} $ascii-line-height: 1.115em; $header-color: var(--green); diff --git a/config.toml b/config.toml index 04dc565..1480cc8 100644 --- a/config.toml +++ b/config.toml @@ -14,5 +14,19 @@ summaryLength=10 lineNos = true lineNumbersInTable = true noClasses = true - style = "dracula" + style = "fruity" tabWidth = 2 + + +[[menu.social]] + name = "Twitter" + url = "https://twitter.com/HORHI" + weight = 1 +[[menu.social]] + name = "GitHub" + url = "https://github.com/horhik" + weight = 10 +[[menu.social]] + name = "LinkedIn" + url = "https://www.linkedin.com/in/horhik" + weight = 100 \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 2868f86..75c9d56 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,6 +1,6 @@ \ No newline at end of file + diff --git a/layouts/partials/header.html b/layouts/partials/header.html index a16d58d..c5ba08c 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,5 @@
- + + + + + diff --git a/public/categories/index.xml b/public/categories/index.xml index fd0e799..9b2e5a8 100644 --- a/public/categories/index.xml +++ b/public/categories/index.xml @@ -1 +1,10 @@ -Categories on Horhik.xyzhttps://site.horhik.xyz/categories/Recent content in Categories on Horhik.xyzHugo -- gohugo.ioen-us \ No newline at end of file + + + + Categories on Horhik.xyz + https://site.horhik.xyz/categories/ + Recent content in Categories on Horhik.xyz + Hugo -- gohugo.io + en-us + + diff --git a/public/categories/page/1/index.html b/public/categories/page/1/index.html index 21f5a06..d114532 100644 --- a/public/categories/page/1/index.html +++ b/public/categories/page/1/index.html @@ -1 +1 @@ -https://site.horhik.xyz/categories/ \ No newline at end of file +https://site.horhik.xyz/categories/ \ No newline at end of file diff --git a/public/index.html b/public/index.html index 3a90ec9..5779305 100644 --- a/public/index.html +++ b/public/index.html @@ -1,25 +1,93 @@ -Horhik.xyz
+ + +
+ + + +
+ + \ No newline at end of file + + + + + + diff --git a/public/index.xml b/public/index.xml index 3074636..ed971cc 100644 --- a/public/index.xml +++ b/public/index.xml @@ -1 +1,29 @@ -Horhik.xyzhttps://site.horhik.xyz/Recent content on Horhik.xyzHugo -- gohugo.ioen-usThu, 21 Jan 2021 10:26:19 +0300PyAutoGUI for simplifying anki routinehttps://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/Thu, 21 Jan 2021 10:26:19 +0300https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/I had been adding some cards to Anki. It was lowercase word and word with stress in russian.Second Test Posthttps://site.horhik.xyz/posts/second-test-post/Sun, 03 Jan 2021 01:24:34 +0200https://site.horhik.xyz/posts/second-test-post/heeeya \ No newline at end of file + + + + Horhik.xyz + https://site.horhik.xyz/ + Recent content on Horhik.xyz + Hugo -- gohugo.io + en-us + Thu, 21 Jan 2021 10:26:19 +0300 + + PyAutoGUI for simplifying anki routine + https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ + Thu, 21 Jan 2021 10:26:19 +0300 + + https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ + I had been adding some cards to Anki. It was lowercase word and word with stress in russian. + + + + Second Test Post + https://site.horhik.xyz/posts/second-test-post/ + Sun, 03 Jan 2021 01:24:34 +0200 + + https://site.horhik.xyz/posts/second-test-post/ + heeeya + + + + diff --git a/public/page/1/index.html b/public/page/1/index.html index bf3fe6f..4f69abc 100644 --- a/public/page/1/index.html +++ b/public/page/1/index.html @@ -1 +1 @@ -https://site.horhik.xyz/ \ No newline at end of file +https://site.horhik.xyz/ \ No newline at end of file diff --git a/public/posts/index.html b/public/posts/index.html index 97d1dec..7ef1d53 100644 --- a/public/posts/index.html +++ b/public/posts/index.html @@ -1,25 +1,123 @@ -Posts
+ + +
+ +
+

Posts

+ +
+ + + + + + + + + +
+ +1 of 1 + +
+ +
+ + + + \ No newline at end of file + + + + + + diff --git a/public/posts/index.xml b/public/posts/index.xml index 26ec7e3..a2633af 100644 --- a/public/posts/index.xml +++ b/public/posts/index.xml @@ -1 +1,29 @@ -Posts on Horhik.xyzhttps://site.horhik.xyz/posts/Recent content in Posts on Horhik.xyzHugo -- gohugo.ioen-usThu, 21 Jan 2021 10:26:19 +0300PyAutoGUI for simplifying anki routinehttps://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/Thu, 21 Jan 2021 10:26:19 +0300https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/I had been adding some cards to Anki. It was lowercase word and word with stress in russian.Second Test Posthttps://site.horhik.xyz/posts/second-test-post/Sun, 03 Jan 2021 01:24:34 +0200https://site.horhik.xyz/posts/second-test-post/heeeya \ No newline at end of file + + + + Posts on Horhik.xyz + https://site.horhik.xyz/posts/ + Recent content in Posts on Horhik.xyz + Hugo -- gohugo.io + en-us + Thu, 21 Jan 2021 10:26:19 +0300 + + PyAutoGUI for simplifying anki routine + https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ + Thu, 21 Jan 2021 10:26:19 +0300 + + https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ + I had been adding some cards to Anki. It was lowercase word and word with stress in russian. + + + + Second Test Post + https://site.horhik.xyz/posts/second-test-post/ + Sun, 03 Jan 2021 01:24:34 +0200 + + https://site.horhik.xyz/posts/second-test-post/ + heeeya + + + + diff --git a/public/posts/my-first-post/index.html b/public/posts/my-first-post/index.html new file mode 100644 index 0000000..bad596f --- /dev/null +++ b/public/posts/my-first-post/index.html @@ -0,0 +1,122 @@ + + + + + + + My First Post + + + + + + + + + + + + + + +
+ + O. George’s site + +
+ + +
+
+

My First Post

+ +
+

Test

+

nice +nice

+
+ +
+
1
+2
+
+
println!("nice nice");
+println!("nice nice");
+
+
+
Lorem Ipsum
+    Images
+    Plugins
+    Generators
+English
+    Deutsch
+    Español
+    Français
+    Русский
+
+

Lorem Ipsum Generator

+

Generate Lorem I +psum placeholder text. Select the number of characters, words, sentences or paragraphs +, and hit generate! +Generated Lorem Ipsum +Lorem ipsum dolor sit amet, consectetur adipiscing elit +, sed do eiusmod tempor incididunt ut labore et d +olore magna aliqua. Fringilla phasellus faucibus scelerisque eleifend d +onec pretium. Nec nam aliquam sem et tortor consequat id. Pellentesque massa placerat duis ultricies lacus sed turpis tincidunt. Cras semper auctor neque vitae. Enim sit amet venenatis urna cursus eget nunc scelerisque viverra. Gravida in fermentum et sollicitudin. Potenti nullam ac tortor vitae. Pretium nibh ipsum consequat nisl vel pretium. Purus semper eget duis at tellus at urna. Duis ultricies lacus sed turpis tincidunt id. Ut tristique et egestas quis ipsum suspendisse. Rhoncus urna neque viverra justo. Nisl tincidunt eget nullam non nisi est sit amet. Semper feugiat nibh sed pulvinar proin. +Posuere sollicitudin aliquam ultrices sagittis orci a scelerisque purus. Enim ut sem viverra aliquet eget sit amet tellus cras. Pharetra magna ac placerat vestibulum lectus mauris ultrices. Tincidunt lobortis feugiat vivamus at augue eget. Arcu ac tortor dignissim convallis aenean et tortor. Pulvinar pellentesque habitant morbi tristique senectus et netus et. Sed turpis tincidunt id aliquet risus. Vel pretium lectus quam id leo in. Laoreet non curabitur gravida arcu ac tortor dignissim convallis aenean. Vulputate eu scelerisque felis imperdiet proin fermentum leo vel orci. Molestie at elementum eu facilisis sed. Lectus arcu bibendum at varius vel pharetra vel turpis nunc. Dignissim cras tincidunt lobortis feugiat vivamus at augue eget arcu. Fringilla phasellus faucibus scelerisque eleifend. Vitae aliquet nec ullamcorper sit amet risus nullam eget. Elementum nibh tellus molestie nunc. A diam maecenas sed enim ut sem viverra.

+

Mattis aliquam faucibus purus in massa. Id leo in vitae turpis massa sed elementum tempus egestas. Velit sed ullamcorper morbi tincidunt ornare. Ante metus dictum at tempor commodo ullamcorper a lacus. In vitae turpis massa sed elementum tempus egestas sed. Nisi vitae suscipit tellus mauris. Accumsan sit amet nulla facilisi morbi tempus iaculis urna. Pulvinar pellentesque habitant morbi tristique. Sit amet dictum sit amet. Consequat mauris nunc congue nisi vitae suscipit tellus. Donec pretium vulputate sapien nec sagittis. Dignissim suspendisse in est ante in nibh mauris cursus. Non diam phasellus vestibulum lorem. Urna porttitor rhoncus dolor purus non. Mauris vitae ultricies leo integer malesuada nunc. Et leo duis ut diam quam. Laoreet non curabitur gravida arcu. Id ornare arcu odio ut sem. Dui nunc mattis enim ut tellus elementum sagittis. Ac odio tempor orci dapibus ultrices in iaculis nunc.

+

Maecenas ultricies mi eget mauris pharetra et ultrices neque. Amet dictum sit amet justo donec enim diam vulputate ut. Aliquet risus feugiat in ante. Ut sem nulla pharetra diam sit amet. Sollicitudin ac orci phasellus egestas tellus rutrum tellus. Sit amet volutpat consequat mauris. A diam maecenas sed enim ut sem viverra. Nunc consequat interdum varius sit amet. Duis at consectetur lorem donec massa sapien faucibus et molestie. Commodo viverra maecenas accumsan lacus vel facilisis. Malesuada pellentesque elit eget gravida cum. Sit amet nulla facilisi morbi tempus iaculis urna id.

+

Pretium nibh ipsum consequat nisl vel pretium lectus. Orci dapibus ultrices in iaculis nunc sed augue lacus. Lacus laoreet non curabitur gravida arcu ac tortor dignissim convallis. Ipsum dolor sit amet consectetur adipiscing elit. Id neque aliquam vestibulum morbi blandit cursus risus at. Sed tempus urna et pharetra pharetra massa massa ultricies mi. Lectus vestibulum mattis ullamcorper velit sed ullamcorper morbi. Donec massa sapien faucibus et molestie ac feugiat. Dictum non consectetur a erat nam at lectus urna. Ultrices vitae auctor eu augue ut lectus arcu. Porttitor rhoncus dolor purus non enim. Semper feugiat nibh sed pulvinar proin gravida hendrerit lectus a. Consectetur libero id faucibus nisl tincidunt eget. +© 2015 — 2020 +Privacy Policy +Sitemap

+
Images
+Plugins
+Generators
+
+

Share the Lorem

+

Wasai

+ +
+ + +
+
+ + + + diff --git a/public/posts/page/1/index.html b/public/posts/page/1/index.html index 94e8b17..a230c62 100644 --- a/public/posts/page/1/index.html +++ b/public/posts/page/1/index.html @@ -1 +1 @@ -https://site.horhik.xyz/posts/ \ No newline at end of file +https://site.horhik.xyz/posts/ \ No newline at end of file diff --git a/public/posts/pyautogui-for-simplifying-anki-routine/index.html b/public/posts/pyautogui-for-simplifying-anki-routine/index.html index 7e375de..b7f8bd2 100644 --- a/public/posts/pyautogui-for-simplifying-anki-routine/index.html +++ b/public/posts/pyautogui-for-simplifying-anki-routine/index.html @@ -1,76 +1,147 @@ -PyAutoGUI for simplifying anki routine
+ + + + + diff --git a/public/sitemap.xml b/public/sitemap.xml index ec7994e..9d469b6 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -1 +1,21 @@ -https://site.horhik.xyz/2021-01-21T10:26:19+03:00https://site.horhik.xyz/posts/2021-01-21T10:26:19+03:00https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/2021-01-21T10:26:19+03:00https://site.horhik.xyz/posts/second-test-post/2021-01-03T01:24:34+02:00https://site.horhik.xyz/categories/https://site.horhik.xyz/tags/ \ No newline at end of file + + + + https://site.horhik.xyz/ + 2021-01-21T10:26:19+03:00 + + https://site.horhik.xyz/posts/ + 2021-01-21T10:26:19+03:00 + + https://site.horhik.xyz/posts/pyautogui-for-simplifying-anki-routine/ + 2021-01-21T10:26:19+03:00 + + https://site.horhik.xyz/posts/second-test-post/ + 2021-01-03T01:24:34+02:00 + + https://site.horhik.xyz/categories/ + + https://site.horhik.xyz/tags/ + + diff --git a/public/tags/index.html b/public/tags/index.html index bc04000..a45f22a 100644 --- a/public/tags/index.html +++ b/public/tags/index.html @@ -1,25 +1,105 @@ -Tags
+ + +
+ +
+

Tags

+ +
+ + + +
+ +1 of 0 + +
+ +
+ + + + \ No newline at end of file + + + + + + diff --git a/public/tags/index.xml b/public/tags/index.xml index 64e97b4..d62b2a3 100644 --- a/public/tags/index.xml +++ b/public/tags/index.xml @@ -1 +1,10 @@ -Tags on Horhik.xyzhttps://site.horhik.xyz/tags/Recent content in Tags on Horhik.xyzHugo -- gohugo.ioen-us \ No newline at end of file + + + + Tags on Horhik.xyz + https://site.horhik.xyz/tags/ + Recent content in Tags on Horhik.xyz + Hugo -- gohugo.io + en-us + + diff --git a/public/tags/page/1/index.html b/public/tags/page/1/index.html index 34bef6d..a25201d 100644 --- a/public/tags/page/1/index.html +++ b/public/tags/page/1/index.html @@ -1 +1 @@ -https://site.horhik.xyz/tags/ \ No newline at end of file +https://site.horhik.xyz/tags/ \ No newline at end of file diff --git a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content index 025dd38..73385ec 100644 --- a/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content +++ b/resources/_gen/assets/scss/css/basic.scss_f300667da4f5b5f84e1a9e0702b2fdde.content @@ -1,4 +1,6 @@ @charset "UTF-8"; +/* Dracula theme */ +/* :root { --background: #282A36 ; --comment: #6272A4 ; @@ -10,6 +12,21 @@ --pink: #FF79C6 ; --purple: #BD93F9 ; --red: #FF5555 ; + --yellow: #F1FA8C; +} +*/ +/* Gruvbox theme */ +:root { + --background: #282828 ; + --comment: #458588 ; + --selection: #665c54 ; + --foreground: #ebdbb2 ; + --cyan: #83a598 ; + --orange: #fe8019; + --green: #98971a ; + --pink: #d3869b ; + --purple: #b16286 ; + --red: #cc241d ; --yellow: #F1FA8C; } @font-face { @@ -54,8 +71,12 @@ a, .link { font-family: 'Mononoki Bold', 'Fira Code SemiBold'; font-size: 2em; } -code { - font-family: "Mononoki", monospace; } +p code, quote code, q code { + font-family: "Mononoki", monospace; + background: var(--selection); + color: var(--cyan); + border-radius: 3px; + padding: 0 6px; } .logo--wrapper { display: grid;