pulsante copia codice #169
@ -101,3 +101,22 @@ figcaption {
|
|||||||
/* Avoid pushing up the copy buttons. */
|
/* Avoid pushing up the copy buttons. */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* numerazione linee */
|
||||||
|
div.highlight pre {
|
||||||
|
counter-reset: line;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.highlight pre code > span {
|
||||||
|
counter-increment: line;
|
||||||
|
padding-left: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.highlight pre code > span::before {
|
||||||
|
font-size: 0.8em;
|
||||||
|
color: #999;
|
||||||
|
content: counter(line) ". ";
|
||||||
|
display: inline-block;
|
||||||
|
padding-right: 0.2em;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user