-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
136 lines (114 loc) · 1.99 KB
/
style.css
File metadata and controls
136 lines (114 loc) · 1.99 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
}
.container{
width: 100%;
height: 100%;
background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}
.navbar{
min-height: 70px;
background-color: #07334e;
background-image: linear-gradient(160deg, #07334e 0%, #2b4e9a 40%, #1b9270 100%);
display: flex;
align-items: center;
}
nav{
width: 100%;
}
#navList{
list-style:none;
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
padding:0 80px;
}
#navBrand{
font-size: 1.8rem;
color: whitesmoke;
}
#items{
display: flex;
gap: 60px;
}
a{
color: whitesmoke;
}
footer{
background-color: #07334e;
background-image: linear-gradient(160deg, #07334e 0%, #2b4e9a 40%, #1b9270 100%);
text-align: center;
}
footer p{
font-size: 1.5rem;
color: white;
}
.content{
width: 55%;
margin: auto;
background-color: whitesmoke;
display: flex;
flex-direction: column;
gap: 50px;
padding: 15px;
box-shadow: 0px 10px 40px black;
}
.item{
display: flex;
justify-content: space-around;
align-items: center;
}
.right{
position: relative;
overflow: hidden;
height: 400px;
transition: transform ease-in-out 0.4s;
filter: drop-shadow(1px 1px 10px black);
}
.right:hover{
transform: scale(1.04);
}
.right img
{
height: 100%;
border-radius: 25px;
}
.left{
display: flex;
flex-direction: column;
gap: 20px;
}
h1{
font-size: 2em;
}
.ingredients{
font-size: 1.3em;
}
.recipe{
font-size: 1.1em;
}
.overlay{
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: rgba(0, 0, 0, 0.462);
display: flex;
align-items: center;
justify-content: center;
border-radius: 25px;
opacity: 0;
transition: all ease-in-out 0.3s;
}
.overlay:hover{
opacity: 1;
}
span{
color: white;
font-size: 1.1rem;
}