fix cta displaying
This commit is contained in:
@@ -391,19 +391,10 @@ em {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nav {
|
nav {
|
||||||
margin-top:3rem;
|
margin-top: 1%;
|
||||||
font-size:1.6em;
|
font-size: 1.6em;
|
||||||
animation: adjustMargin 10s forwards;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes adjustMargin {
|
|
||||||
0% {
|
|
||||||
margin-top: 3rem;
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
margin-top: 1rem;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
nav a,
|
nav a,
|
||||||
nav a:focus,
|
nav a:focus,
|
||||||
nav a:hover {
|
nav a:hover {
|
||||||
|
|||||||
@@ -1,6 +1,21 @@
|
|||||||
{% extends 'partials/base.html.twig' %}
|
{% extends 'partials/base.html.twig' %}
|
||||||
{% set hero_image = page.media.images|first %}
|
{% set hero_image = page.media.images|first %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
<style>
|
||||||
|
.nav {
|
||||||
|
margin-top:3rem;
|
||||||
|
font-size:1.6em;
|
||||||
|
animation: adjustMargin 10s forwards;
|
||||||
|
}
|
||||||
|
@keyframes adjustMargin {
|
||||||
|
0% {
|
||||||
|
margin-top: 3rem;
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
<div class="profile">
|
<div class="profile">
|
||||||
{{ hero_image.html(meta.title|e, meta.alt_text|e, 'img-profile')|absolute_url|raw }}
|
{{ hero_image.html(meta.title|e, meta.alt_text|e, 'img-profile')|absolute_url|raw }}
|
||||||
|
|||||||
@@ -94,7 +94,7 @@
|
|||||||
<body id="top"{% if page.header.onload %} onload='{{ page.header.onload|raw }}'{% endif %}>
|
<body id="top"{% if page.header.onload %} onload='{{ page.header.onload|raw }}'{% endif %}>
|
||||||
|
|
||||||
{# CTA banner #}
|
{# CTA banner #}
|
||||||
{% if base_url_relative == '/' %}
|
{% if base_url_relative == '' %}
|
||||||
<div class="cta">{% include 'partials/cta.html.twig' %}</div>
|
<div class="cta">{% include 'partials/cta.html.twig' %}</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user