This commit is contained in:
parent
459cf79f50
commit
44a6e04a42
10 changed files with 23 additions and 182 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue