[#9] Update headers styles

This commit is contained in:
Anastasiya Shamray 2023-05-29 17:17:47 +03:00
parent 53e601ad4b
commit 2edd4fed28
3 changed files with 16 additions and 23 deletions

View file

@ -54,27 +54,27 @@ h6 {
h1, h1,
.h1 { .h1 {
font-size: 45px; font-size: 32px;
} }
h2, h2,
.h2 { .h2 {
font-size: 32px; font-size: 26px;
} }
h3, h3,
.h3 { .h3 {
font-size: 26px; font-size: 20px;
} }
h4, h4,
.h4 { .h4 {
font-size: 20px; font-size: 18px;
} }
h5, h5,
.h5 { .h5 {
font-size: 18px; font-size: 16px;
} }
h6, h6,
@ -82,22 +82,6 @@ h6,
font-size: 14px; font-size: 14px;
} }
#title {
font-size: 32px;
}
.content h2 {
font-size: 26px;
}
.content h3 {
font-size: 20px;
}
.content h4 {
font-size: 18px;
}
/* Button style */ /* Button style */
.btn { .btn {
font-size: 14px; font-size: 14px;
@ -246,8 +230,17 @@ select:focus {
} }
} }
.main-title {
font-size: 45px;
}
.section-title { .section-title {
margin-bottom: 40px; margin-bottom: 40px;
font-size: 32px;
}
.section-item {
font-size: 26px;
} }
.bg-cover { .bg-cover {

View file

@ -22,7 +22,7 @@
{{ with .Params.icon}} {{ with .Params.icon}}
<i class="{{.}} icon text-primary d-block mb-4"></i> <i class="{{.}} icon text-primary d-block mb-4"></i>
{{end}} {{end}}
<h3 class="mb-3 mt-0">{{ .Title }}</h3> <h3 class="mb-3 mt-0 section-item">{{ .Title }}</h3>
{{with .Params.description}} {{with .Params.description}}
<p class="mb-0">{{. | markdownify}}</p> <p class="mb-0">{{. | markdownify}}</p>
{{end}} {{end}}

View file

@ -2,7 +2,7 @@
<div class="container section"> <div class="container section">
<div class="row"> <div class="row">
<div class="col-lg-8 text-center mx-auto"> <div class="col-lg-8 text-center mx-auto">
<h1 class="text-white mb-3"> <h1 class="text-white mb-3 main-title">
{{ .Site.Params.banner.title | markdownify }} {{ .Site.Params.banner.title | markdownify }}
</h1> </h1>
<p class="text-white mb-4"> <p class="text-white mb-4">