Template:Def/styles.css: Difference between revisions
Template page
More actions
No edit summary Tags: Reverted Mobile edit Mobile web edit |
No edit summary Tags: Reverted Mobile edit Mobile web edit |
||
| Line 40: | Line 40: | ||
background:transparent; | background:transparent; | ||
color:currentColor; | color:currentColor; | ||
} | |||
/* Text behaves like normal prose by default, but becomes link-like on hover. | |||
Supports BOTH shapes: | |||
1) <a class="sv-def-text"> | |||
2) <span class="sv-def-text"><a> | |||
*/ | |||
.sv-def-text{ | |||
color:inherit; | |||
border-bottom:none; | |||
text-decoration:none; | |||
} | |||
.sv-def a.sv-def-text, | |||
.sv-def .sv-def-text a{ | |||
color:inherit; | |||
border-bottom:none; | |||
text-decoration:none; | |||
} | |||
.sv-def:hover .sv-def-text, | |||
.sv-def:hover a.sv-def-text, | |||
.sv-def:hover .sv-def-text a{ | |||
color:var(--color-link, currentColor); | |||
border-bottom:1px dotted currentColor; | |||
text-decoration:none; | |||
} | } | ||