-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.js
54 lines (46 loc) · 964 Bytes
/
styles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import { createGlobalStyle } from "styled-components";
import { Roboto } from "next/font/google";
const roboto = Roboto({ subsets: ["latin"], weight: "400" });
export default createGlobalStyle`
:root{
--background-color: #f8f5f2;
--text-color: #222525;
--button-text-color: #ffffff;
--accent-color: #078080;
--secondary-color: #f45d48;
--border-radius: 4px;
}
*,
*::before,
*::after {
box-sizing: border-box;
}
html, body{
overscroll-behavior: none;
}
body {
margin: 0;
padding: 0;
font-family: ${roboto.style.fontFamily};
color: var(--text-color);
background-color: var(--background-color);
}
header {
padding: 20px;
width: 100%;
position: sticky;
top: 0;
z-index: 10;
}
main {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 20px;
}
h1 {
text-align: center;
margin: 0;
}
`;