Skip to content

Commit b19f47d

Browse files
committed
Make the body text use helvetica.
A few people have mentioned that they find Raleway tiring to read for longer stretches. Helvetica is a bit more battle-tested as a body typeface, and is generally less abrasive to folks.
1 parent 81ea8de commit b19f47d

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

themes/cakephp/layout.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -295,15 +295,15 @@ <h4 class="modal-title-cookbook" id="modal-header">{# header text injected via j
295295
{# Document body #}
296296
<div class="row">
297297
<div class="col-sm-12 col-md-9 col-md-push-3 space-left push-off">
298-
<div class="row">
299-
{%- if pagename != 'search' and pagename != 'contents' and pagename != 'index' -%}
300-
<div class="page-contents col-sm-5">
301-
<h3>{{ _('Page Contents') }}</h3>
302-
{{ toc }}
303-
</div>
304-
{%- endif -%}
298+
{%- if pagename != 'search' and pagename != 'contents' and pagename != 'index' -%}
299+
<div class="page-contents col-sm-5">
300+
<h3>{{ _('Page Contents') }}</h3>
301+
{{ toc }}
302+
</div>
303+
{%- endif -%}
305304

306-
{% block body %} {% endblock %}
305+
<div class="document-body">
306+
{% block body %} {% endblock %}
307307
</div>
308308
</div>
309309

themes/cakephp/static/css/default.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
/*
23
* default.css
34
* ~~~~~~~~~~~~~
@@ -28,6 +29,13 @@
2829
margin: -50px 0 0; /* negative fixed header height */
2930
}
3031

32+
.document-body {
33+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
34+
font-weight: normal;
35+
font-size: 15px;
36+
letter-spacing: 0.02em;
37+
}
38+
3139
/* Internal and external links generated by docutils have em inside the a. */
3240
.reference em {
3341
font-style: normal;

themes/cakephp/static/css/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ hr {
3939
width: 100%;
4040
}
4141
h1, h2, h3, h4, h5, h6 {
42+
font-family: Raleway, sans-serif;
4243
font-weight: 300;
4344
margin: 0;
4445
color: #363637;

0 commit comments

Comments
 (0)