From 8d4a0146c2c5fd8a8e43d245b631eb35617d30b7 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Fri, 1 Sep 2017 05:30:54 +0800 Subject: [PATCH] Fix line highlights, lol --- _sass/2017/markdown/code.scss | 6 +++--- jest.md | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/_sass/2017/markdown/code.scss b/_sass/2017/markdown/code.scss index 9db980344..39d31ae37 100644 --- a/_sass/2017/markdown/code.scss +++ b/_sass/2017/markdown/code.scss @@ -37,11 +37,11 @@ // Line highlight .line-highlight { - transform: translate3d(0, 1px, 0); + transform: translate3d(0, 2px, 0); background: linear-gradient( to right, - mix($base-c, white, 5%) 25%, - white); + rgba($base-c, 0.05) 25%, + transparent); } // Line highlight ranges diff --git a/jest.md b/jest.md index 9097f77a9..b06b794e7 100644 --- a/jest.md +++ b/jest.md @@ -16,6 +16,7 @@ Testing ```bash npm install --save-dev jest babel-jest ``` +{: data-line="1"} ```js /* Add to package.json */