Skip to content
Open
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
Empty file added .hugo_build.lock
Empty file.
6 changes: 5 additions & 1 deletion assets/css/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
--line-height-xjumbo: 2.5rem;
--font-size-mini-jumbo: 1.6rem;
--line-height-mini-jumbo: 1.8rem;
/* Darker primary blue for improved contrast (white on this yields ≥4.5:1) */
--tw-color-blue-primary-dark: #004a8d;
}

/* Animations */
Expand Down Expand Up @@ -77,7 +79,7 @@ main {

// common styles across nav, header, and footer
nav, .header, .footer {
background-color: var(--tw-color-blue-primary);
background-color: var(--tw-color-blue-primary-dark);
color: white;

@media (prefers-color-scheme: dark) {
Expand Down Expand Up @@ -123,6 +125,8 @@ nav {

.home-link {
font-weight: var(--feather-font-weight-bold);
// bump up to ≥18 pt bold so that 3.0:1 white-on-blue meets WCAG Large-text contrast
font-size: var(--font-size-mini-jumbo);
}

#nav-menu {
Expand Down
9 changes: 9 additions & 0 deletions assets/css/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,15 @@
height: 500px;
}

// ensure sufficient contrast on the Twitter embed link
// target the <a> bearing the .twitter-timeline class itself,
// plus any nested anchors under .twitter-timeline or .timeline-cell
.twitter-timeline,
.twitter-timeline a,
.timeline-cell a {
color: var(--tw-color-blue-primary-dark) !important;
}


@media (min-width: 600px) {
#follow-us .container {
Expand Down