forked from ironhack-labs/lab-css-recipes-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
121 lines (99 loc) · 1.73 KB
/
Copy pathstyle.css
File metadata and controls
121 lines (99 loc) · 1.73 KB
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
/* CSS RESET - do not remove */
/* Reset default browser styles and provide a consistent starting point */
html {
box-sizing: border-box;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
margin: 0;
padding: 0;
font-weight: lighter;
}
body {
font-family: "Helvetica", sans-serif;
display: flex;
flex-direction: column;
}
.container {
display: flex;
flex-direction: column;
text-align: center;
align-items: center;
}
h1 {
color: white;
bottom: 380px;
position: absolute;
top: 45%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 20em;
}
.imgTitle {
position: relative;
display: inline-block;
text-align: center;
}
.imgTitle {
position: center;
width: 100%;
height: 600px;
overflow: hidden;
}
.firstParagraph{
width: 400px;
margin-top: 80px;
margin-bottom: 80px;
font-size: 2.5em;
}
hr {
width:680px ;
border: 1px solid;
}
.ingredients {
margin-top:50px ;
width: 560px;
text-align: start;
}
.ingredients h2{
position: relative;
bottom: 30px;
right: 10px;
}
ul {
list-style-type: none;
line-height: 25px;
}
ul > li {
position: relative;
padding-left: 10px;
}
ul > li:before {
content: "-";
position: absolute;
left: 0;
}
.Directions{
margin-top:50px ;
width: 650px;
text-align: start;
margin-left:90px;
margin-bottom: 50px;
}
.Directions h2 {
position: relative;
bottom: 30px;
right: 10px;
}
ol {
list-style: none;
counter-reset: my-counter;
}
ol > li {
counter-increment: my-counter;
margin-bottom: 8px;
}
ol > li:before {
content: counter(my-counter) ")";
font-weight: 100;
margin-right: 4px;
}