-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
139 lines (119 loc) · 2.27 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
130
131
132
133
134
135
136
137
138
139
*{
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
font-weight: 300;
text-decoration: none;
color: black;
}
body{
min-height: 100vh;
min-height: 100vh;
margin: 0px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: #eeeeee;
}
#presentation{
text-align: center;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
#presentation h1{
font-size: 40px;
font-weight: 300;
background-color: white;
max-width: 400px;
width: 90%;
height: 66px;
box-shadow: rgba(0, 0, 0, 0.062) 0px 10px 20px;
border-radius: 40px;
display: flex;
align-items: center;
justify-content: center;
}
#presentation img{
box-shadow: rgba(0, 0, 0, 0.11) 0px 10px 20px;
max-width: 844px;
width: 90%;
border-radius: 50px;
}
#presentation h2{
margin:50px 0px;
font-size: 32px;
font-weight: 300;
}
#recipes{
display: flex;
max-width: 1920px;
width: 100%;
justify-content: space-evenly;
flex-wrap: wrap;
margin-bottom: 144px;
}
.button{
display: flex;
box-shadow: rgba(0, 0, 0, 0.178) 0px 10px 20px;
border-radius: 20px;
overflow: hidden;
transition:transform 0.2s;
margin: 20px;
}
.button:hover{
transform: scale(1.05);
}
.description{
background-color: rgb(255, 255, 255);
max-width: 278px;
width: 100%;
}
.description h2{
font-size: 15px;
font-weight: 600;
margin: 20px 20px 0px 20px;
}
.description p{
font-size: 14px;
margin: 0px 20px 20px 20px;
}
.image-container{
display: flex;
align-items: center;
justify-content: center;
}
.image{
display: flex;
align-items: center;
justify-content: center;
max-width: 280px;
max-height:174px;
overflow: hidden;
}
.image img{
width: 100%;
}
footer{
position: fixed;
bottom: 0px;
background-color: rgb(223, 223, 223);
text-align: center;
width: 100%;
font-size: 10px;
}
@media(max-width:450px){
#presentation h1{
font-size: 30px;
}
#presentation h2{
font-size: 25px;
}
.description h2{
font-size: 14px;
}
.description p{
font-size: 12px;
}
}