forked from css-for-js/huckleberry
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
129 lines (111 loc) · 1.85 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
118
119
120
121
122
123
124
125
126
127
128
129
* {
box-sizing: border-box;
font-family: 'Lato', sans-serif;
}
/*
The scale is:
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)
*/
html,
body {
margin: 0;
padding: 0;
}
/* Add styles here! */
strong {
color: hsl(160, 100%, 30%);
}
.max-width-wrapper{
background-color: hsl(0, 0%, 100%);
border-bottom: hsl(0, 0%, 40%) .5rem solid;
}
header { min-height:30%;}
main {
min-height:70%;
padding-top:4rem;
padding-bottom: 2rem;
background-color: hsl(0, 0%, 60%);
}
.indented-heading {
background-color: hsl(45, 100%, 50%);
border-bottom: hsl(45, 100%, 40%) .5rem solid;
width:-moz-fit-content;
width:fit-content;
margin-top:0;
margin-left:-2rem;
margin-right:1rem;
padding: 1.5rem;
padding-left: 2rem;
}
.intro-chunk {
padding-top:2rem;
margin-left: 2rem;
margin-right: 2rem;
}
h1 {
padding-top:2rem;
margin-top:2rem;
}
.max-width-wrapper{
}
.title {
padding-bottom:1rem;
}
.card {
padding-top:.25rem;
margin-left:2rem;
}
.card p {
margin-right:2rem;
}
.intro-chunk p:last-child {
padding-bottom: 1rem;
}
.intro-chunk p {
width:70%;
}
@media (min-width:767px) {
.intro-chunk p {
width:60%;
}
}
@media (min-width: 1120px) {
.max-width-wrapper{
margin-left:auto;
margin-right:auto;
width:50%;
border-bottom:none;
}
.indented-heading{
margin-left:-3rem;
padding-left:3rem;
}
.intro-chunk p {
width:60%;
}
main {
border-top: hsl(0, 0%, 40%) .5rem solid;
}
.card{
margin-left:0;
padding-left: 2rem;
padding-right: 2rem;
border-bottom: hsl(0, 0%, 40%) .5rem solid;
}
}