From fd3e1640adf2645eda2db19a00b66f49cecb9f7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C4=93teris=20Caune?=
Date: Sat, 12 Aug 2017 19:24:15 +0300
Subject: [PATCH] Tweak h1 and h2 font sizes.
---
static/css/bootstrap.css | 6 +++---
stuff/bootstrap/variables.less | 6 +++---
templates/front/docs_api.html | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/static/css/bootstrap.css b/static/css/bootstrap.css
index c0b9c11e..83f5dfaf 100644
--- a/static/css/bootstrap.css
+++ b/static/css/bootstrap.css
@@ -447,15 +447,15 @@ h6 .small,
}
h1,
.h1 {
- font-size: 36px;
+ font-size: 30px;
}
h2,
.h2 {
- font-size: 24px;
+ font-size: 20px;
}
h3,
.h3 {
- font-size: 24px;
+ font-size: 20px;
}
h4,
.h4 {
diff --git a/stuff/bootstrap/variables.less b/stuff/bootstrap/variables.less
index b688efc4..452cf6d7 100755
--- a/stuff/bootstrap/variables.less
+++ b/stuff/bootstrap/variables.less
@@ -53,9 +53,9 @@
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px
-@font-size-h1: floor((@font-size-base * 2.6)); // ~36px
-@font-size-h2: 24px;
-@font-size-h3: ceil((@font-size-base * 1.7)); // ~24px
+@font-size-h1: 30px;
+@font-size-h2: 20px;
+@font-size-h3: 20px;
@font-size-h4: ceil((@font-size-base * 1.25)); // ~18px
@font-size-h5: @font-size-base;
@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px
diff --git a/templates/front/docs_api.html b/templates/front/docs_api.html
index 439a967d..a5c9d39b 100644
--- a/templates/front/docs_api.html
+++ b/templates/front/docs_api.html
@@ -32,7 +32,7 @@ its value should be your API key.
See below the "Create a check" section for an example.
-API Requests
+API Requests
For POST requests, the {% site_name %} API expects request body to be
@@ -40,7 +40,7 @@ a JSON document (not a multipart/form-data
encoded
form data).
-API Responses
+API Responses
{% site_name %} uses HTTP status codes wherever possible.