Skip to content

Commit

Permalink
Update github markdown style
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Apr 2, 2018
1 parent 391cda1 commit fd7286d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
24 changes: 5 additions & 19 deletions github-markdown.css
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@

.vscode-body a {
background-color: transparent;
-webkit-text-decoration-skip: objects;
}

.vscode-body a:active,
Expand All @@ -172,10 +171,6 @@
border-style: none;
}

.vscode-body svg:not(:root) {
overflow: hidden;
}

.vscode-body code,
.vscode-body kbd,
.vscode-body pre {
Expand Down Expand Up @@ -537,6 +532,10 @@
margin-bottom: 0;
}

.vscode-body li {
word-wrap: break-all;
}

.vscode-body li>p {
margin-top: 16px;
}
Expand Down Expand Up @@ -602,21 +601,13 @@
}

.vscode-body code {
padding: 0;
padding-top: 0.2em;
padding-bottom: 0.2em;
padding: 0.2em 0.4em;
margin: 0;
font-size: 85%;
background-color: rgba(27,31,35,0.05);
border-radius: 3px;
}

.vscode-body code::before,
.vscode-body code::after {
letter-spacing: -0.2em;
content: "\00a0";
}

.vscode-body pre {
word-wrap: normal;
}
Expand Down Expand Up @@ -662,11 +653,6 @@
border: 0;
}

.vscode-body pre code::before,
.vscode-body pre code::after {
content: normal;
}

.vscode-body .full-commit .btn-outline:not(:disabled):hover {
color: #005cc5;
border-color: #005cc5;
Expand Down
9 changes: 5 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
]
},
"dependencies": {
"highlight.js": "^9.10.0"
"highlight.js": "^9.12.0"
},
"devDependencies": {
"github-markdown-css": "^2.9.0"
"github-markdown-css": "^2.10.0"
},
"scripts": {
"build": "node ./build/update-github-markdown-css.js"
Expand Down

0 comments on commit fd7286d

Please sign in to comment.