-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcontent.css
96 lines (85 loc) · 1.72 KB
/
content.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
#content {
position: relative;
width: calc(100% - 268px);
height: 100%;
margin-left: 268px;
overflow: auto;
font-size: 0.875rem;
}
#content section {
padding-top: 50px;
padding-left: 32px;
padding-right: 32px;
}
#content section:first-child {
padding-top: 100px;
}
#content section:last-child {
padding-bottom: 100px;
}
#content section .card-wrapper {
display: flex;
width: 100%;
margin-top: 20px;
column-gap: 24px;
}
#content section .card-wrapper .card {
position: relative;
width: 148px;
height: 239px;
border-radius: 10px;
padding: 16px;
display: flex;
flex-direction: column;
flex-shrink: 0;
row-gap: 15px;
background-color: #181818;
cursor: pointer;
text-decoration: none;
transition: background-color 0.3s ease;
}
#content section .card-wrapper .card:hover {
background-color: #282828;
}
#content section .card-wrapper .card .mdi-play {
position: absolute;
bottom: 40%;
right: 9%;
border-radius: 50%;
padding: 10px;
background-color: #1fdf64;
box-shadow: 0 8px 8px rgb(0 0 0 / 30%);
color: #000;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: bottom 0.3s ease;
}
#content section .card-wrapper .card:hover .mdi-play {
opacity: 1;
bottom: 42%;
}
#content section .card-wrapper .card img {
width: 100%;
max-width: 150px;
height: auto;
}
#content .title {
font-weight: bold;
-webkit-line-clamp: 1;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
}
#content .subtitle {
font-size: small;
font-weight: 200;
-webkit-line-clamp: 2;
text-overflow: ellipsis;
-webkit-box-orient: vertical;
display: -webkit-box;
overflow: hidden;
color: #a7a7a7;
}