Skip to content

Commit

Permalink
improve RSS button bg & rounded img border
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Hiltl committed Aug 27, 2024
1 parent 8777062 commit d8d5085
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion components/navbar.templ
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type RSSArgs struct {
}

templ RSS(args RSSArgs) {
<a href={ templ.URL(args.FeedURL) } title="Subscribe to RSS feed" class="hover:text-orange-400 hover:bg-orange-50 rounded p-1">
<a href={ templ.URL(args.FeedURL) } title="Subscribe to RSS feed" class="hover:text-orange-400 hover:bg-orange-400/10 rounded p-1">
@icons.RSS(16, 16)
</a>
}
Expand Down
2 changes: 1 addition & 1 deletion components/navbar_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions components/style.templ
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package components

// A wrapper to apply tailwind typography styles to the underlying texts
templ DefaultStyle() {
<div class="mx-auto w-full flex-1 flex flex-col justify-between prose prose-sm sm:prose-base prose-p:my-2 prose-p:leading-6 prose-h1:mb-3 prose-h2:mb-2 prose-h3:mb-2 prose-a:no-underline hover:prose-a:underline prose-a:underline-offset-4 prose-a:text-primary hover:prose-a:text-primary-highlight">
{ children... }
</div>
}
<div class="mx-auto w-full flex-1 flex flex-col justify-between prose prose-sm sm:prose-base prose-p:my-2 prose-p:leading-6 prose-h1:mb-3 prose-h2:mb-2 prose-h3:mb-2 prose-a:no-underline hover:prose-a:underline prose-a:underline-offset-4 prose-a:text-primary hover:prose-a:text-primary-highlight prose-img:rounded">
{ children... }
</div>
}
2 changes: 1 addition & 1 deletion components/style_templ.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion internal/handler/web/static/base.css

Large diffs are not rendered by default.

0 comments on commit d8d5085

Please sign in to comment.