Fix codehilite CSS.

This commit is contained in:
Sergio Martínez Portela 2023-09-18 23:54:41 +02:00
parent eb1c3084c8
commit 747fbf015e

View File

@ -370,6 +370,20 @@ a.external::after {
text-decoration: underline; text-decoration: underline;
} }
/* Codehilite fix */
.codehilitetable, .codehilitetable tr, .codehilitetable td {
border: none;
}
.codehilitetable .linenodiv pre {
margin: 0;
box-shadow: none;
line-height: 1.2em;
font-family: Menlo, Monaco, "Courier New", monospace;
font-size: medium;
}
.codehilitetable .code code {
font-size: medium;
}
/* Code blocks */ /* Code blocks */
pre { pre {
overflow: auto; overflow: auto;
@ -383,7 +397,7 @@ pre > code {
overflow: auto; overflow: auto;
} }
pre code { pre code {
padding: 0.5ex; padding: 1ex;
font-size: medium; font-size: medium;
background: #fff; background: #fff;
color: #000; color: #000;
@ -622,9 +636,9 @@ tr.__table-separator {
background-color: #262628; background-color: #262628;
} }
pre { pre {
padding: 0.5ex; padding: 0.25ex;
background-color: inherit; background-color: inherit;
box-shadow: none; box-shadow: 0px 1px 2px 1px rgba(0, 0, 0, 0.0);
} }
pre code { pre code {
padding: 1ex; padding: 1ex;