-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
107 lines (84 loc) · 1.35 KB
/
index.css
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
:root {
--clr-primary-300: #b8cdec;
--clr-primary-400: #0b33e2;
--clr-neutral-100: #fff;
--clr-neutral-900: #222C2A;
/*ff-priamry: 'Roboto', sans-serif;
ff-accent: 'Playfair Display', serif;*/
}
*,
::before,
::after {
box-sizing: boder-box;
}
body {
font-family: var(--ff-primary);
font-weight: 400;
font-size: 1.325rem;
line-height: 1.6;
}
body,
h1,
h2,
h3,
p {
margin: 0;
}
h1,
h2,
h3 {
color: var(--clr-primary-400);
font-family: var(--ff-accent);
font-weight: 900;
line-height: 1;
}
h2,
h3,
p {
margin-bottom: 1em;
}
img {
display: block;
max-width: 100;
}
.text-center {
text-align: center
}
header,
section {
padding: 3rem 0;
}
.container {
margin-inline: auto;
width: min(90%, 70.5rem);
}
.split {
display: flex;
flex-direction: column;
}
@media (min-width: 40em) {
.split {
flex-direction: row;
}
.split > * {
flex-basis: 100%;
}
.split > * + * {
margin-left: 2em;
}
}
.bg-light {
background-color: var(--clr-primary-300) ;
}
.bg-primary {
color: var(--clr-neutral-100);
background-color: var(--clr-primary-400) ;
}
.bg-dark {
color: var(--clr-neutral-100);
background-color: var(--clr-neutral-900) ;
}
.bg-primary h2,
.bg-dark h2 {
color: var(--clr-primary-200);
}