Skip to content

Commit c598f2b

Browse files
Tweak styling of link display
1 parent 5c3a796 commit c598f2b

File tree

1 file changed

+28
-3
lines changed

1 file changed

+28
-3
lines changed

share/static/css/elevator/articles.css

Lines changed: 28 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,33 @@
3737
right: 1em;
3838
}
3939

40-
/* defaults for links type display */
40+
/* defaults for links type display - RT branded >> chevrons */
41+
.article-links .list-group-compact .list-group-item {
42+
padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
43+
}
44+
4145
div.article-links-link::before {
42-
content: "\00bb";
43-
margin-right: 5px;
46+
content: "";
47+
display: inline-block;
48+
width: 0.85em;
49+
height: 0.85em;
50+
margin-right: 0.4em;
51+
vertical-align: middle;
52+
background-color: var(--bs-secondary);
53+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4l6 6-6 6M10 4l6 6-6 6' stroke='%23000' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
54+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 4l6 6-6 6M10 4l6 6-6 6' stroke='%23000' stroke-width='2.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
55+
-webkit-mask-size: contain;
56+
mask-size: contain;
57+
-webkit-mask-repeat: no-repeat;
58+
mask-repeat: no-repeat;
59+
}
60+
61+
div.article-links-link a,
62+
div.article-links-link a:visited {
63+
color: var(--bs-primary) !important;
64+
}
65+
66+
div.article-links-link a:hover {
67+
color: var(--bs-primary) !important;
68+
text-decoration: underline;
4469
}

0 commit comments

Comments
 (0)