1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-22 01:36:55 +01:00

CTA section fixes

This commit is contained in:
Matthias Kretschmann 2018-04-10 17:50:24 +02:00
parent d53217c14e
commit 61d58abd54
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 16 additions and 5 deletions

View File

@ -1,5 +1,10 @@
.section-cta--services { .section-cta--services {
@media ($screen-md) {
padding-top: $spacer * 7;
padding-bottom: $spacer * 7;
}
.logo-services { .logo-services {
margin-bottom: $spacer; margin-bottom: $spacer;
transform: scale(.8); transform: scale(.8);

View File

@ -1,12 +1,18 @@
{% if layout %}
{% assign context = layout %}
{% else %}
{% assign context = page %}
{% endif %}
<section class="section section-cta background--photo text-center"> <section class="section section-cta background--photo text-center">
<div class="row"> <div class="row">
<header class="section-header"> <header class="section-header">
<h1 class="section-title">{{ page.cta.title }}</h1> <h1 class="section-title">{{ context.cta.title }}</h1>
<p class="section-description">{{ page.cta.description }}</p> <p class="section-description">{{ context.cta.description }}</p>
</header> </header>
<a class="btn btn-primary" href="{{ page.cta.button_link }}"> <a class="btn btn-primary" href="{{ context.cta.button_link }}">
{{ page.cta.button }} {{ context.cta.button }}
</a> </a>
</div> </div>
</section> </section>

View File

@ -43,7 +43,7 @@ layout: base
</div> </div>
</div> </div>
<div class="row text-center"> <div class="row text-center">
<a class="btn btn-primary" href="{% link developers/guide.html %}">All guides</a> <a class="btn btn-primary" href="{% link developers/guide.html %}">All chapters</a>
</div> </div>
</section> </section>