This commit is contained in:
Kevin Tessier 2019-06-05 14:33:24 +02:00
parent 0fa4bd166c
commit a5d55495fa
4 changed files with 27 additions and 15 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -70,12 +70,24 @@
.bandeau{
width: 100%;
height: auto;
overflow: hidden;
display: flex;
position: relative;
&::before{
position: absolute;
display: block;
content: ' ';
background-image: url('/user/themes/lecampus/images/Trame-bleu.svg');
background-repeat: no-repeat;
background-position: center;
background-size: cover;
width: 100%;
height: 100%;
top: 0;
z-index: -1;
}
.img{
width: 70%;
margin: auto;
}
.title_gal{
position: absolute;
right: 25%;
@ -91,10 +103,6 @@
line-height: 2.2rem;
}
}
img{
width: 70%;
margin: auto;
}
}
.container{

View File

@ -24,7 +24,9 @@
{% set image = page.media.images|first %}
{% if image %}
<div class="bandeau">
<div class="img">
{{ image.html('','bandeau') }}
</div>
{% if header.txtimg.text %}
<div class="title_gal">
<p>{{header.txtimg.text}}</p>