1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2024-11-20 02:18:20 +01:00

add style for line number

This commit is contained in:
lxsang 2020-06-26 16:35:23 +02:00
parent 49f60f0495
commit a77c0ffe85

View File

@ -276,4 +276,24 @@ a:hover{
form.search-form { form.search-form {
display: contents; display: contents;
}
td.hljs-ln-numbers {
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: center;
color: #ccc;
vertical-align: top;
font-size: 13;
/* your custom style here */
}
/* for block of code */
#container .blogentry .hljs-ln td.hljs-ln-code {
padding-left: 10px;
} }