Browse Source

Tweak h1 and h2 font sizes.

pull/133/head
Pēteris Caune 7 years ago
parent
commit
fd3e1640ad
3 changed files with 8 additions and 8 deletions
  1. +3
    -3
      static/css/bootstrap.css
  2. +3
    -3
      stuff/bootstrap/variables.less
  3. +2
    -2
      templates/front/docs_api.html

+ 3
- 3
static/css/bootstrap.css View File

@ -447,15 +447,15 @@ h6 .small,
} }
h1, h1,
.h1 { .h1 {
font-size: 36px;
font-size: 30px;
} }
h2, h2,
.h2 { .h2 {
font-size: 24px;
font-size: 20px;
} }
h3, h3,
.h3 { .h3 {
font-size: 24px;
font-size: 20px;
} }
h4, h4,
.h4 { .h4 {


+ 3
- 3
stuff/bootstrap/variables.less View File

@ -53,9 +53,9 @@
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px @font-size-large: ceil((@font-size-base * 1.25)); // ~18px
@font-size-small: ceil((@font-size-base * 0.85)); // ~12px @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-h4: ceil((@font-size-base * 1.25)); // ~18px
@font-size-h5: @font-size-base; @font-size-h5: @font-size-base;
@font-size-h6: ceil((@font-size-base * 0.85)); // ~12px @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px


+ 2
- 2
templates/front/docs_api.html View File

@ -32,7 +32,7 @@ its value should be your API key.
See below the "Create a check" section for an example. See below the "Create a check" section for an example.
</p> </p>
<h2 class="rule">API Requests</h2>
<h2>API Requests</h2>
<p> <p>
For POST requests, the {% site_name %} API expects request body to be For POST requests, the {% site_name %} API expects request body to be
@ -40,7 +40,7 @@ a JSON document (<em>not</em> a <code>multipart/form-data</code> encoded
form data). form data).
</p> </p>
<h2 class="rule">API Responses</h2>
<h2>API Responses</h2>
<p> <p>
{% site_name %} uses HTTP status codes wherever possible. {% site_name %} uses HTTP status codes wherever possible.


Loading…
Cancel
Save