change hr style

This commit is contained in:
Jonas Duri 2019-02-05 08:27:03 +01:00
parent 990a488398
commit 6bd4e67212
3 changed files with 7 additions and 12 deletions

View File

@ -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**. 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/). 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 ## [0.6.4] - 2019-02-03
- Change dark theme colors - Change dark theme colors

View File

@ -218,6 +218,7 @@ pre code {
.terminal-prompt { .terminal-prompt {
position: relative; position: relative;
white-space: nowrap;
} }
.terminal-prompt::before { .terminal-prompt::before {
@ -403,20 +404,10 @@ ol.terminal-toc li a:hover {
hr { hr {
position: relative; position: relative;
height: calc(var(--global-space) * 2);
overflow: hidden; overflow: hidden;
margin: calc(var(--global-space) * 4) 0;
border: 0; border: 0;
margin: calc(var(--global-space) * 2) 0; border-bottom: 1px dashed var(--secondary-color);
}
hr::after {
content: "--------------------------------------------------------------------------------------------------------------------";
position: absolute;
top: 0;
left: 0;
line-height: calc(var(--global-space) * 2);
width: 100%;
word-wrap: break-word;
} }
p { p {

View File

@ -11,6 +11,7 @@
"build": "node ./scripts/build.js && node ./scripts/copyFiles.js", "build": "node ./scripts/build.js && node ./scripts/copyFiles.js",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"lint": "stylelint lib/terminal.css", "lint": "stylelint lib/terminal.css",
"preversion": "npm run lint",
"prepublish": "npm run build" "prepublish": "npm run build"
}, },
"repository": { "repository": {