Skip to content

Commit 158d63f

Browse files
authored
Merge pull request #85 from code4policy/claire2
fonts
2 parents 9629cca + 6b9b6c3 commit 158d63f

7 files changed

Lines changed: 25 additions & 12 deletions

File tree

home.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Home — PAYT Project</title>
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
69
<link href="styles/styles.css" rel="stylesheet" />
710
</head>
811
<body>

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
<html>
33
<head>
44
<title>Demo Website</title>
5+
<link rel="preconnect" href="https://fonts.googleapis.com">
6+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
7+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
58
<!-- linking css file-->
69
<link href="styles/styles.css" rel="stylesheet" />
710
<!-- D3.js library -->

method.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Methodology — PAYT Project</title>
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
69
<link href="styles/styles.css" rel="stylesheet" />
710
</head>
811
<body>

our-team/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<html>
33
<head>
44
<title>Demo Website</title>
5-
5+
66
<!-- linking css file-->
7-
<link href="styles/styles.css" rel="stylesheet" />
8-
<link rel="preconnect" href="https:// fonts.googleapis.com">
9-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
10-
<link href="https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
7+
<link rel="preconnect" href="https://fonts.googleapis.com">
8+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
9+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
10+
<link href="styles/styles.css" rel="stylesheet" />
1111

1212
</head>
1313
<body>

recommendations.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Recommendations — PAYT Project</title>
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
69
<link href="styles/styles.css" rel="stylesheet" />
710
</head>
811
<body>

sources.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
<head>
44
<meta charset="utf-8" />
55
<title>Sources — PAYT Project</title>
6+
<link rel="preconnect" href="https://fonts.googleapis.com">
7+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
8+
<link href="https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Manrope:wght@200..800&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
69
<link href="styles/styles.css" rel="stylesheet" />
710
</head>
811
<body>

styles/styles.css

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400;1,700&family=Montserrat:wght@200;300;400;500;700;800&display=swap');
2-
31
:root {
4-
--font-body: "Lora", serif;
5-
--font-heading: "Montserrat", sans-serif;
2+
--font-body: "Lora", Georgia, "Times New Roman", serif;
3+
--font-heading: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
64
--body-font-size: 16px;
75
--body-line-height: 1.6;
86
/* Boston.gov brand colors (from brand guidelines) */
@@ -355,7 +353,7 @@ ul ul li {
355353
min-height: 40px;
356354
padding: 8px 12px;
357355
box-sizing: border-box;
358-
font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
356+
font-family: var(--font-heading);
359357
font-weight: 400;
360358
font-size: 13px; /* keep banner text size */
361359
z-index: 9999;
@@ -418,8 +416,8 @@ ul ul li {
418416
.top-header,
419417
.top-header .header-inner,
420418
.site-nav-list li a {
421-
font-family: 'Montserrat', sans-serif;
422-
font-weight: 400; /* Montserrat Regular */
419+
font-family: var(--font-heading);
420+
font-weight: 400;
423421
}
424422
.site-logo {
425423
height: 22px;

0 commit comments

Comments
 (0)