blob: 20f0775ce00a2b354d3a1b422d22f973bde891ea (
plain)
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
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#recommended-ad-wrapper {
display: flex;
flex-direction: column;
gap: 8px;
text-decoration: none;
color: var(--in-content-text-color);
}
#recommended-ad-wrapper:hover {
cursor: pointer;
}
#recommended-ad-wrapper:hover #ad-title {
text-decoration: underline;
color: var(--link-color-hover);
}
#recommended-ad-wrapper:focus-visible {
outline-offset: 4px;
border-radius: 1px;
}
#ad-content {
display: flex;
justify-content: space-between;
gap: 12px;
height: 80px;
}
#ad-preview-image {
max-width: 80px;
max-height: 80px;
}
#ad-title {
overflow: hidden;
text-overflow: ellipsis;
height: fit-content;
display: -webkit-box;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
/* This text won't be localized and when in RTL, the ellipsis is positioned
awkwardly so we are forcing LTR */
direction: ltr;
}
#price {
font-size: 1em;
font-weight: 600;
}
#footer {
display: flex;
justify-content: space-between;
}
|