From e4ce7f5a4c5eacaa40319cae2f9a765fc9aa27da Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Sun, 22 Oct 2023 09:57:12 +0000 Subject: [PATCH] Theme Files Update --- README.md | 3 +++ assets/scss/style.scss | 6 +++--- hugo.toml | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 390e8b1..06062bc 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ custom_js = ["js/custom-about.js"] The files itself will reside in `static/css` for CSS files and `static/js` for JS files. Refer to [Staging Branch](https://github.com/1bl4z3r/hermit-V2/tree/staging) to have a feel on how [this](https://github.com/1bl4z3r/hermit-V2/blob/staging/content/about-hugo.md) is implemented. +### Demo + +Demo page [https://1bl4z3r.github.io/hermit-V2/](https://1bl4z3r.github.io/hermit-V2/), which is both demo as well as documentation for the theme, is located in [Staging Branch](https://github.com/1bl4z3r/hermit-V2/tree/staging) --- diff --git a/assets/scss/style.scss b/assets/scss/style.scss index db8f972..ca856f7 100644 --- a/assets/scss/style.scss +++ b/assets/scss/style.scss @@ -45,7 +45,6 @@ pre tt { pre { padding: .7em 1.1em; - overflow: auto; font-size: .9em; line-height: 1.5; letter-spacing: normal; @@ -58,7 +57,7 @@ pre { code { padding: 0; margin: 0; - background: $midnightblue; + background: #272822; } } @@ -163,8 +162,9 @@ table { position: relative; } +.highlight div, .highlight pre { - padding-right: 75px; + overflow-x: auto; } .highlight-copy-btn { diff --git a/hugo.toml b/hugo.toml index f146703..7abf012 100644 --- a/hugo.toml +++ b/hugo.toml @@ -125,7 +125,7 @@ enableEmoji = true [[params.social]] name = "github" - url = "https://github.com/" + url = "https://github.com/1bl4z3r/hermit-V2/tree/staging" [menu]