diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b17231..a3e1b83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file. This project is at an early development stage. **Expect breaking changes without prior notice before v1.0.0**. Everything after v1.0.0 will follow [Semantic Versioning](https://semver.org/). +## [0.6.5] - 2019-02-03 +- Add stylelint linter + ## [0.6.4] - 2019-02-03 - Change dark theme colors diff --git a/lib/terminal.css b/lib/terminal.css index 4c6e024..70535a3 100644 --- a/lib/terminal.css +++ b/lib/terminal.css @@ -218,6 +218,7 @@ pre code { .terminal-prompt { position: relative; + white-space: nowrap; } .terminal-prompt::before { @@ -403,20 +404,10 @@ ol.terminal-toc li a:hover { hr { position: relative; - height: calc(var(--global-space) * 2); overflow: hidden; + margin: calc(var(--global-space) * 4) 0; border: 0; - margin: calc(var(--global-space) * 2) 0; -} - -hr::after { - content: "--------------------------------------------------------------------------------------------------------------------"; - position: absolute; - top: 0; - left: 0; - line-height: calc(var(--global-space) * 2); - width: 100%; - word-wrap: break-word; + border-bottom: 1px dashed var(--secondary-color); } p { diff --git a/package.json b/package.json index 757bab3..6fd662b 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "build": "node ./scripts/build.js && node ./scripts/copyFiles.js", "test": "echo \"Error: no test specified\" && exit 1", "lint": "stylelint lib/terminal.css", + "preversion": "npm run lint", "prepublish": "npm run build" }, "repository": {