Skip to content

Commit

Permalink
Update +page.svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
raselshikdar authored Dec 26, 2024
1 parent 7febff6 commit 55ba42e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/routes/(article)/[slug]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
<path d="M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm-1.1 14.7-3.6-3.6 1.4-1.4 2.2 2.2 5.2-5.2 1.4 1.4z" />
</svg>
</a>
<br />
<span class="role">(Administrator!)</span>
</p>
<p class="note">{dateformat(post.date, 'UTC:dd mmm yyyy, h:MM TT')} - {post.readingTime}</p>
{#if post.updated}
Expand Down Expand Up @@ -120,6 +122,12 @@
}
}
.role {
font-size: 70%; /* Small font for Administrator role */
color: #1da1f2;
font-weight: normal;
}
.note {
font-size: 80%;
color: rgba(var(--color--text-rgb), 0.8);
Expand Down

0 comments on commit 55ba42e

Please sign in to comment.