summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-04-03 22:33:28 -0400
committerIan Lewis <ianlewis@google.com>2019-04-05 13:57:54 +0900
commit896812ebe2e0d435aafba96aeb08152a16579a70 (patch)
tree9fd05dfcc52d24c9732ea8250e06846bdf7b2117
parentc1c59764f965eefca6ad45d897d09d14348febef (diff)
Adjust font sizes for headers
-rw-r--r--assets/scss/_styles_project.scss2
-rw-r--r--assets/scss/_variables_project.scss8
2 files changed, 5 insertions, 5 deletions
diff --git a/assets/scss/_styles_project.scss b/assets/scss/_styles_project.scss
index c6593ea9f..306686006 100644
--- a/assets/scss/_styles_project.scss
+++ b/assets/scss/_styles_project.scss
@@ -67,7 +67,7 @@ a.doc-table-anchor {
@media (min-width: 768px) {
width: 50%;
}
- font-size: 2rem;
+ font-size: $h1-font-size;
}
.td-default main section.td-cover-block p.lead strong {
font-weight: bold;
diff --git a/assets/scss/_variables_project.scss b/assets/scss/_variables_project.scss
index 8a1da2106..0357d6edf 100644
--- a/assets/scss/_variables_project.scss
+++ b/assets/scss/_variables_project.scss
@@ -8,9 +8,9 @@ $google_font_name: "Roboto";
$google_font_family: "Roboto";
$font-size-base: 1rem;
-$h1-font-size: $font-size-base * 2.5;
-$h2-font-size: $font-size-base * 2;
-$h3-font-size: $font-size-base * 1.75;
-$h4-font-size: $font-size-base * 1.5;
+$h1-font-size: $font-size-base * 2;
+$h2-font-size: $font-size-base * 1.85;
+$h3-font-size: $font-size-base * 1.65;
+$h4-font-size: $font-size-base * 1.35;
$h5-font-size: $font-size-base * 1.25;
$h6-font-size: $font-size-base;