PluginProbe ʕ •ᴥ•ʔ
Syntax-highlighting Code Block (with Server-side Rendering) / 1.1.0
Syntax-highlighting Code Block (with Server-side Rendering) v1.1.0
trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0 1.2.1 1.2.2 1.2.3 1.3.0 1.3.1 1.4.0 1.5.0 1.5.1 1.5.2
syntax-highlighting-code-block / line-numbers.css
syntax-highlighting-code-block Last commit date
build 6 years ago vendor 6 years ago wp-assets 6 years ago LICENSE 6 years ago line-numbers.css 6 years ago readme.txt 6 years ago syntax-highlighting-code-block.php 6 years ago
line-numbers.css
26 lines
1 .hljs.line-numbers {
2 border-spacing: 0.75em 0;
3 counter-reset: line;
4 display: table;
5 }
6
7 .hljs.line-numbers .loc {
8 counter-increment: line;
9 display: table-row;
10 width: 100%;
11 }
12
13 .hljs.line-numbers .loc::before {
14 border-right: 1px solid #ddd;
15 content: counter(line);
16 display: table-cell;
17 padding-right: 0.75em;
18 text-align: right;
19 -webkit-user-select: none;
20 -moz-user-select: none;
21 -ms-user-select: none;
22 user-select: none;
23 white-space: nowrap;
24 width: 1%;
25 }
26