Allow larger code blocks

pull/2/head
Gabriel Augendre 4 months ago
parent 2fd054da05
commit 1a8b95aad4
  1. 7
      src/articles/static/vendor/codehilite.css

@ -1,3 +1,10 @@
.codehilite.large {
--larger-by: 140px;
max-width: calc(100% + var(--larger-by));
width: calc(100% + var(--larger-by));
margin-left: calc(var(--larger-by) / -2);
}
@media(prefers-color-scheme: light) {
.codehilite .hll { background-color: #ffffcc }
.codehilite { background: #ffffff; }

Loading…
Cancel
Save