Skip to content

Commit

Permalink
Merge pull request RECODE01#12 from Jooeun-K/enhancement/RECODE01#11/…
Browse files Browse the repository at this point in the history
…globalstyle

enhancement/RECODE01#11/globalstyle add globa.style.css
  • Loading branch information
joogle-ay authored Jul 2, 2022
2 parents d110480 + 17bc97e commit 4c49b63
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import ChallengeListPage from "./pages/challenge/list/index.js";
import MainPage from "./pages/main/index.js";
import MyPage from "./pages/mypage/index.js";
import ChallengeDetailPage from "./pages/challenge/challengeId/index.js";
import "./styles/global.style.css";

const root = document.querySelector(".App");
const BASE_URL = "http://localhost:3000/";
Expand Down
30 changes: 30 additions & 0 deletions src/styles/global.style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
vertical-align: baseline;
}

/* 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;
}

0 comments on commit 4c49b63

Please sign in to comment.