-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (91 loc) · 1.43 KB
/
style.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
107
108
109
110
111
112
113
114
115
116
117
:root {
--clr-primary-200: #F3EED9;
--clr-primary-400: #824936;
--clr-neutral-100: #fff;
--clr-neutral-900: #222c2a;
--ff-primary: "Roboto", sans-serif;
--ff-accent: "Playfair Display", serif;
}
body{
font-family: var(--ff-primary);
font-size: 1.3125rem;
font-weight: 400;
line-height: 1.6;
}
.text-center{
text-align: center;
}
.Container{
margin-inline: auto;
width: min(90%,70.5rem);
}
.Container--narrow{
max-width: 35rem;
}
*,
*::before,
*::after{
box-sizing: border-box;
}
body,
h1,
h2,
h3,
p{
margin: 0;
}
.split{
display: flex;
flex-direction: column;
}
@media(min-width:40em)
{
header,
section{
padding: 8rem 0;
}
}
@media (min-width :40em)
{
.split{
flex-direction: row;
}
.split > *{
flex-basis: 100%;
}
.split > * + *{
margin-left: 2em;
}
}
img{
display: block;
max-width: 100%;
}
h1,h2,h3{
color:var(--clr-primary-400);
font-family: var(--ff-accent);
line-height: 1;
margin-bottom: 1em;
font-weight: 900;
}
header,
section{
padding: 3rem 0;
}
.bg-light{
background-color: var(--clr-primary-200);
}
.bg-dark{
color:var(--clr-neutral-100);
background-color: var(--clr-primary-400);
}
.bg-translucent{
color:var(--clr-neutral-100);
background-color: var(--clr-neutral-900);
}
.bg-translucent h2{
color: var(--clr-primary-200);
}
.bg-dark h2 {
color: var(--clr-primary-200);
}