Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions app/stream/page.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
}

.entry {
--entry-font-size: 0.8rem;

display: grid;
grid-template-columns: 5.5rem 3.5rem 1fr;
grid-template-columns: 1fr 3.5rem 5.5rem;
gap: 1rem;
padding: 0.6rem 0;
border-bottom: 1px solid var(--background-hr);
Expand All @@ -34,19 +36,23 @@
}

.date {
font-size: 0.8rem;
font-size: var(--entry-font-size);
color: rgba(255, 255, 255, 0.5);
font-variant-numeric: tabular-nums;
white-space: nowrap;
}

.title {
font-size: var(--entry-font-size);
font-weight: 400;
display: inline-flex;
align-items: baseline;
gap: 0.25rem;
transition: color 0.15s ease;
}

.tag {
font-size: 0.65rem;
font-size: var(--entry-font-size);
color: rgba(255, 255, 255, 0.4);
text-transform: uppercase;
letter-spacing: 0.05em;
Expand All @@ -55,17 +61,11 @@

.externalIcon {
opacity: 0.4;
margin-left: 0.25rem;
}

@media (max-width: 500px) {
.entry {
grid-template-columns: auto auto 1fr;
--entry-font-size: 0.7rem;
gap: 0.5rem;
}

.date {
font-size: 0.7rem;
}
}

4 changes: 2 additions & 2 deletions app/stream/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ export default function Stream() {

const content = (
<>
<span className={styles.date}>{format(item.date, 'MMM yyyy')}</span>
<span className={styles.tag}>{item.type}</span>
<span className={styles.title}>
{item.title}
{isExternal && (
Expand All @@ -36,6 +34,8 @@ export default function Stream() {
</span>
)}
</span>
<span className={styles.tag}>{item.type}</span>
<span className={styles.date}>{format(item.date, 'MMM yyyy')}</span>
</>
)

Expand Down