-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
122 lines (121 loc) · 1.91 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
* {
padding: 0;
box-sizing: border-box;
}
body {
background-color: rgb(250, 247, 247);
}
/*header*/
.logo{
display: flex;
justify-content: flex-start;
align-items: flex-start;
width: 20%;
min-height: 20%;
}
header , .top-main-container{
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
padding-top: 10px;
background: #f0834e59;
}
.nav-container{
display: inline;
font-size: 1.6rem;
margin-right: 25px;
}
.nav-links {
display: flex;
justify-content: flex-end;
align-items: center;
flex-wrap: wrap;
}
li {
margin-left: 15px;
list-style: none;
}
a{
transition: color 0.3s;
text-decoration: none;
color: rgb(50, 43, 43);
}
a:hover{
color: rgb(185, 183, 182);
}
.fnav-links{
color: #4D5053;
}
h1,h4{
display: flex;
justify-content: center;
}
.top-main-container{
background:none;
padding: 0;
}
/*Recipe container*/
#recipe-container,#newrecipe-container{
display: block;
display: grid;
grid-template-columns: auto auto auto;
column-gap: 33px;
row-gap: 50px;
margin: 40px 101px 20px 101px;
}
.food-card , .fnewrecipe{
background-color: cadetblue;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
transition: 0.3s;
max-height: 604px;
max-width: 370px;
overflow: hidden;
}
h2 {
margin: 22px 10px 10px 22px;
}
p{
margin: 22px 10px 10px 10px;
}
/*add new recipe*/
#popup {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #fff;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
z-index: 1000;
border-radius: 10px;
height: 489px;
width: 682px;
}
.fpop{
font-size: 19px;
}
.finput{
font-size: 25px;
margin-bottom: 27px;
}
form {
max-width: 71%;
margin: 0 auto;
}
button,#searchInput{
padding: 2px;
}
textarea {
width: 80%;
}
.food-img{
width: 100%;
height: 45%;
padding: 28px;
}
#addRecipe{
display: flex;
justify-content: center;
}