-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
87 lines (81 loc) · 1.22 KB
/
styles.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
* {
margin: 0;
}
.page-wrapper {
min-width: 400px;
max-width: 960px;
}
header img {
width: 100%;
}
h1 {
font-size: 56px;
margin-bottom: 1.3rem;
}
h2 {
font-size: 36px;
margin-bottom: 1rem;
}
.inst-h2 {
color: brown;
}
main,
.preparation-time,
.ingredients,
.instructions,
.nutritions,
hr {
margin: 2rem 3rem;
}
main p {
line-height: 1.3rem;
font-size: 24px;
}
.preparation-time {
background-color: rgba(255, 192, 203, 0.302);
padding: 1rem;
}
.preparation-time ul li{
padding: 1rem;
}
.ingredients ul li {
padding: 0.5rem;
}
.instructions ol li {
padding: 0.5rem;
}
ol li::marker {
color: brown;
}
.calories {
margin-top: 1rem;
display: flex;
flex-direction: column;
gap: 1rem;
position: relative;
}
.bottom-span {
position: absolute;
left: 8rem;
display: inline-block;
color: brown;
font-weight: 700;
}
.calories p {
padding-left: 2rem;
border-bottom: 1px solid black
}
.last-p {
border-bottom: none !important;
}
@media(min-width:768px) {
header img {
width: 90%;
margin: 2rem;
margin-bottom: 0;
border-radius: 5px;
}
h1 {
margin-top: rem;
}
}