From 9e10353d0b00b5fd9bcbd38137cbe7274ef17f5d Mon Sep 17 00:00:00 2001 From: XPoet Date: Thu, 9 Nov 2023 17:09:52 +0800 Subject: [PATCH] ui: optimize shrink code line style --- source/css/common/code-block/code-block.styl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/css/common/code-block/code-block.styl b/source/css/common/code-block/code-block.styl index 6dfbd1da..25398360 100644 --- a/source/css/common/code-block/code-block.styl +++ b/source/css/common/code-block/code-block.styl @@ -166,6 +166,12 @@ figure.highlight { font-family 'Font Awesome 6 Free' content '\f078' } + + &:hover { + &::before { + font-size 1.1rem + } + } } }