-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenre.css
150 lines (134 loc) · 2.63 KB
/
genre.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
142
143
144
145
146
147
148
149
150
.genre-header {
display: flex;
flex-wrap: wrap;
gap: 10px;
z-index: 0;
justify-content: center;
padding: 10px;
}
.fa-phone,.fa-envelope,.fa-whatsapp {
color: green;
font-size: 30px;
margin-left: 20px;
text-decoration: none;
}
.fa-envelope {
color:grey;
}
.genre-button {
width: 15vh;
height: 10vh;
padding: 15px;
white-space:wrap;
margin: 1px;
border: 1px solid ghostwhite;
background-color: #0056B300;
color: #e1e6e3;
cursor: pointer;
border-radius: 15px;
z-index: 0;
transition: background-color 0.3s;
}
.genre-button:hover {
background-color: #FFC305;
}
.genre-movies-grid,.genre-series-grid {
display: flex;
overflow: hidden;
color: #E1C206;
gap: 10vw;
overflow-x: auto;
padding: 20px;
scroll-behavior: smooth;
z-index: 0;
/* Occupy 48% of the container to split the space */
}
/* Flip card and general styles remain the same */
.genre-movie-flip-card,.genre-series-flip-card{
perspective: 1000px;
cursor: pointer;
z-index: 0;
width:280px;
height: 350px;
flex-shrink: 0;
}
.genre-movie-card-inner,.genre-series-card-inner{
position: relative;
width: 100%;
height: 100%;
transition: transform 0.6s;
transform-style: preserve-3d;
border-radius: 8px;
}
.genre-movie-flip-card.genre-flip .genre-movie-card-inner {
transform: rotateY(180deg);
}
/*.series-flip,.genre-series-flip-card,.genre-series-card-inner{
transform: rotateY(180deg);
}*/
.genre-movie-front,
.genre-movie-back{
position: absolute;
width: 100%;
height: 100%;
backface-visibility: hidden;
border: 1px solid #ddd;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
text-align: left;
}
.genre-movie-front,.genre-series-front {
background-color: #fff;
}
.genre-movie-front img {
width: 100%;
height: 100%;
object-fit: cover;
}
.genre-series-front img{
width: 100%;
height: 100%;
object-fit: cover;
}
.genre-movie-back,.genre-series-back {
background-color: #6a6868;
color: #000000;
transform: rotateY(180deg);
padding: 10px;
overflow: auto;
}
.genre-series-back,.genre-movie-back h3 {
padding-top: 1px;
font-size: 2.2vh;
color: #E70A0A;
text-align: center;
}
genre-series-back,.genre-movie-back p {
margin: 5px 0;
color: #fafafa;
font-size: 1.8vh;
padding: 3px;
}
/*
@media (min-width: 768px) {
.genre-movie-flip-card {
min-width: 320px;
max-width: 400px;
height: 450px;
}
.genre-movie-back p {
font-size: 2vh;
}
.genre-movie-back h3 {
font-size: 2.5vh;
}
}
@media (min-width: 1024px) {
.genre-movie-flip-card {
min-width: 350px;
max-width: 400px;
height: 450px;
}
.genre-movie-front img {
height: 60%;
}
}