From 77dbc0f946e8344f31e7fe8177cfb5abe8a13cd3 Mon Sep 17 00:00:00 2001 From: developomp Date: Tue, 21 Dec 2021 17:09:42 +0900 Subject: [PATCH] CSS improvements - removed the double line look from hr tag - cleaned css --- source/src/styles/globalStyle.tsx | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/source/src/styles/globalStyle.tsx b/source/src/styles/globalStyle.tsx index 75d23bf..77f4a5d 100644 --- a/source/src/styles/globalStyle.tsx +++ b/source/src/styles/globalStyle.tsx @@ -66,9 +66,6 @@ const codeCSS = css` light: "1px solid #BBB", dark: "1px solid #555", })}; - line-height: 1.6; - padding: 0; - display: flex; } /* // todo: fix highlight not working properly when scrolled horizontally // */ @@ -80,7 +77,6 @@ const codeCSS = css` })}; display: block; - width: 100%; margin: 0 -1rem; padding: 0 1rem; } @@ -248,6 +244,11 @@ const globalStyle = css` color: ${theming.color.linkColor}; } + hr { + border: 0; + border-bottom: 1px solid; + } + * { transition: color 0.1s linear; }