Skip to content

Commit 0c9d15a

Browse files
committed
Beautified the style for code snippets.
1 parent 398a113 commit 0c9d15a

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

assets/css/_src/syntax.scss

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,18 @@ figure.highlight,
7676

7777
.highlight {
7878
overflow: auto;
79-
-moz-box-shadow: inset 0 0 2px #e9ecef;
80-
-webkit-box-shadow: inset 0 0 2px #e9ecef;
81-
box-shadow: inset 0 0 2px #e9ecef;
79+
-moz-box-shadow: inset 0 0 2px #c2c6cc;
80+
-webkit-box-shadow: inset 0 0 2px #c2c6cc;
81+
box-shadow: inset 0 0 2px #c2c6cc;
8282
}
8383

8484
.highlight .lineno {
85-
padding: .8rem .5rem;
86-
min-width: 2rem;
85+
margin: .8rem 0rem;
86+
padding: 0 .5rem;
87+
min-width: 2.2rem;
8788
text-align: right;
88-
color: rgba(140, 134, 126, 0.67);
89-
background: rgb(234, 236, 242);
89+
color: #c2c6cc;
90+
border-right: 1px solid #e9ecef;
9091
-webkit-user-select: none;
9192
-khtml-user-select: none;
9293
-moz-user-select: none;

0 commit comments

Comments
 (0)