Skip to content

Commit de75130

Browse files
committed
style: update style of links
1 parent 78eabef commit de75130

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

custom/Message.vue

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,44 @@
207207
max-height: 144px;
208208
}
209209
210+
</style>
211+
212+
<style lang="scss">
213+
.incremark a.incremark-link,
214+
.incremark a.incremark-link:visited {
215+
display: inline-block;
216+
text-decoration: underline;
217+
text-underline-offset: 4px;
218+
text-decoration-style:dotted;
219+
color: rgb(0, 0, 0);
220+
transition: color 0.2s ease;
221+
}
222+
223+
.incremark a.incremark-link:hover {
224+
color: rgb(74, 74, 255);
225+
text-decoration: underline;
226+
text-underline-offset: 4px;
227+
text-decoration-style:dotted;
228+
}
229+
230+
html[data-theme="dark"] .incremark a.incremark-link,
231+
html[data-theme="dark"] .incremark a.incremark-link:visited {
232+
color: rgb(220, 220, 220);
233+
}
234+
235+
html[data-theme="dark"] .incremark a.incremark-link:hover {
236+
color: rgb(147, 147, 255);
237+
}
238+
239+
a.incremark-link::after {
240+
content: "";
241+
display: inline-block;
242+
width: 16px;
243+
height: 16px;
244+
vertical-align: middle;
245+
rotate: -45deg;
246+
background-color: currentColor;
247+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 12H2m12 0l-4 4m4-4l-4-4'/%3E%3C/svg%3E") no-repeat center;
248+
mask-size: contain;
249+
}
210250
</style>

0 commit comments

Comments
 (0)