forked from dhamaniasad/obsidian-rich-links
-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
77 lines (69 loc) · 1.68 KB
/
styles.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
.rich-link-card {
border: 1px solid var(--background-modifier-border);
margin: 20px 0;
border-radius: 3px;
width: 100%;
display: flex;
text-decoration: none !important;
background-color: var(--background-primary);
}
.rich-link-card-container {
position: relative;
}
.rich-link-card-container::after {
position: absolute;
content: " ";
width: 100%;
height: 1px;
background-color: var(--background-modifier-border);
bottom: -10px;
}
.rich-link-card .rich-link-image-container {
height: 100px;
width: 35%;
min-width: 120px;
overflow: hidden;
border-right: 1px solid var(--background-modifier-border);
}
.rich-link-card .rich-link-image {
background-position: center center;
background-size: cover;
background-repeat: no-repeat;
padding-bottom: 100px;
background-color: var(--background-secondary);
}
.rich-link-card .rich-link-card-text {
padding: 4px;
width: 75%;
overflow: hidden;
}
.rich-link-card .rich-link-card-title {
font-family: sans-serif;
font-size: 16px;
margin: 0 0 4px 0;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
color: var(--text-normal);
}
.rich-link-card .rich-link-card-description {
font-family: sans-serif;
font-size: 14px;
margin: 0;
color: var(--text-muted);
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}
.rich-link-card .rich-link-href {
font-family: sans-serif;
font-size: 14px;
margin: 0;
color: var(--text-faint);
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}