Skip to content

Commit

Permalink
feat: adding some common css to see the change
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 12, 2023
1 parent 0b88bb2 commit 42d3388
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/forum/src/root.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { API } from "@aws-amplify/api";

import "@app/utils/i18n";
import "@app/styles/main.css";
import "@app/styles/common.css";

configAuth();

Expand Down
66 changes: 66 additions & 0 deletions apps/forum/src/styles/common.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
*,
*:before,
*:after {
box-sizing: border-box;
}

html {
height: 100%;
font-size: 63%;
}

body {
font-family: Segoe UI, Yu Gothic Medium, Lato !important;
font-size: 1.6rem;
font-display: swap;
}

p,
a,
button,
.header,
.button {
font-family: Segoe UI, Yu Gothic Medium, Lato !important;
font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
b {
font-family: Lato, Yu Gothic Medium, Segoe UI !important;
font-display: swap;
}

h1 {
font-size: 36px;
}
h2 {
font-size: 32px;
}
h3 {
font-size: 28px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
p,
a {
font-size: 14px;
}
small {
font-size: 12px;
}

a:focus {
outline: 0;
}

0 comments on commit 42d3388

Please sign in to comment.