Skip to content

Commit

Permalink
Merge pull request #31 from CraBft/feat/blog-component/global-style
Browse files Browse the repository at this point in the history
feat(blog): add GlobalStyle #30
  • Loading branch information
JaeSeoKim authored Apr 16, 2022
2 parents 47b5137 + e04bb4e commit 4ec307b
Showing 1 changed file with 65 additions and 0 deletions.
65 changes: 65 additions & 0 deletions packages/blog/styles/glolbal-style.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,71 @@
import { createGlobalStyle } from 'styled-components'

const GlobalStyle = createGlobalStyle`
body {
font-family: Roboto, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, input {
margin: 0;
padding: 0;
border: 0;
font-size: 14px;
vertical-align: baseline;
box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
button {
background-color: inherit;
border: none;
padding: 0;
}
button:focus{
outline:none;
}
input:focus{
outline: none;
}
a{
outline: none;
text-decoration: none;
}
a:visited, a:link {
color: inherit;
}
`

export default GlobalStyle

0 comments on commit 4ec307b

Please sign in to comment.