diff --git a/deni.html b/deni.html index 7db864b..e49efbf 100644 --- a/deni.html +++ b/deni.html @@ -59,22 +59,30 @@ nav { display: flex; align-items: center; justify-content: space-between; paddin .filter-tab.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 700; } .filter-count { opacity: .7; } +/* AUTHORS */ +.authors-wrap { max-width: 900px; margin: 0 auto; padding: 0 1.5rem .75rem; } +.authors-scroll { display: flex; gap: .75rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; } +.author-chip { display: flex; flex-direction: column; align-items: center; gap: .3rem; flex-shrink: 0; } +.author-chip img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; } +.author-chip-fallback { width: 48px; height: 48px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; } +.author-chip-name { font-size: .65rem; color: var(--muted); text-align: center; max-width: 56px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } + /* FEED */ .feed-wrap { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 4rem; } .feed { display: flex; flex-direction: column; } -.post { display: flex; gap: .75rem; padding: .9rem 0; border-bottom: 1px solid var(--border); cursor: default; transition: background .1s; } +.post { display: flex; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--border); cursor: default; transition: background .1s; } .post:hover { background: rgba(255,255,255,.02); } -.post-avatar { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; object-fit: cover; } -.post-avatar-fallback { width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--text); } +.post-avatar { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; object-fit: cover; } +.post-avatar-fallback { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; background: var(--border); display: flex; align-items: center; justify-content: center; font-size: .85rem; color: var(--text); } .post-main { flex: 1; min-width: 0; } .post-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .2rem; } -.post-author { font-weight: 700; font-size: .9rem; } +.post-author { font-weight: 700; font-size: .85rem; } .post-time { font-family: 'Space Mono', monospace; font-size: .65rem; color: var(--muted); flex-shrink: 0; margin-left: .5rem; } -.post-handle { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); margin-bottom: .35rem; } -.post-text { font-size: .88rem; line-height: 1.55; color: var(--text); word-break: break-word; } +.post-handle { font-family: 'Space Mono', monospace; font-size: .65rem; color: var(--muted); margin-bottom: .35rem; } +.post-text { font-size: .82rem; line-height: 1.55; color: var(--text); word-break: break-word; } .post-text a { color: var(--accent); text-decoration: none; } -.post-media { margin-top: .6rem; border-radius: 8px; overflow: hidden; max-height: 200px; } -.post-media img { width: 100%; max-height: 200px; object-fit: cover; display: block; } +.post-media { float: right; margin: 0 0 .25rem .75rem; width: 120px; border-radius: 8px; overflow: hidden; } +.post-media img { width: 120px; height: 120px; aspect-ratio: 1/1; object-fit: cover; display: block; } .post-boost { font-family: 'Space Mono', monospace; font-size: .7rem; color: var(--muted); margin-bottom: .3rem; } .post-boost span { color: var(--accent); } @@ -126,6 +134,10 @@ nav { display: flex; align-items: center; justify-content: space-between; paddin +
+
Žádné algoritmy. Žádné reklamy. Patří komunitě.
Tyhle 4 kroky ti zaplní feed a pomůžou udělat první post.
- Co je Mamutovo.cz?
+ Co je Mamutovo.cz? · Co se teď děje? ⚡