-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFavroite.css
133 lines (119 loc) · 2.5 KB
/
Favroite.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
/* Appling Style to favroite Container */
.Favroite-container {
color: whitesmoke;
width: 100%;
height: auto;
/* border: 2px solid blue; */
padding: 0 40px;
/* margin-top: px; */
}
/* Appling Style to heading */
.Favroite-container h2 {
margin-bottom: 20px;
color: hsl(57.04deg 97.38% 44.9%);
font-size: 2rem;
}
/* Appling Style to favroite Individual Container */
.Favroite-section-individual-container {
position: relative;
height: 320px;
width: 100%;
/* border: 2px solid white; */
display: flex;
align-items: center;
flex-direction: row;
margin-top: 20px;
/* justify-content: center; */
overflow-x: auto;
scroll-behavior: smooth;
}
.Favroite-section-individual-container::-webkit-scrollbar {
height: 2px;
}
/* Appling style to individual list */
.Individual-favroite-list {
position: relative;
/* border: 2px solid red; */
min-width: 250px;
height: 100%;
margin-right: 10px;
border-radius: 10px;
background: transparent;
}
.Individual-favroite-list img {
width: 260px;
height: 100%;
border: 1px solid rgb(59, 55, 55);
box-shadow: inset 0px 0px 8px 4px rgb(59, 55, 55);
transition: 1s ease-in-out;
opacity: 0.8;
border-radius: 10px;
position: relative;
}
.Individual-favroite-list img:hover {
transform: scale(1.05);
}
/* Appling Style to content in favroite */
.Favroit-content {
position: absolute;
top: -500%;
/* left: 20%; */
/* bottom: 3%; */
color: whitesmoke;
width: 100%;
}
.Favroit-content h5 {
font-size: 1.2rem;
margin-bottom: 10px;
text-align: center;
}
.Favroit-content h5 i {
color: hsl(57.04deg 97.38% 44.9%);
margin-right: 4px;
}
.Favroit-content h4 {
text-align: center;
}
.Favroit-content h4 span {
background: hsl(57.04deg 97.38% 44.9%);
color: black;
padding: 2px 7px;
margin-right: 5px;
/* margin-bottom: 100px; */
}
/* Appling style to arrow that will scroll the content */
.fa-arrow-right-long {
position: absolute;
top: 40%;
left: 2%;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
background: #6c747f;
padding: 3px;
border-radius: 50%;
z-index: 1000;
transition: 0.5s linear;
opacity: 0;
}
.fa-arrow-left-long {
position: absolute;
left: unset;
right: 2%;
top: 40%;
font-size: 20px;
background: #6c747f;
cursor: pointer;
padding: 3px;
border-radius: 50%;
z-index: 1000;
opacity: 0;
}
.Favroite-container:hover .fa-arrow-right-long {
opacity: 1;
}
.Favroite-container:hover .fa-arrow-left-long {
opacity: 1;
}