From d8af5be86bad5df91b7c4b8e6393063d1ddd5983 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 19 Jul 2020 08:11:42 -0400 Subject: Improve code block legibility in highlight shortcode --- static/css/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index db2c31e..162e1f8 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -229,19 +229,18 @@ blockquote { } code { - background-color: #dee5e9; - color: #00416a; font-family: "Fira Code", "Courier New", Courier, monospace; padding: 0.1em 0.2em 0.1em 0.2em; } pre { - background-color: #dee5e9; + background-color: #00416a; border: 1px solid #ccc; border-radius: 5px; + color: #dee5e9; font-size: 0.8em; margin: 2em auto; - overflow-x: scroll; + overflow-x: auto; padding: 1em; width: 100%; } -- cgit v1.2.3 From 8c73dd18fd1c4cf2741041cf52c76cf62b453503 Mon Sep 17 00:00:00 2001 From: Angelo Stavrow Date: Sun, 19 Jul 2020 08:23:55 -0400 Subject: Update change log --- CHANGELOG.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e3e69c..1f29bbd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [Unreleased] + +### Fixed + +- Improved legibility of code blocks when using language-specific backticks or Hugo's [highlight shortcode](https://github.com/AngeloStavrow/indigo/issues/89), per [#89](https://github.com/AngeloStavrow/indigo/issues/89). + ## [1.4.0] - 2020-07-13 ### Added @@ -132,7 +138,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The first public release of the indigo theme for Hugo, along with related project documentation (including this changelog). - +[Unreleased]: https://github.com/AngeloStavrow/indigo/compare/v1.4.0...HEAD [1.4.0]: https://github.com/AngeloStavrow/indigo/compare/v1.3.2...v1.4.0 [1.3.2]: https://github.com/AngeloStavrow/indigo/compare/v1.3.1...v1.3.2 [1.3.1]: https://github.com/AngeloStavrow/indigo/compare/v1.3.0...v1.3.1 -- cgit v1.2.3