CSS improvements

- removed the double line look from hr tag
- cleaned css
This commit is contained in:
Kim, Jimin 2021-12-21 17:09:42 +09:00
parent 06142518cf
commit 77dbc0f946

View file

@ -66,9 +66,6 @@ const codeCSS = css`
light: "1px solid #BBB", light: "1px solid #BBB",
dark: "1px solid #555", dark: "1px solid #555",
})}; })};
line-height: 1.6;
padding: 0;
display: flex;
} }
/* // todo: fix highlight not working properly when scrolled horizontally // */ /* // todo: fix highlight not working properly when scrolled horizontally // */
@ -80,7 +77,6 @@ const codeCSS = css`
})}; })};
display: block; display: block;
width: 100%;
margin: 0 -1rem; margin: 0 -1rem;
padding: 0 1rem; padding: 0 1rem;
} }
@ -248,6 +244,11 @@ const globalStyle = css`
color: ${theming.color.linkColor}; color: ${theming.color.linkColor};
} }
hr {
border: 0;
border-bottom: 1px solid;
}
* { * {
transition: color 0.1s linear; transition: color 0.1s linear;
} }