-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
146 lines (105 loc) · 1.82 KB
/
style.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
*{
padding: 0;
margin: 0;
font-family: -webkit-pictograph;
}
body{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.movie{
position: absolute;
top: 10%;
width: 25%;
cursor: pointer;
transition-duration: .5s;
}
.movie img{
width: 100%;
}
.movie:hover {
transform: scale(1.2);
}
.movie:hover .hidden{
display: block;
}
.movie:hover .h{
display: block;
}
.movie:hover .oh{
display:none;
}
.movie:hover .visible{
position: relative;
top: -1px;
}
.movie:hover .visible ul li{
transform: scale(1.2);
margin: 4px;
}
.info{
position: relative;
top:-4px;
width: 100%;
min-height: 0px;
}
.visible {
transition-duration: .5s;
background-color: #192531;
color: rgb(255, 255, 255);
padding: 25px;
}
.visible ul{
list-style: none;
display: flex;
flex-wrap: wrap;
}
.visible ul li{
margin-top: 6px;
padding-right: 10px;
}
.visible img{
height: 30px;
}
.visible .h{
display:none ;
}
.hidden {
background-color: #192531;
color: rgb(255, 255, 255);
font-size: small;
padding-left: 25px;
padding-top:20px;
display: none;
transition-duration: .5s;
filter: drop-shadow(rgb(25, 37, 49,0.9) 0px -8px 4px );
}
.hidden h1{
color: darkgrey;
font-size: 1.7em;
padding-bottom: 9px;
padding-right: 10px;
}
.hidden h2{
color: rgb(255, 255, 255);
font-size: 1.7em;
padding-bottom: 9px;
padding-right: 10px;
}
.hidden p{
font-size: 1.3em;
padding-right: 10px;
}
@media only screen and (max-width: 1024px) {
.movie {
width: 50%;
}
.movie:hover {
transform: scale(1.2);
}
.movie .hidden{
display: block;
}
}