Browse Source

Accueil : bloc call to action

master
jeanmarie 6 months ago
parent
commit
cd7a1c8be8
  1. 3
      css/html5up_twenty.spip.css.html
  2. 3
      formulaires/configurer_html5up_twenty.html
  3. 10
      inclure/sommaire-cta.html

3
css/html5up_twenty.spip.css.html

@ -40,8 +40,7 @@ img {max-width: 100%; height: auto;}
#banner .inner header h1 { border-bottom: solid 2px; border-top: solid 2px; font-size: 2.5em; font-weight: 900; letter-spacing: 0.2em; margin: 0;padding-left: 0.05em; }
#article_intro > div { margin: 1.5em auto 0 auto; max-width: 800px; }
#articles_focus a { display: block; color: #7c8081; border: 0; }
#cta p { margin: 0 auto 2em auto; max-width: 800px; }
/* DIVERS */
/* Le formulaire de recherche */

3
formulaires/configurer_html5up_twenty.html

@ -38,6 +38,9 @@
datas=<:html5up_twenty:accueil_rubrique_special_tri_datas:>,
label=<:html5up_twenty:accueil_rubrique_special_tri:>})]
[(#SAISIE{selecteur_article, article_cta_accueil,
label=<:html5up_twenty:article_cta_accueil:>,
explication=<:html5up_twenty:article_cta_accueil_explication:>})]
</div>
</fieldset>

10
inclure/sommaire-cta.html

@ -1,14 +1,16 @@
<BOUCLE_article_cta_accueil(ARTICLES) {id_article IN #CONFIG{html5up_twenty/article_cta_accueil}|picker_selected{article}}>
<section id="cta">
<header>
<h2>Ready to do <strong>something</strong>?</h2>
<p>Proin a ullamcorper elit, et sagittis turpis integer ut fermentum.</p>
<h2>#TITRE</h2>
</header>
#INTRODUCTION
<footer>
<ul class="buttons">
<li><a href="#" class="button primary">Take My Money</a></li>
<li><a href="#" class="button">LOL Wut</a></li>
<li><a href="#" class="button primary"><:zcore:lire_la_suite:></a></li>
</ul>
</footer>
</section>
</BOUCLE_article_cta_accueil>
Loading…
Cancel
Save