Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
6aeda9b9d5
|
|||
|
af137f3bd0
|
|||
|
a59bee982a
|
@@ -443,9 +443,9 @@ select:focus { border-color: var(--accent); }
|
||||
.score-badge {
|
||||
font-family: 'Space Mono', monospace;
|
||||
font-size: 0.65rem;
|
||||
color: var(--accent3);
|
||||
background: rgba(251,191,36,0.1);
|
||||
border: 1px solid rgba(251,191,36,0.2);
|
||||
color: var(--muted);
|
||||
background: var(--surface2);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 5px;
|
||||
padding: 0.3rem 0.45rem;
|
||||
white-space: nowrap;
|
||||
@@ -762,6 +762,16 @@ function applyFilters() {
|
||||
// ────────────────────────────────
|
||||
// RENDER
|
||||
// ────────────────────────────────
|
||||
function fmtDate(iso) {
|
||||
if (!iso) return 'Aktivní: neznámo';
|
||||
const d = new Date(iso);
|
||||
if (isNaN(d)) return 'Aktivní: neznámo';
|
||||
const dd = String(d.getUTCDate()).padStart(2, '0');
|
||||
const mm = String(d.getUTCMonth() + 1).padStart(2, '0');
|
||||
const yyyy = d.getUTCFullYear();
|
||||
return `Aktivní: ${dd}.${mm}.${yyyy}`;
|
||||
}
|
||||
|
||||
function fmt(n) {
|
||||
if (!n) return '0';
|
||||
if (n >= 1000) return (n / 1000).toFixed(1) + 'K';
|
||||
@@ -799,7 +809,7 @@ function cardHTML(a, idx) {
|
||||
</div>
|
||||
<div class="card-follow">
|
||||
<a href="${followUrl(a.handle)}" target="_blank" class="follow-btn">+ Sledovat</a>
|
||||
<span class="score-badge">★ ${a.score || '?'}</span>
|
||||
<span class="score-badge">${fmtDate(a.last_active)}</span>
|
||||
</div>
|
||||
</div>`;
|
||||
}
|
||||
@@ -828,7 +838,7 @@ function cardHTML(a, idx) {
|
||||
</div>
|
||||
<div class="card-follow">
|
||||
<a href="${followUrl(a.handle)}" target="_blank" class="follow-btn">+ Sledovat</a>
|
||||
<span class="score-badge">★ ${a.score || '?'}</span>
|
||||
<span class="score-badge">${fmtDate(a.last_active)}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
@@ -1047,7 +1057,7 @@ loadAccounts();
|
||||
|
||||
<footer class="site-footer">
|
||||
<div class="site-footer-inner">
|
||||
<a href="https://git.arch-linux.cz/archos/fedi_start">Gitea repo</a>
|
||||
<a href="https://git.arch-linux.cz/Mamutovo/fedi_start">Gitea repo</a>
|
||||
<a href="https://oscloud.cz">Oscloud</a>
|
||||
<a href="https://gts.arch-linux.cz/@archos">@archos@gts.arch-linux.cz</a>
|
||||
</div>
|
||||
|
||||
@@ -75,6 +75,7 @@ QUERY_INSTANCES = [
|
||||
"spondr.cz",
|
||||
"skorpil.cz",
|
||||
"ajtaci.club",
|
||||
"toot.whatever.cz",
|
||||
]
|
||||
|
||||
MIN_STATUSES = 10
|
||||
|
||||
@@ -52,11 +52,13 @@
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: clamp(2rem, 6vw, 3.2rem);
|
||||
font-weight: 800;
|
||||
font-size: clamp(1.8rem, 6vw, 3.5rem);
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
margin-bottom: 1rem;
|
||||
letter-spacing: -0.02em;
|
||||
word-break: break-word;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
h1 span { color: var(--accent); }
|
||||
@@ -386,7 +388,7 @@ Zajímá mě [Linux / příroda / fotografie / ...]. Rád/a se seznámím!
|
||||
<div class="footer-note">
|
||||
Zasekl/a ses? Napiš na <a href="https://gts.arch-linux.cz/@archos">@archos@gts.arch-linux.cz</a> nebo
|
||||
se zeptej v <a href="https://mamutovo.cz/tags/pomoc">#pomoc</a>.<br>
|
||||
Tato stránka je open source: <a href="https://git.arch-linux.cz/archos/fedi_start">Gitea</a> ·
|
||||
Tato stránka je open source: <a href="https://git.arch-linux.cz/Mamutovo/fedi_start">Gitea</a> ·
|
||||
<a href="https://oscloud.cz">oscloud.cz</a>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user