diff --git a/src/styles/isomer-template/components/homepage/_announcements.scss b/src/styles/isomer-template/components/homepage/_announcements.scss index c79517330..90117097d 100644 --- a/src/styles/isomer-template/components/homepage/_announcements.scss +++ b/src/styles/isomer-template/components/homepage/_announcements.scss @@ -9,33 +9,6 @@ color: #f9f9f9; } -.announcements-announcement-title { - font-size: 1.625rem; - font-weight: 700; - line-height: 2rem; -} - -.announcements-announcement-subtitle { - font-size: 1rem; - font-weight: 400; - line-height: 1.375rem; -} - -.announcements-announcement-link { - color: var(--site-secondary-color); - font-size: 1.125rem; - font-weight: 600; - line-height: 1.5rem; - letter-spacing: 0.27px; - text-decoration-line: underline; - text-transform: capitalize; - text-underline-offset: 0.25rem; -} - -.announcements-announcement-link:hover { - color: var(--site-secondary-color-hover); -} - -a[target="_blank"].announcements-announcement-link::after { +a[target="_blank"].link::after { content: unset; } diff --git a/src/styles/isomer-template/theme/_colors.scss b/src/styles/isomer-template/theme/_colors.scss index 59b281fe3..7618ab721 100644 --- a/src/styles/isomer-template/theme/_colors.scss +++ b/src/styles/isomer-template/theme/_colors.scss @@ -1,5 +1,5 @@ $canvas-base: #ffffff; -$content-base: #000000; +$content-base: #344054; $utility-theme-color: var(--site-primary-color); $canvas-inverse: #000000; $content-inverse: #ffffff; diff --git a/src/styles/isomer-template/theme/_layout.scss b/src/styles/isomer-template/theme/_layout.scss index b33ef8217..ed0d82bf1 100644 --- a/src/styles/isomer-template/theme/_layout.scss +++ b/src/styles/isomer-template/theme/_layout.scss @@ -1,3 +1,7 @@ .flex-end { justify-content: flex-end; } + +.w-100 { + width: 100%; +} diff --git a/src/templates/homepage/AnnouncementsSection.tsx b/src/templates/homepage/AnnouncementsSection.tsx index 69bd6d87a..acc3fcff4 100644 --- a/src/templates/homepage/AnnouncementsSection.tsx +++ b/src/templates/homepage/AnnouncementsSection.tsx @@ -47,134 +47,132 @@ export const TemplateAnnouncementsSection = forwardRef< "is-flex", ])} > -
- {subtitle} -
- )} - {title && ( -+ {subtitle} +
+ )} + {title && ( ++ {announcement.date} +
++ {announcement.announcement} +
+ {announcement.link_text && announcement.link_url && ( +- {announcement.date} -
-{announcement.announcement}
- {announcement.link_text && announcement.link_url && ( -