-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.scss
75 lines (64 loc) · 1.99 KB
/
theme.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/*-- scss:defaults --*/
// These style adjustments aim to create branding consistent
// with the ITS website: https://its.ntia.gov and in line with
// USWDS principles.
// Last updated 6/27/2024
// Quarto theming reference:
// https://quarto.org/docs/output-formats/html-themes.html
// Colors
$primary: #162e51; // ITS blue (NTIA is 162d51)
$secondary: #D63E04; // ITS orange
$footer-bg-color: #c6cace;
$light: #fff;
$semi-black: rgba(0, 0, 0, 0.8);
$body-bg: $light;
$body-color: $semi-black;
$link-color: #0066CC;
$popover-bg: $light;
// Fonts: Define some USWDS font family tokens
// https://designsystem.digital.gov/design-tokens/typesetting/font/
$source-sans-pro: 'Source Sans Pro','Helvetica Neue', 'Helvetica', 'Roboto', 'Arial', sans-serif;
$merriweather: 'Merriweather Web', 'Georgia', 'Cambria', 'Times New Roman', 'Times', serif;
$roboto-mono: 'Roboto Mono Web', 'Bitstream Vera Sans Mono', 'Consolas', 'Courier', monospace;
$font-family-sans-serif: $merriweather !important;
$font-family-monospace: $roboto-mono !important;
// Code blocks and inline code
$code-block-border-left: $secondary;
$code-block-bg: rgba(233, 236, 239, 0.4);
$btn-code-copy-color-active: $primary;
$code-color: $primary;
// Table of contents
$toc-color: $secondary;
$toc-active-border: $secondary;
nav#TOC.toc-active ul li a.nav-link.active {
font-weight: bold;
}
// Navigation
$navbar-fg: $light;
$navbar-hl: rgb(129, 174, 252); // Match ITS website
header nav {
font-weight: bold;
}
// Callouts
$callout-color-note: $primary;
$callout-color-warning: $secondary;
// Page titles/headers
h1 {
border-bottom: 3px solid $secondary;
display: inline-block;
padding-bottom: 10px;
color: $semi-black;
font-family: $merriweather;
}
// Footer
footer div .usa-footer-nav {
background-color: $primary !important;
color: #fff;
font-family: $source-sans-pro;
}
// Disable "external link" icons for social media links
footer div.usa-footer__social-links {
a::after {
display: none !important;
}
}