Skip to content

Commit

Permalink
Merge pull request #4121 from cakephp/helvetica-body
Browse files Browse the repository at this point in the history
Make the body text use helvetica.
  • Loading branch information
lorenzo committed Jun 30, 2016
2 parents 7a9a052 + 0f27f79 commit 784be5d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
16 changes: 8 additions & 8 deletions themes/cakephp/layout.html
Expand Up @@ -295,15 +295,15 @@ <h4 class="modal-title-cookbook" id="modal-header">{# header text injected via j
{# Document body #}
<div class="row">
<div class="col-sm-12 col-md-9 col-md-push-3 space-left push-off">
<div class="row">
{%- if pagename != 'search' and pagename != 'contents' and pagename != 'index' -%}
<div class="page-contents col-sm-5">
<h3>{{ _('Page Contents') }}</h3>
{{ toc }}
</div>
{%- endif -%}
{%- if pagename != 'search' and pagename != 'contents' and pagename != 'index' -%}
<div class="page-contents col-sm-5">
<h3>{{ _('Page Contents') }}</h3>
{{ toc }}
</div>
{%- endif -%}

{% block body %} {% endblock %}
<div class="document-body">
{% block body %} {% endblock %}
</div>
</div>

Expand Down
8 changes: 8 additions & 0 deletions themes/cakephp/static/css/default.css
@@ -1,3 +1,4 @@

/*
* default.css
* ~~~~~~~~~~~~~
Expand Down Expand Up @@ -28,6 +29,13 @@
margin: -50px 0 0; /* negative fixed header height */
}

.document-body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: normal;
font-size: 15px;
letter-spacing: 0.02em;
}

/* Internal and external links generated by docutils have em inside the a. */
.reference em {
font-style: normal;
Expand Down
3 changes: 2 additions & 1 deletion themes/cakephp/static/css/style.css
Expand Up @@ -15,7 +15,7 @@ body {
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
min-height: 100%;
font-family: 'Raleway', sans-serif;
font-family: Raleway, sans-serif;
font-size: 14px;
line-height: 26px;
letter-spacing: 0.05em;
Expand All @@ -39,6 +39,7 @@ hr {
width: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-family: Raleway, sans-serif;
font-weight: 300;
margin: 0;
color: #363637;
Expand Down

0 comments on commit 784be5d

Please sign in to comment.