From 574be381c6925cbd878bf77cca0151e7619f4f40 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Tue, 8 Oct 2019 22:33:31 +0800 Subject: [PATCH] Beautified the style for code snippets. --- assets/css/_src/syntax.scss | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/assets/css/_src/syntax.scss b/assets/css/_src/syntax.scss index cc1ace6..bbb82f0 100644 --- a/assets/css/_src/syntax.scss +++ b/assets/css/_src/syntax.scss @@ -76,17 +76,18 @@ figure.highlight, .highlight { overflow: auto; - -moz-box-shadow: inset 0 0 2px #e9ecef; - -webkit-box-shadow: inset 0 0 2px #e9ecef; - box-shadow: inset 0 0 2px #e9ecef; + -moz-box-shadow: inset 0 0 2px #c2c6cc; + -webkit-box-shadow: inset 0 0 2px #c2c6cc; + box-shadow: inset 0 0 2px #c2c6cc; } .highlight .lineno { - padding: .8rem .5rem; - min-width: 2rem; + margin: .8rem 0rem; + padding: 0 .5rem; + min-width: 2.2rem; text-align: right; - color: rgba(140, 134, 126, 0.67); - background: rgb(234, 236, 242); + color: #c2c6cc; + border-right: 1px solid #e9ecef; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none;