feat: Ajustement des marges
This commit is contained in:
@ -3,9 +3,9 @@
|
||||
{{ if $data.feature.feature.enable }}
|
||||
{{ with $data.feature.feature }}
|
||||
{{"<!-- feature -->" | safeHTML}}
|
||||
<section class="section section-bg p-3" id="feature">
|
||||
<section class="section section-bg" id="feature">
|
||||
<div class="container-fluid">
|
||||
<div class="row justify-content-center align-items-center">
|
||||
<div class="row justify-content-center align-items-center p-3">
|
||||
<div class="col-12 col-md-2 m-md-0 m-5 m-md-3" style="height: 150px; background-image: url('{{ .image_webp | absURL }}'); background-size: contain; background-position: center; background-repeat: no-repeat; ">
|
||||
<!-- this image is for trigger this section fallback background image -->
|
||||
<img src="{{ .image_webp | absURL }}" style="display: none;" onerror="this.onerror=null;this.parentElement.style.backgroundImage= 'url({{ .image | absURL }})'" loading="lazy">
|
||||
@ -15,7 +15,7 @@
|
||||
<h2>{{ .title | markdownify }}</h2>
|
||||
<p>{{ .content | markdownify }}</p>
|
||||
{{ with .call_to_action }}
|
||||
<div class="text-center text-md-left">
|
||||
<div class="text-center text-md-left pt-3 px-3">
|
||||
<a class="btn btn-primary" href="{{ .link | safeURL }}">{{ .text }}</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user