Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <contact@angelostavrow.com>2020-07-19 15:25:09 +0300
committerGitHub <noreply@github.com>2020-07-19 15:25:09 +0300
commit58bdf8014132d8aab54c867079c894db136f293f (patch)
treed99f59eac611ada32a80991a60229cadce31505d
parent7cfe70c0014d6162b81e40358df67c566bbe0296 (diff)
parent8c73dd18fd1c4cf2741041cf52c76cf62b453503 (diff)
Merge pull request #90 from AngeloStavrow/improve-code-blocks
Improve code blocks
-rw-r--r--CHANGELOG.md8
-rw-r--r--static/css/style.css7
2 files changed, 10 insertions, 5 deletions
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 -->
+[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
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%;
}