forked from khushi-joshi-05/Food-ordering-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
detailed-dish.css
141 lines (118 loc) · 2.15 KB
/
detailed-dish.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
140
141
.container {
width: 90%;
max-width: 1200px;
margin: auto;
display: grid;
grid-template-rows: auto 1fr;
gap: 20px;
}
.header {
display: flex;
padding: 20px 0;
margin-top: 100px;
justify-content: flex-end;
}
.logo {
font-size: 20px;
font-weight: bold;
padding-right:20px ;
}
.logo:hover {
cursor: pointer;
}
.search {
font-size: 20px;
}
.search:hover {
cursor: pointer;
}
.content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
.image-gallery {
display: flex;
flex-direction: column;
align-items: center;
}
.main-image {
width: 100%;
height: auto;
border-radius: 10px;
}
.thumbnail-images {
display: flex;
margin-top: 10px;
}
.thumbnail-images img {
width: 80px;
height: 80px;
margin-right: 10px;
border-radius: 5px;
cursor: pointer;
}
.thumbnail-images img:hover {
border: 2px solid #333;
}
.recipe-info {
display: flex;
flex-direction: column;
justify-content: center;
}
.recipe-info h1 {
font-size: 42px;
margin: 0;
}
.rating {
font-size: 18px;
color: gold;
}
.price{
font-size: 40px;
color: white;
padding-top: 50px;
}
.recipe-info p {
margin: 10px 0;
line-height: 1.6;
}
.details {
display: flex;
justify-content: space-between;
width: 60%;
margin-top: 20px;
}
.details span {
font-size: 18px;
color: #666;
}
/* Responsive Design */
@media (max-width: 768px) {
.content {
grid-template-columns: 1fr;
}
.details {
width: 100%;
flex-direction: column;
gap: 10px;
}
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.6);
background-image: linear-gradient(to top, rgb(246, 10, 10) , rgb(248, 145, 49), rgb(236, 239, 56));
}
::-webkit-scrollbar {
width:12px;
}
::-webkit-scrollbar-thumb {
background-color: #ff0707;
border-radius: 10px;
border:.3px solid white;
background-image: -webkit-linear-gradient(90deg,
rgb(20, 21, 12) 0%,
rgb(0, 0, 0) 25%,
transparent 100%,
rgb(247, 4, 4) 75%,
transparent)
}