-
Notifications
You must be signed in to change notification settings - Fork 0
/
card.css
84 lines (73 loc) · 1.32 KB
/
card.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
.link-card {
margin: 8px 0;
border: solid;
border-radius: 14px;
border-color: #ccddd6;
border-width: 1px;
overflow: hidden;
font-size: 0;
}
.sm {
display: flex !important;
flex-direction: row;
}
.card-text {
padding: 0 9px;
font-size: initial;
margin: auto 0;
flex: auto;
height: 4.5em;
display: flex;
flex-direction: column;
justify-content: center;
}
.card-text-sm {
width: 70%;
}
.card-img {
border-bottom: solid;
border-bottom-color: #ccddd6;
border-bottom-width: 1px;
width: 100%;
object-fit: cover;
aspect-ratio: 16 / 9;
display: block;
}
.card-img-sm {
border-right: solid;
border-right-color: #ccddd6;
border-right-width: 1px;
width: 30%;
object-fit: cover;
}
.link-icon {
height: 1.25em;
fill: currentColor;
vertical-align: middle;
}
.link-domain {
color: #657786;
}
.link-title {
color: #14171A;
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.img-icon {
color: #536471;
height: 2rem;
fill: currentColor;
}
.card-img-icon {
display: flex;
justify-content: center;
align-items: center;
padding: 20% 0;
}
.card-img-icon-sm {
display: flex;
justify-content: center;
align-items: center;
}