before vue-hljs-with-line-number

This commit is contained in:
2022-05-13 17:58:13 +02:00
parent 8a4a694b86
commit 8fab301419
6 changed files with 35 additions and 5 deletions

View File

@@ -70,8 +70,27 @@ $mango: #FF8040;
.ql-syntax {
background-color: #222222;
border: 1px solid #888;
border-left: 3px solid $primary;
color: #666;
page-break-inside: avoid;
font-family: monospace;
font-size: 15px;
line-height: 1.6;
margin-bottom: 1.6em;
max-width: 100%;
overflow: auto;
padding: 1em 1.5em;
display: block;
word-wrap: break-word;
}
pre span.hljs-tag::before, span.hljs-attr::before {
content: "xxx";
display: inline-block;
}
.wrapper {
clear: both;
position: sticky;