1
0
mirror of https://github.com/lxsang/antd-web-apps synced 2025-02-07 03:42:48 +01:00

Merge pull request #3 from lxsang/master

add style for line number
This commit is contained in:
Xuan Sang LE 2020-06-26 16:35:54 +02:00 committed by GitHub
commit 3af5abdf87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
} }