Prevent the URLs of code block from being clickable

This commit is contained in:
Cotes Chung 2021-01-10 18:48:36 +08:00
parent 93fcf50131
commit e8170f8379

View file

@ -132,6 +132,15 @@ code {
td.rouge-code {
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 */