forked from hack4impact-calpoly/bootcamp-grocery-prep
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (85 loc) · 1.24 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
body {
margin: 0;
background-color: #D8DBE2;
color: #1B1B1E;
font-family: Tisa;
}
header {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #373F51;
color: #FFF;
padding: 0 20px;
}
header a {
color: #A9BCD0;
margin: 0 12px;
}
main {
padding: 15px 10% 40px;
color: #1B1B1E;
}
h2 {
display: flex;
justify-content: center;
align-items: center;
font-size: 30;
}
h3 {
background-color: #58A4B0;
padding: 4px 8px;
font-size: 25;
}
.topImg {
display: flex;
align-items: center;
justify-content: center;
}
.topImg > img {
width: 60%;
}
.items {
display: flex;
align-items: center;
}
.items > img {
height: 200px;
margin: 15px;
}
.items > .recipeLinks > a {
color: #373F51;
margin: 25px;
line-height: 35px;
font-size: 20;
}
.serving {
margin: 0 30px;
}
.serving > button {
background-color: #58A4B0;
border: none;
color: white;
font-size: 14px;
padding: 4px 10px;
}
#count {
margin: 0 5px;
}
@media screen and (max-width: 460px) {
header {
justify-content: center;
flex-wrap: wrap;
padding-bottom: 13px;
}
main {
padding: 15px 5% 40px;
}
.items {
flex-wrap: wrap;
}
.items > img {
height: auto;
}
/*not rlly sure what i'm doing here tbh haha*/
}