Skip to content

Commit

Permalink
feat: Style AnnouncementCard content
Browse files Browse the repository at this point in the history
  • Loading branch information
Ushie committed Dec 16, 2024
1 parent 64571cc commit 58e7f0d
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions src/routes/announcements/AnnouncementCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,45 @@
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
:global(a) {
color: var(--primary);
text-decoration: none;
pointer-events: none;
}
:global(h1),
:global(h2),
:global(h3),
:global(h4),
:global(h5),
:global(h6) {
color: var(--secondary);
line-height: 1.75rem;
margin: 0;
}
:global(h1) {
font-size: 1.75rem;
}
:global(h2) {
font-size: 1.25rem;
}
:global(h3) {
font-size: 1rem;
}
:global(h4) {
font-size: 0.5rem;
}
:global(li) {
list-style-position: inside;
font-size: 0.9rem;
font-weight: 500;
}
}
}
}
Expand Down

0 comments on commit 58e7f0d

Please sign in to comment.