Beautified the style for code snippets.

This commit is contained in:
Cotes Chung 2019-10-08 22:33:31 +08:00
parent cf4a7f2e2f
commit 574be381c6
1 changed files with 8 additions and 7 deletions

View File

@ -76,17 +76,18 @@ figure.highlight,
.highlight { .highlight {
overflow: auto; overflow: auto;
-moz-box-shadow: inset 0 0 2px #e9ecef; -moz-box-shadow: inset 0 0 2px #c2c6cc;
-webkit-box-shadow: inset 0 0 2px #e9ecef; -webkit-box-shadow: inset 0 0 2px #c2c6cc;
box-shadow: inset 0 0 2px #e9ecef; box-shadow: inset 0 0 2px #c2c6cc;
} }
.highlight .lineno { .highlight .lineno {
padding: .8rem .5rem; margin: .8rem 0rem;
min-width: 2rem; padding: 0 .5rem;
min-width: 2.2rem;
text-align: right; text-align: right;
color: rgba(140, 134, 126, 0.67); color: #c2c6cc;
background: rgb(234, 236, 242); border-right: 1px solid #e9ecef;
-webkit-user-select: none; -webkit-user-select: none;
-khtml-user-select: none; -khtml-user-select: none;
-moz-user-select: none; -moz-user-select: none;