mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 21:24:41 +03:00
fix no-highlight code color
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
$("button")
|
||||
.click(function( event ) {
|
||||
$("pre code").toggleClass("cpp");
|
||||
$("pre code").toggleClass("hljs");
|
||||
$("pre code").toggleClass("no-highlight");
|
||||
$("pre code").each(function(i, block) {
|
||||
hljs.highlightBlock(block);
|
||||
|
||||
@@ -150,10 +150,10 @@ pre {
|
||||
code {
|
||||
padding: .2em .2em;
|
||||
font-size: 90%;
|
||||
color: #bf616a;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
@media (max-width: 70em) {
|
||||
code {
|
||||
white-space: pre-wrap;
|
||||
@@ -184,7 +184,7 @@ pre {
|
||||
pre code {
|
||||
padding: 0;
|
||||
font-size: 100%;
|
||||
color: inherit;
|
||||
color: black;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user