forked from css-for-js/huckleberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (75 loc) · 1.34 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
* {
box-sizing: border-box;
font-family: "Lato", sans-serif;
}
html,
body {
margin: 0;
padding: 0;
}
/* Add styles here! */
/*
### Spacing
This app uses an 8px unit. All spaces are a multiple of 8px:
- `8px`
- `16px`
- `24px`
- `32px`
- `48px`
- `64px`
- `96px`
- `128px`
### Font
- `1rem`
- `1.25rem`
- `1.5rem`
- `2rem`
### Color palette
Primary (green):
- `hsl(160deg, 100%, 30%)`
Secondary (gold):
- `hsl(45deg, 100%, 50%)` (lighter)
- `hsl(45deg, 100%, 40%)` (darker)
Grays:
- `hsl(0deg, 0%, 0%)` (black)
- `hsl(0deg, 0%, 10%)` (very dark)
- `hsl(0deg, 0%, 30%)` (dark)
- `hsl(0deg, 0%, 40%)` (medium)
- `hsl(0deg, 0%, 60%)` (light)
- `hsl(0deg, 0%, 100%)` (white)
*/
.intro-chunk {
margin: 48px 0;
padding: 8px 24px;
}
.intro-chunk .title {
margin-bottom: 48px;
}
.intro-chunk p {
width: 275px;
max-width: 100%;
}
header strong {
color: hsl(160deg, 100%, 30%);
}
main {
background-color: hsl(0deg, 0%, 60%);
border-top: 6px solid hsl(0deg, 0%, 40%);
padding: 64px;
}
.indented-heading {
padding: 24px 40px;
margin: 0 0 0 -40px;
background-color: hsl(45deg, 100%, 50%);
border-bottom: 6px solid hsl(45deg, 100%, 40%);
width: fit-content;
}
.max-width-wrapper {
max-width: 570px;
margin: 0 auto;
}
.card {
padding: 8px 24px;
background-color: hsl(0deg, 0%, 100%);
border-bottom: 6px solid hsl(0deg, 0%, 40%);
}