forked from css-for-js/huckleberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (73 loc) · 1.45 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
* {
box-sizing: border-box;
font-family: 'Lato', sans-serif;
}
html,
body {
margin: 0;
padding: 0;
}
/* Add styles here! */
:root {
--primary-green: hsl(160deg, 100%, 30%);
--secondary-gold-lighter: hsl(45deg, 100%, 50%);
--secondary-gold-darker: hsl(45deg, 100%, 40%);
--black: hsl(0deg, 0%, 0%);
--very-dark: hsl(0deg, 0%, 10%);
--dark: hsl(0deg, 0%, 30%);
--medium: hsl(0deg, 0%, 40%);
--light: hsl(0deg, 0%, 60%);
--white: hsl(0deg, 0%, 100%);
}
body {
background-color: var(--light);
}
p {
font-size: 1.25rem;
margin: 1em 0;
letter-spacing: 0.06;
line-height: 1.4;
}
strong {
color: var(--primary-green);
}
h1 {
font-size: 2rem;
margin-top: 0;
margin-bottom: 56px;
}
.max-width-wrapper > div {
margin-left: auto;
margin-right: auto;
}
.intro-chunk {
max-width: 720px;
padding: 112px 24px 48px;
}
.intro-chunk p {
font-size: 1.5rem;
}
.intro-chunk > * {
max-width: 400px;
}
header {
background-color: var(--white);
}
main {
border-top: 8px solid var(--medium);
padding: 88px 0;
}
.card {
padding: 8px 32px 16px;
margin: 0 auto;
border-bottom: 8px solid var(--medium);
background-color: var(--white);
max-width: 720px;
}
.indented-heading {
background-color: var(--secondary-gold-lighter);
padding: 24px 48px;
border-bottom: 8px solid var(--secondary-gold-darker);
margin: 0 0 16px -48px;
width: fit-content;
}