Prevent the URLs of code block from being clickable
This commit is contained in:
parent
93fcf50131
commit
e8170f8379
1 changed files with 9 additions and 0 deletions
|
@ -132,6 +132,15 @@ code {
|
||||||
|
|
||||||
td.rouge-code {
|
td.rouge-code {
|
||||||
padding: 1.5rem 1.5rem 1.5rem 1rem;
|
padding: 1.5rem 1.5rem 1.5rem 1rem;
|
||||||
|
|
||||||
|
// Prevent some browser extends from
|
||||||
|
// changing the URL string of code block.
|
||||||
|
a {
|
||||||
|
color: inherit !important;
|
||||||
|
border-bottom: none !important;
|
||||||
|
pointer-events: none;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hide line numbers for default, console, and terminal code snippets */
|
/* Hide line numbers for default, console, and terminal code snippets */
|
||||||
|
|
Loading…
Reference in a new issue