Skip to content

Commit

Permalink
style: 스타일 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
jgjgill committed Jan 6, 2024
1 parent 60506a0 commit ab3afdf
Showing 1 changed file with 6 additions and 18 deletions.
24 changes: 6 additions & 18 deletions src/styles/globalStyles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ export const globalStyles = css`
--text-color: rgba(255, 255, 255, 0.8);
}
/* Box sizing rules */
*,
*::before,
*::after {
* {
box-sizing: border-box;
font-family: 'Pretendard', sans-serif;
}
/* Remove default margin */
body,
h1,
Expand Down Expand Up @@ -82,14 +81,6 @@ export const globalStyles = css`
}
/* custom code */
body code {
word-break: break-all;
font-family: 'Pretendard', sans-serif !important;
}
body div.gatsby-highlight {
margin: 25px 0;
}
body .token.operator {
background-color: transparent;
Expand All @@ -98,11 +89,11 @@ export const globalStyles = css`
body span.token {
color: #343434;
}
html span > code.language-text {
span > code.language-text {
color: #d946ef;
transition: 0.3s;
padding: 0 5px;
font-family: 'Pretendard', sans-serif;
}
/* dark mode */
Expand All @@ -128,16 +119,13 @@ export const globalStyles = css`
text-shadow: none;
}
html.dark .token.operator {
background-color: transparent;
html blockquote {
transition: 0.3s;
}
html.dark blockquote {
background-color: var(--bg-inline-color);
}
html.light blockquote {
background-color: var(--bg-inline-color);
}
.modal {
background-color: var(--bg-color);
Expand Down

0 comments on commit ab3afdf

Please sign in to comment.