Adjusted article font sizes

This commit is contained in:
Oleg Lavrovsky 2017-05-02 16:47:18 +02:00
parent 5fe2e03b65
commit 1013785b60
3 changed files with 25 additions and 3 deletions

View file

@ -6,7 +6,7 @@
</div> </div>
{% endif %} {% endif %}
<h2>{{ page.trans_title }}</h2> <h1 class="title">{{ page.trans_title }}</h1>
<p class="lead">{{ page.trans_intro|richtext }}</p> <p class="lead">{{ page.trans_intro|richtext }}</p>

View file

@ -5,13 +5,21 @@ section {
background-color: $gray-lighter; background-color: $gray-lighter;
} }
h2 { h1 {
font-size: 40px;
text-align: center; text-align: center;
margin-bottom: 1.5em; margin-bottom: 1.5em;
text-transform: uppercase; text-transform: uppercase;
} }
} }
.article-body {
h2 { font-size: 35px; }
h3 { font-size: 30px; }
h4 { font-size: 25px; }
h5 { font-size: 22px; }
}
// Article content blocks // Article content blocks
.article-body > div { .article-body > div {
clear: both; clear: both;

View file

@ -8569,12 +8569,26 @@ section {
section:nth-child(odd) { section:nth-child(odd) {
background-color: #eeeeee; background-color: #eeeeee;
} }
section h2 { section h1 {
font-size: 40px;
text-align: center; text-align: center;
margin-bottom: 1.5em; margin-bottom: 1.5em;
text-transform: uppercase; text-transform: uppercase;
} }
.article-body h2 {
font-size: 35px;
}
.article-body h3 {
font-size: 30px;
}
.article-body h4 {
font-size: 25px;
}
.article-body h5 {
font-size: 22px;
}
.article-body > div { .article-body > div {
clear: both; clear: both;
} }