mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 21:24:41 +03:00
provide paddings consistently in codeblcoks with/without highlight
This commit is contained in:
@@ -35,16 +35,21 @@
|
|||||||
|
|
||||||
/** same style for highlighted, non-highlight */
|
/** same style for highlighted, non-highlight */
|
||||||
.cpp.hljs {
|
.cpp.hljs {
|
||||||
overflow-x: unset;
|
overflow-x: unset;
|
||||||
padding: unset;
|
}
|
||||||
|
|
||||||
|
/** override poole.css */
|
||||||
|
pre code {
|
||||||
|
/* same as hljs */
|
||||||
|
padding: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** highlight js change colors (overrides style) */
|
/** highlight js change colors (overrides style) */
|
||||||
.hljs-comment {
|
.hljs-comment {
|
||||||
color: #008000;
|
color: #008000;
|
||||||
}
|
}
|
||||||
.hljs-meta {
|
.hljs-meta {
|
||||||
color: #2b91af;
|
color: #2b91af;
|
||||||
}
|
}
|
||||||
|
|
||||||
.zip_download_link {
|
.zip_download_link {
|
||||||
|
|||||||
Reference in New Issue
Block a user