Skip to content

Commit ecd7db3

Browse files
committed
docs: improve colour style for quotes and add an overview section; quotes endpoints are missing it.
1 parent 161a142 commit ecd7db3

File tree

6 files changed

+39
-33
lines changed

6 files changed

+39
-33
lines changed

docs/_sass/color_schemes/delphi.scss

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33

44
// Core Colors
55
$cmu-red: #C41230;
6-
$berkley-blue: #002676; // Dark Blue from screenshot
7-
$fg: #172431; // Dark Gray/Black
6+
$berkley-blue: #002676;
7+
$fg: #172431;
88
$bg: #fff;
99
$border: #e1e4e8;
1010

1111
// Base Colors
1212
$body-background-color: $bg;
1313
$body-text-color: $fg;
14-
$headings-color: $berkley-blue; // Blue headings
15-
$link-color: $cmu-red; // Red links
14+
$headings-color: $berkley-blue;
15+
$link-color: $cmu-red;
1616
$border-color: $border;
1717

1818
// Sidebar and Navigation
19-
$site-title-color: $berkley-blue; // Blue site title
19+
$site-title-color: $berkley-blue;
2020
$nav-list-link-color: $fg;
2121
$nav-list-link-hover-color: $berkley-blue;
2222
$nav-list-link-active-color: $berkley-blue;

docs/_sass/custom/custom.scss

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ body {
88
.site-header {
99
transition: all 0.3s ease;
1010
border-bottom: none !important;
11-
/* Removed hard blue line */
1211
background-color: var(--body-background) !important;
1312
font-family: 'Source Serif Pro', serif !important;
1413
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
15-
/* Better, softer shadow */
1614
}
1715

1816
.site-title {
@@ -44,7 +42,6 @@ h7 {
4442
aside {
4543
padding-top: 1.5rem;
4644
border-left: none;
47-
/* Removed blue line on the left */
4845

4946
h2 {
5047
margin-top: 1.2rem;
@@ -69,7 +66,6 @@ aside {
6966

7067
&:hover {
7168
background-color: rgba(0, 38, 118, 0.05);
72-
/* Very subtle blue blend */
7369
color: #C41230;
7470
text-decoration: none;
7571
}
@@ -78,7 +74,6 @@ aside {
7874
font-weight: 600;
7975
color: #C41230;
8076
background-color: rgba(196, 18, 48, 0.03);
81-
/* Subtle red blend for active */
8277
}
8378
}
8479

@@ -111,7 +106,6 @@ aside {
111106

112107
footer {
113108
border-top: 1px solid rgba(0, 0, 0, 0.05);
114-
/* Subtle blend instead of hard line */
115109
margin: 0 0 1rem 0;
116110
font-size: 0.8rem;
117111
color: var(--body-text);
@@ -131,21 +125,18 @@ table {
131125
td {
132126
padding: 0.75rem;
133127
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
134-
/* Softer borders */
135128
}
136129

137130
th {
138131
text-align: left;
139132
font-weight: 600;
140133
color: #002676;
141134
border-bottom: 2px solid rgba(0, 38, 118, 0.2);
142-
/* Softer header underline */
143135
}
144136
}
145137

146138
code {
147139
background-color: rgba(0, 0, 0, 0.04);
148-
/* Blended background */
149140
padding: 0.2em 0.4em;
150141
border-radius: 3px;
151142
font-size: 85%;
@@ -156,7 +147,6 @@ pre code {
156147
padding: 0;
157148
}
158149

159-
/* Callouts - softer blend */
160150
.note,
161151
.warning,
162152
.important,
@@ -167,7 +157,6 @@ pre code {
167157
border-left: 4px solid;
168158
border-radius: 4px;
169159
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
170-
/* Subtle lift */
171160

172161
>p {
173162
margin: 0;
@@ -182,10 +171,18 @@ pre code {
182171
}
183172
}
184173

185-
.note,
174+
.note {
175+
background-color: rgba(0, 123, 192, 0.05);
176+
border-left-color: #007BC0;
177+
color: #007BC0;
178+
179+
>p:first-child strong:first-child {
180+
color: #007BC0;
181+
}
182+
}
183+
186184
.important {
187-
background-color: rgba(0, 38, 118, 0.03);
188-
/* Blended Blue */
185+
background-color: rgba(0, 38, 118, 0.05);
189186
border-left-color: #002676;
190187
color: #002676;
191188

@@ -197,7 +194,6 @@ pre code {
197194
.warning,
198195
.caution {
199196
background-color: rgba(196, 18, 48, 0.03);
200-
/* Blended Red */
201197
border-left-color: #C41230;
202198
color: #941120;
203199

@@ -208,7 +204,6 @@ pre code {
208204

209205
.tip {
210206
background-color: rgba(54, 143, 51, 0.05);
211-
/* Blended Green */
212207
border-left-color: #368f33;
213208
color: #1b5e20;
214209

docs/api/covidcast.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,8 @@ selected geographical areas---counties, states, metropolitan statistical areas,
1818
and other divisions.
1919

2020

21-
<div style="background-color:#FCC; padding: 10px 30px;"><strong>Get
22-
updates:</strong> Delphi operates a <a
23-
href="https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api">mailing
24-
list</a> for users of the COVIDcast API. We will use the list to announce API
25-
changes, corrections to data, and new features; API users may also use the
26-
mailing list to ask general questions about its use. If you use the API, we
27-
strongly encourage you to <a
28-
href="https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api">subscribe</a>.
29-
</div>
21+
> **Get updates:** Delphi operates a [mailing list](https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api) for users of the COVIDcast API. We will use the list to announce API changes, corrections to data, and new features; API users may also use the mailing list to ask general questions about its use. If you use the API, we strongly encourage you to [subscribe](https://lists.andrew.cmu.edu/mailman/listinfo/delphi-covidcast-api).
22+
{: .important }
3023

3124
## Table of contents
3225
{: .no_toc .text-delta}

docs/api/flusurv.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: <i>inactive</i> Flusurv
2+
title: Flusurv
33
parent: Data Sources and Signals
44
grand_parent: Other Endpoints (COVID-19 and Other Diseases)
55
nav_order: 2
@@ -15,10 +15,10 @@ nav_order: 2
1515
| **Data Source** | [Laboratory-Confirmed Influenza Hospitalizations](https://gis.cdc.gov/GRASP/Fluview/FluHospRates.html) |
1616
| **Geographic Coverage** | See [Geographic Codes](geographic_codes.html#flusurv-locations) for full list |
1717
| **Temporal Resolution** | Weekly (Epiweek) |
18-
| **Update Frequency** | Weekly |
1918
| **Earliest Date** | 2003w40 |
2019

21-
<!--| **License** | Open Access | -->
20+
<!--| **Update Frequency** | Weekly |
21+
| **License** | Open Access | -->
2222

2323

2424

docs/api/fluview.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,22 @@ nav_order: 1
1919
| **Earliest Date** | 1997w40 |
2020
| **License** | Open Access / [CDC](http://gis.cdc.gov/grasp/fluview/fluportaldashboard.html) |
2121

22+
## Overview
23+
{: .no_toc}
24+
2225
Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet).
2326

2427
General topics not specific to any particular endpoint are discussed in the
2528
[API overview](README.md). Such topics include:
2629
[contributing](README.md#contributing), [citing](README.md#citing), and
2730
[data licensing](README.md#data-licensing).
2831

32+
## Table of contents
33+
{: .no_toc .text-delta}
34+
35+
1. TOC
36+
{:toc}
37+
2938
# The API
3039

3140
The base URL is: https://api.delphi.cmu.edu/epidata/fluview/

docs/api/fluview_meta.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ nav_order: 1
1515
| **Update Frequency** | Weekly (typically Fridays) |
1616
| **License** | Open Access |
1717

18+
## Overview
19+
{: .no_toc}
20+
1821
This is the API documentation for accessing the FluView metadata
1922
(`fluview_meta`) endpoint of [Delphi](https://delphi.cmu.edu/)'s epidemiological
2023
data.
@@ -24,6 +27,12 @@ General topics not specific to any particular endpoint are discussed in the
2427
[contributing](README.md#contributing), [citing](README.md#citing), and
2528
[data licensing](README.md#data-licensing).
2629

30+
## Table of contents
31+
{: .no_toc .text-delta}
32+
33+
1. TOC
34+
{:toc}
35+
2736
## FluView Metadata
2837

2938
Returns information about the [`fluview` endpoint](fluview.md).

0 commit comments

Comments
 (0)