.code-block {
pre {
background-color: transparent !important;
code {
display: block;
width: 100%;
padding-block: 1lh;
padding-inline: 4ch;
overflow: auto;
@media (max-width: 768px) {
padding-inline: 2ch;
}
a {
color: var(--red);
text-decoration: underline;
text-underline-offset: 3px;
// &:hover {
// opacity: 0.8;
// }
&::selection {
color: inherit;
}
&.import {
cursor: inherit;
color: inherit;
text-decoration: none;
}
}
}
}
}