This commit is contained in:
Arthur K. 2025-05-29 17:14:23 +03:00
parent 459cf79f50
commit 44a6e04a42
Signed by: wzray
GPG key ID: B97F30FDC4636357
10 changed files with 23 additions and 182 deletions

View file

@ -3,16 +3,21 @@
{% block styles %}
pre {
height: 100%;
width: 100%;
min-width: 100%;
margin: 0;
overflow: auto;
font-family: inherit;
font-size: 1rem;
line-height: inherit;
counter-reset: line;
display: flex;
flex-direction: column;
flex-shrink: 0;
}
code {
counter-increment: line;
padding: 0 2rem;
display: inline-block;
}
code::before {
content: counter(line);
@ -23,6 +28,8 @@
color: #888;
-webkit-user-select: none;
}
pre > code:last-child { margin-bottom: 1rem; }
pre > code:first-child { margin-top: 1rem; }
{% endblock styles %}
{% block head %}