-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (87 loc) · 1.42 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
@import url("https://fonts.googleapis.com/css2?family=Outfit&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: hsl(30, 54%, 90%);
color: hsl(30, 10%, 34%);
}
img {
height: auto;
max-width: 750px;
width: 100%;
border-radius: 12px;
}
h1 {
margin: 20px 0 20px 0;
font-family: "Outfit", serif;
}
h3 {
color: hsl(332, 51%, 32%);
}
ul,
ol {
margin-left: 30px;
}
span {
color: hsl(30, 10%, 34%);
font-weight: bold;
}
li {
margin: 15px 0 15px 0;
padding-left: 10px;
}
hr {
border-color: hsl(30, 54%, 90%);
}
/* wrapper of all container */
.main-section {
display: flex;
flex-direction: column;
background-color: hsl(0, 0%, 100%);
width: 100%;
max-width: 800px;
margin: 0 auto;
padding: 35px;
border-radius: 20px;
}
.recipe-description {
width: 100%;
}
.preparation-time {
background-color: hsl(330, 100%, 98%);
padding: 20px;
margin: 30px 0;
border-radius: 16px;
}
.ingredients {
margin: 30px 0;
}
/* for all the titles in the web page */
.title,
.table-col-2 {
color: hsl(14, 45%, 36%);
font-weight: bold;
}
.instructions {
margin: 30px 0;
}
.nutrition {
margin: 30px 0;
}
.subtitle {
margin: 20px 0;
}
.table {
width: 100%;
border-collapse: collapse;
}
.table td {
padding: 10px;
}
/* for the last row to not get the border color */
.table tr:not(:last-child) {
border-bottom: 1px solid hsl(30, 18%, 87%);
}