-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyle.css
91 lines (80 loc) · 1.77 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
.douban-card-block {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-height: 400px;
}
.douban-card {
display: flex;
margin: 30px 10px;
padding: 15px;
border-radius: 15px;
position: relative;
justify-content: center;
align-items: center;
overflow: hidden;
color: antiquewhite;
text-decoration: none;
}
.douban-card:hover {
text-decoration: none;
}
.douban-card-bgimg {
position: absolute;
width: 115%;
height: 115%;
filter: blur(15px) brightness(0.6);
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
}
.douban-card-img {
position: relative;
height: 130px;
width: 80px;
background-size: 100%;
background-position: center;
background-repeat: no-repeat;
}
.douban-card-left:hover .douban-card-img {
filter: blur(5px) brightness(0.6);
transform: perspective(800px) rotateX(180deg);
}
.douban-card-left .douban-card-img {
transition: all 500ms ease;
}
.douban-card-left {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
}
.douban-card-left .douban-card-status {
height: 130px;
width: 80px;
text-align: center;
font-weight: bold;
position: absolute;
left: 0;
top: 30%;
transform: rotateX(180deg);
backface-visibility: hidden;
transition: all 500ms ease;
}
.douban-card-left:hover .douban-card-status {
transform: perspective(800px) rotateX(0deg);
}
.douban-card-right {
position: relative;
display: flex;
flex-direction: column;
margin-left: 12px;
font-size: 16px;
font-family: "Courier New", Courier, monospace;
line-height: 1.3;
color: antiquewhite;
}
.douban-card-item {
margin-top: 4px;
}