Skip to content

Commit

Permalink
feat: add blog global-styles #17
Browse files Browse the repository at this point in the history
  • Loading branch information
JaeSeoKim committed Apr 14, 2022
1 parent 3445fb3 commit 5391f01
Showing 1 changed file with 68 additions and 1 deletion.
69 changes: 68 additions & 1 deletion packages/nextjs-craft-blog-kit/styles/glolbal-style.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,73 @@
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;
/* overflow-y: scroll;
height: 100%; */
}
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;
}
/* HTML5 display-role reset for older browsers */
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 5391f01

Please sign in to comment.