fix: icons pt4

This commit is contained in:
nate 2026-04-09 20:15:37 +04:00
parent cbc942d998
commit c8715bb9aa
2 changed files with 8 additions and 8 deletions

View File

@ -36,7 +36,7 @@ body { margin: 0; background: var(--bg); color: var(--fg); font-family: -apple-s
main { max-width: 880px; margin: 0 auto; padding: 3rem 1.5rem; } main { max-width: 880px; margin: 0 auto; padding: 3rem 1.5rem; }
h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem; } h1 { font-size: 1.75rem; font-weight: 700; margin: 0 0 0.5rem; }
.title-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; } .title-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; }
.title-row h1 { margin: 0; } .title-row h1 { margin: 0; line-height: 1.2; }
.json-link, .rss-link { color: var(--muted); display: inline-flex; align-items: center; transition: color 0.15s; } .json-link, .rss-link { color: var(--muted); display: inline-flex; align-items: center; transition: color 0.15s; }
.json-link:hover { color: #60a5fa; } .json-link:hover { color: #60a5fa; }
.rss-link:hover { color: #f59e0b; } .rss-link:hover { color: #f59e0b; }

View File

@ -98,16 +98,16 @@
<div class="title-row"> <div class="title-row">
<h1><%= page.title %></h1> <h1><%= page.title %></h1>
<a class="json-link" href="/<%= page.slug %>.json" title="JSON API" aria-label="JSON API"> <a class="json-link" href="/<%= page.slug %>.json" title="JSON API" aria-label="JSON API">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"> <svg width="18" height="18" viewBox="0 0 32 32" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
<path d="M9 3a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5a2 2 0 0 0 2 2"/> <path d="M10 4a3 3 0 0 0-3 3v6a3 3 0 0 1-3 3 3 3 0 0 1 3 3v6a3 3 0 0 0 3 3"/>
<path d="M15 21a2 2 0 0 0 2-2v-5a2 2 0 0 1 2-2 2 2 0 0 1-2-2V5a2 2 0 0 0-2-2"/> <path d="M22 28a3 3 0 0 0 3-3v-6a3 3 0 0 1 3-3 3 3 0 0 1-3-3V7a3 3 0 0 0-3-3"/>
<circle cx="12" cy="10" r="1.25" fill="currentColor" stroke="none"/> <circle cx="16" cy="12.5" r="1.4" fill="currentColor" stroke="none"/>
<circle cx="12" cy="14.5" r="1.25" fill="currentColor" stroke="none"/> <circle cx="16" cy="18" r="1.4" fill="currentColor" stroke="none"/>
<line x1="12" y1="14.5" x2="11" y2="16.5" stroke-width="2"/> <line x1="16" y1="18" x2="14.8" y2="21" stroke-width="2"/>
</svg> </svg>
</a> </a>
<a class="rss-link" href="/<%= page.slug %>.rss" title="Subscribe via RSS" aria-label="Subscribe via RSS"> <a class="rss-link" href="/<%= page.slug %>.rss" title="Subscribe via RSS" aria-label="Subscribe via RSS">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true"> <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" aria-hidden="true">
<path d="M4 11a9 9 0 0 1 9 9"/> <path d="M4 11a9 9 0 0 1 9 9"/>
<path d="M4 4a16 16 0 0 1 16 16"/> <path d="M4 4a16 16 0 0 1 16 16"/>
<circle cx="5" cy="19" r="1.5" fill="currentColor" stroke="none"/> <circle cx="5" cy="19" r="1.5" fill="currentColor" stroke="none"/>