style: typography, font sizes, margins

This commit is contained in:
Gigi
2022-04-28 08:36:19 +02:00
parent d20ede70b7
commit b4d9efdef7
2 changed files with 10 additions and 8 deletions

View File

@@ -6,7 +6,7 @@ layout: default
<div class="row">
<div class="span8 offset2">
<div class="content">
{% if page.title %}<h1>{{ page.title }}</h1>{% endif %}
{% if page.title %}<center><h1>{{ page.title }}</h1></center>{% endif %}
{{ content }}
</div>

View File

@@ -144,13 +144,15 @@ h3:hover .headerlink {
.content h1 {
margin: 1em 0 0.5em;
font-size: 42px;
font-size: 3rem;
font-weight: normal;
}
.content h2 {
font-size: 30px;
margin: 1em 0 0.4em;
font-size: 2rem;
margin: 1rem 0 0rem;
padding-bottom: 0;
padding-top: 2rem;
font-weight: normal;
}
@@ -180,15 +182,15 @@ h3:hover .headerlink {
@media screen and (max-width: 979px) {
.content p, .content li {
font-size: 13px;
line-height: 19px;
font-size: 1rem;
line-height: 1.5rem;
}
.content h1 {
font-size: 32px;
font-size: 2rem;
}
.content h2 {
font-size: 23px;
font-size: 1.8rem;
}
}