aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-20 05:08:07 -0800
committerFuwn <[email protected]>2026-01-20 05:08:07 -0800
commit60a8b7793f3ed137575d2a5da4bf899888be6d6a (patch)
treeddb841413f490ccb824b61c52e5be533d39949c4
parentfeat: Add clickable link option for monitor names (diff)
downloadkaze-60a8b7793f3ed137575d2a5da4bf899888be6d6a.tar.xz
kaze-60a8b7793f3ed137575d2a5da4bf899888be6d6a.zip
style: Remove default link underline styling
-rw-r--r--internal/server/static/style.css5
-rw-r--r--internal/server/templates/index.html4
2 files changed, 7 insertions, 2 deletions
diff --git a/internal/server/static/style.css b/internal/server/static/style.css
index 94a7e11..f494dcf 100644
--- a/internal/server/static/style.css
+++ b/internal/server/static/style.css
@@ -71,6 +71,11 @@ body {
line-height: 1.5;
}
+a {
+ color: inherit;
+ text-decoration: none;
+}
+
/* Utility classes */
.font-mono {
font-family: 'JetBrains Mono', Menlo, Monaco, 'Courier New', monospace;
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html
index 12bcb12..886ef63 100644
--- a/internal/server/templates/index.html
+++ b/internal/server/templates/index.html
@@ -88,7 +88,7 @@
{{else}}
<div class="w-2 h-2 rounded-full bg-neutral-400 flex-shrink-0"></div>
{{end}}
- {{if .Link}}<a href="{{.Link}}" target="_blank" rel="noopener noreferrer" class="font-medium truncate hover:underline">{{.Name}}</a>{{else}}<span class="font-medium truncate">{{.Name}}</span>{{end}}
+ {{if .Link}}<a href="{{.Link}}" target="_blank" rel="noopener noreferrer" class="font-medium truncate">{{.Name}}</a>{{else}}<span class="font-medium truncate">{{.Name}}</span>{{end}}
<span class="text-xs px-1.5 py-0.5 rounded bg-neutral-200 dark:bg-neutral-800 text-neutral-600 dark:text-neutral-400 uppercase">{{.Type}}</span>
</div>
<div class="flex items-center gap-4 text-xs text-neutral-500 dark:text-neutral-400">
@@ -185,7 +185,7 @@
<footer class="mt-12 pt-6 border-t border-neutral-200 dark:border-neutral-800">
<div class="flex items-center justify-between text-xs text-neutral-500 dark:text-neutral-400">
<span data-tooltip='{{.LastUpdatedTooltip}}'{{if $.UseBrowserTimezone}} data-timestamp="{{$.LastUpdated.Format "2006-01-02T15:04:05Z07:00"}}" data-format="timeago"{{end}}>Updated {{timeAgo $.LastUpdated}}</span>
- <span>Powered by <a href="https://github.com/Fuwn/kaze" class="hover:text-neutral-900 dark:hover:text-neutral-100 underline underline-offset-2">Kaze</a></span>
+ <span>Powered by <a href="https://github.com/Fuwn/kaze" class="hover:text-neutral-900 dark:hover:text-neutral-100">Kaze</a></span>
</div>
</footer>
</div>