Revert "style: link underlines"

This reverts commit 46d97d49a2298c1b8c1537ef1ed3eff376b49285.
This commit is contained in:
ThatOneCalculator 2023-07-09 20:01:01 -07:00
parent 21011fa2ea
commit 1296516160
4 changed files with 5 additions and 17 deletions

View File

@ -196,7 +196,6 @@ onUnmounted(() => {
> a { > a {
display: flex; display: flex;
transition: background 0.2s; transition: background 0.2s;
text-decoration: none;
> div:first-child:not(:last-child) { > div:first-child:not(:last-child) {
position: relative; position: relative;
width: 90px; width: 90px;
@ -278,7 +277,7 @@ onUnmounted(() => {
&:focus, &:focus,
&:focus-within { &:focus-within {
background: var(--panelHighlight); background: var(--panelHighlight);
h3 { h1 {
text-decoration: underline; text-decoration: underline;
} }
} }

View File

@ -80,8 +80,6 @@ const target = self ? null : "_blank";
display: inline-block; display: inline-block;
overflow: clip; overflow: clip;
text-overflow: ellipsis; text-overflow: ellipsis;
text-decoration: none !important;
line-height: 1.05;
> .icon { > .icon {
padding-left: 2px; padding-left: 2px;

View File

@ -409,7 +409,6 @@ export default defineComponent({
key: Math.random(), key: Math.random(),
to: `/tags/${encodeURIComponent(token.props.hashtag)}`, to: `/tags/${encodeURIComponent(token.props.hashtag)}`,
style: "color:var(--hashtag);", style: "color:var(--hashtag);",
class: "_link",
}, },
`#${token.props.hashtag}`, `#${token.props.hashtag}`,
), ),

View File

@ -145,9 +145,6 @@ a {
cursor: pointer; cursor: pointer;
color: inherit; color: inherit;
-webkit-tap-highlight-color: transparent; -webkit-tap-highlight-color: transparent;
&:hover {
text-decoration: underline;
}
} }
// i { // i {
@ -232,7 +229,6 @@ hr {
font-size: 1em; font-size: 1em;
font-family: inherit; font-family: inherit;
line-height: inherit; line-height: inherit;
text-decoration: none;
&, &,
* { * {
@ -632,22 +628,18 @@ hr {
._link { ._link {
position: relative; position: relative;
color: var(--link); color: var(--link);
text-decoration: none !important;
&::before, &::after { &:after {
content: ""; content: "";
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;
width: 0%; width: 0%;
border-bottom: 1px solid var(--link); border-bottom: 2px solid var(--link);
transition: 0.3s ease-in-out; transition: 0.3s ease-in-out;
} }
&::before {
width: 100%; &:hover:after {
opacity: .4;
}
&:hover:after, &:focus:after {
width: 100%; width: 100%;
} }
} }