Remove default underline for anchor tags

This commit is contained in:
Alexis Sellier
2021-06-11 12:00:16 +02:00
parent 36f115f502
commit 00a0df938c
5 changed files with 13 additions and 9 deletions
+7 -3
View File
@@ -188,19 +188,23 @@ button.tiny {
}
a {
color: inherit;
text-decoration: none;
}
a.link {
color: #d0d0d0;
text-decoration: none;
border-bottom: 1px dashed #444;
}
a:hover {
a.link:hover {
color: var(--color-foreground);
border-bottom-color: var(--color-foreground);
}
a.primary {
a.link.primary {
color: var(--color-primary);
border-bottom-color: var(--color-primary-faded);
}
a.primary:hover {
a.link.primary:hover {
color: var(--color-primary-faded);
border-bottom-color: var(--color-primary-faded);
}
+4 -1
View File
@@ -40,7 +40,10 @@
min-height: 1rem;
}
.address a {
border-bottom: none;
color: var(--color-foreground-90);
}
.address a:hover {
color: var(--color-foreground);
}
.loading {
margin-left: 1rem;
+1 -1
View File
@@ -93,7 +93,7 @@
<span class="field">
{#if field.value}
{#if isUrl(field.value)}
<a href="{field.value}" target="_blank">{field.value}</a>
<a class="link" href="{field.value}" target="_blank">{field.value}</a>
{:else if isAddress(field.value)}
<Address address={field.value} {config} />
{:else}
-3
View File
@@ -39,9 +39,6 @@
font-weight: 500;
color: var(--color-foreground-6);
}
header a {
border: none;
}
header .nav a:hover {
color: var(--color-foreground);
}
+1 -1
View File
@@ -233,7 +233,7 @@
<p>Sorry, there is no Org at this address.</p>
{#if utils.isAddress(address)}
<p>
<a href={explorerLink(address, config)} target="_blank">View in explorer</a>
<a href={explorerLink(address, config)} class="link" target="_blank">View in explorer</a>
<span class="faded">↗</span>
</p>
{/if}