Added styling for github syntax highlighting.
This commit is contained in:
parent
13a6dcea63
commit
52d90276bf
@ -1,3 +1,6 @@
|
||||
/* Github Code Highlighting. */
|
||||
@import "../../../node_modules/github-syntax-dark/lib/github-dark.css";
|
||||
|
||||
/*******************************************************************************
|
||||
* *
|
||||
* Fonts *
|
||||
@ -1768,6 +1771,14 @@ input:checked + .toggleSwitchSlider:before {
|
||||
color: black;
|
||||
font-weight: bold;
|
||||
}
|
||||
#settingsChangelogText .highlight {
|
||||
background: rgba(0, 0, 0, 0.30);
|
||||
user-select: initial;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
#settingsChangelogText .highlight pre {
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
/* Container for the changelog button. */
|
||||
#settingsChangelogActions {
|
||||
|
5
package-lock.json
generated
5
package-lock.json
generated
@ -1183,6 +1183,11 @@
|
||||
"assert-plus": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"github-syntax-dark": {
|
||||
"version": "0.5.0",
|
||||
"resolved": "https://registry.npmjs.org/github-syntax-dark/-/github-syntax-dark-0.5.0.tgz",
|
||||
"integrity": "sha1-FwRlRf+qBB5YJFgAHflot+yRwuo="
|
||||
},
|
||||
"glob": {
|
||||
"version": "7.1.2",
|
||||
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
|
||||
|
@ -35,6 +35,7 @@
|
||||
"ejs-electron": "^2.0.3",
|
||||
"electron-is-dev": "^0.3.0",
|
||||
"electron-updater": "^2.23.3",
|
||||
"github-syntax-dark": "^0.5.0",
|
||||
"jquery": "^3.3.1",
|
||||
"mkdirp": "^0.5.1",
|
||||
"request": "^2.87.0",
|
||||
|
Loading…
Reference in New Issue
Block a user