mirror of
https://github.com/taigrr/nats.docs
synced 2025-01-18 04:03:23 -08:00
updating docs
This commit is contained in:
@@ -17,7 +17,7 @@ require(["gitbook", "jQuery"], function(gitbook, $) {
|
||||
}
|
||||
|
||||
gitbook.toolbar.createButton({
|
||||
icon: 'fa fa-github',
|
||||
icon: 'fa fa-edit',
|
||||
text: label,
|
||||
onClick: function() {
|
||||
var filepath = gitbook.state.filepath;
|
||||
@@ -27,4 +27,4 @@ require(["gitbook", "jQuery"], function(gitbook, $) {
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
@@ -84,7 +84,7 @@ code[class*="language-"] {
|
||||
.token.entity,
|
||||
.token.url,
|
||||
.language-css .token.string,
|
||||
.toke.variable,
|
||||
.token.variable,
|
||||
.token.inserted {
|
||||
color: yellowgreen;
|
||||
}
|
||||
@@ -115,3 +115,16 @@ code[class*="language-"] {
|
||||
.token.deleted {
|
||||
color: red;
|
||||
}
|
||||
|
||||
/* Plugin styles: Diff Highlight */
|
||||
pre.diff-highlight.diff-highlight > code .token.deleted:not(.prefix),
|
||||
pre > code.diff-highlight.diff-highlight .token.deleted:not(.prefix) {
|
||||
background-color: rgba(255, 0, 0, .3);
|
||||
display: inline;
|
||||
}
|
||||
|
||||
pre.diff-highlight.diff-highlight > code .token.inserted:not(.prefix),
|
||||
pre > code.diff-highlight.diff-highlight .token.inserted:not(.prefix) {
|
||||
background-color: rgba(0, 255, 128, .3);
|
||||
display: inline;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user