-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmedia.css
209 lines (187 loc) · 4.27 KB
/
media.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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
.flex-container{
display: flex;
flex-direction: column;
flex-wrap: nowrap;
overflow-x: scroll;
justify-content: stretch;
}
body{
margin: 0px;
overflow-x: hidden;
justify-content: center;
align-items: center;
}
.row{
justify-content: center;
align-items: center;
}
.card{
font-family: 'Open Sans', sans-serif;
margin-top: 50px;
justify-content: center;
align-items: center;
border-radius: 15px;
max-width: 400px;
box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.61);
color: black;
transition: 0.5s ease-in-out;
padding: 2em;
margin-left: auto;
left: auto;
right: auto;
}
.card:hover{
background: rgba(28, 28, 28, 0.961);
transition: 0.5s ease-in-out;
color: white;
}
.card-image{
transition: 0.5s ease-in-out;
}
.card-image:hover{
transform: scale(1.1);
transition: 0.5s ease-in-out;
opacity: 80%;
border-radius: 15px;
padding: 1em;
}
.container2{
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: baseline;
margin-top: 0;
}
.container{
margin-bottom: 0;
}
#myBtn{
display: none; /* Hidden by default */
position: fixed; /* Fixed/sticky position */
bottom: 20px; /* Place the button at the bottom of the page */
right: 30px; /* Place the button 30px from the right */
z-index: 99; /* Make sure it does not overlap */
border: none; /* Remove borders */
outline: none; /* Remove outline */
background-color: rgb(65, 65, 65); /* Set a background color */
color: white; /* Text color */
cursor: pointer; /* Add a mouse pointer on hover */
padding: 12px; /* Some padding */
border-radius: 15px; /* Rounded corners */
font-size: 18px; /* Increase font size */
font-family: Verdana, Geneva, Tahoma, sans-serif;
transition: 2s ease-in-out;
}
#myBtn:hover {
background-color: rgb(255, 70, 70); /* Add a dark-grey background on hover */
transition: 2s ease-in-out;
}
.suggestions{
font-family: 'Open Sans', sans-serif;
margin: 20px;
top: 35%;
position: absolute;
background: rgba(85, 85, 85, 0.333);
box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.4);
border-radius: 10px;
padding: 25px;
padding-top: 0;
color: #555;
transition: 0.5s ease-in-out;
}
.movies{
color: rgb(204, 0, 255);
}
@media only screen and (max-width : 768px) {
.suggestions {
font-family: 'Open Sans', sans-serif;
margin: 5px;
top: 35%;
position: absolute;
background: rgba(85, 85, 85, 0.333);
box-shadow: 0px 25px 80px rgba(0, 0, 0, 0.4);
border-radius: 10px;
padding: 25px;
padding-top: 0;
color: #555;
transform: scale(0.5);
left: -60px;
transition: 0.5s ease-in-out;
top: 35px;
}
}
.suggestions:hover{
background: rgb(85, 85, 85);
transition: 0.5s ease-in-out;
color: rgb(217, 217, 217);
}
.movies:hover{
color: orange;
transform: scale(1.2);
}
.loader {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #333333;
transition: opacity 0.75s, visibility 0.75s;
}
.loader--hidden {
opacity: 0;
visibility: hidden;
}
.loader::after {
content: "";
width: 75px;
height: 75px;
border: 15px solid #dddddd;
border-top-color: rgb(204, 0, 255);
border-radius: 50%;
animation: loading 0.75s ease infinite;
}
@keyframes loading {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}
.loader2 {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #333333;
transition: opacity 0.75s, visibility 0.75s;
}
.loader--hidden2 {
opacity: 0;
visibility: hidden;
}
.loader2::after {
content: "";
width: 75px;
height: 75px;
border: 15px solid #dddddd;
border-top-color: rgb(204, 0, 255);
border-radius: 50%;
animation: loading 0.75s ease infinite;
}
@keyframes loading2 {
from {
transform: rotate(0turn);
}
to {
transform: rotate(1turn);
}
}