page presentation

This commit is contained in:
2020-07-20 12:21:20 +02:00
parent 5a031a63e5
commit 72d68fb74e
12 changed files with 115 additions and 33 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
parameters: parameters:
http.response.debug_cacheability_headers: true http.response.debug_cacheability_headers: true
twig.config: twig.config:
debug: true debug: false
auto_reload: true auto_reload: true
services: services:
cache.backend.null: cache.backend.null:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,20 @@
.more_link{
@include shadow;
}
#block-views-block-slide-programme-block-1,
#block-views-block-dernieres-publications-block-1{
.more_link{
margin: 0.5rem 0;
width: fit-content;
}
}
@media screen and (min-width: 576px) {
#block-views-block-slide-programme-block-1,
#block-views-block-dernieres-publications-block-1{
.more_link{
margin: 0;
}
}
}
@@ -12,7 +12,7 @@ body{
} }
} }
.__img-hero{ .__img-hero{
height: 500px; height: 300px;
img{ img{
width:100%; width:100%;
height: 100%; height: 100%;
@@ -20,6 +20,14 @@ body{
} }
} }
.__img-hero{
width: 100vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -50vw;
}
.participant_full{ .participant_full{
.hero{ .hero{
@@ -47,6 +55,17 @@ body{
} }
} }
@media screen and (min-width: 768px) {
.__img-hero{
height: 500px;
width: auto;
position: relative;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
}
}
@media screen and (min-width: 768px) { @media screen and (min-width: 768px) {
.participant_full{ .participant_full{
.hero{ .hero{
@@ -6,6 +6,17 @@ header{
background: white; background: white;
} }
@media screen and (min-width: 768px) {
main:not(.home){
margin-top: 5rem!important;
}
}
main:not(.home){
margin-top: 0rem;
}
img{ img{
width:100%; width:100%;
height: 100%; height: 100%;
@@ -66,13 +77,24 @@ h4{
} }
blockquote{ blockquote{
font-size: 2rem; margin: 2rem 1rem 2rem 1rem;
line-height: 1;
margin: 2rem;
color: $lightgrey; color: $lightgrey;
@include croix_or_B; @include croix_or_B;
p{
margin-top: 0.5rem;
}
} }
@media screen and (min-width: 768px) {
blockquote{
margin: 3.5rem 2rem 4rem 2rem;
p{
margin-top: 1rem;
}
}
}
.container{ .container{
&.programme{ &.programme{
margin-top: 3rem; margin-top: 3rem;
@@ -8,10 +8,6 @@
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.more_link{
margin: 0;
}
} }
} }
} }
@@ -35,10 +31,6 @@
section{ section{
.head{ .head{
display: block; display: block;
.more_link{
margin: 0.5rem 0;
width: fit-content;
}
} }
.thumbnails{ .thumbnails{
margin: 1rem; margin: 1rem;
@@ -41,6 +41,7 @@ h1,h2,h3,h4{
@import "components/slides/flickity.scss"; @import "components/slides/flickity.scss";
@import "components/slides/slides.scss"; @import "components/slides/slides.scss";
@import "components/thumbnails/thumbnails.scss"; @import "components/thumbnails/thumbnails.scss";
@import "components/btn/all_btn.scss";
main{ main{
// margin-top: $margin-hero; // margin-top: $margin-hero;
@@ -124,11 +124,19 @@ main{
blockquote{ blockquote{
p{ p{
font-family: 'cormorantBold'; font-family: 'cormorantBold';
font-size: 3rem; font-size: 2.5rem;
line-height: 3rem; line-height: 3rem;
font-weight: lighter; font-weight: lighter;
} }
} }
@media screen and (min-width: 768px) {
blockquote{
p{
font-size: 3rem;
line-height: 3.5rem;
}
}
}
p{ p{
font-size: 1rem; font-size: 1rem;
@@ -1,4 +1,4 @@
<div class="__rs d-flex justify-content-end d-md-block"> <div class="__rs d-flex d-md-block">
<div class="__mail"> <div class="__mail">
<a href="#"> <a href="#">
<img src="/themes/custom/popsu_colloque/images/mail.svg" alt="Mail"> <img src="/themes/custom/popsu_colloque/images/mail.svg" alt="Mail">
@@ -78,8 +78,8 @@
{{content.field_image}} {{content.field_image}}
</div> </div>
<div class="__wrapper row"> <div class="__wrapper row mt-4">
<div class="__title col-12 mt-3"> <div class="__title col-12 mb-5">
<h2>{{label}}</h2> <h2>{{label}}</h2>
</div> </div>
@@ -75,12 +75,12 @@
<div class="__img-hero"> <div class="__img-hero">
{{content.field_image}} {{content.field_image}}
</div> </div>
<article{{ attributes }} id="presentation"> <article{{ attributes }} class="mt-4" id="presentation">
<div class="__wrapper row"> <div class="__title col-12 px-0">
<div class="__title col-12 mt-3"> <h2>{{label}}</h2>
<h2>{{label}}</h2> </div>
</div> <div class="__wrapper row mt-5">
<div class="__wrap_side col-sm-12 col-md-1 p-0 mt-0 mb-3"> <div class="__wrap_side col-sm-12 col-md-1 pr-0 mt-0 mb-3">
{% include 'themes/custom/popsu_colloque/template/components/share_rs.html.twig' %} {% include 'themes/custom/popsu_colloque/template/components/share_rs.html.twig' %}
</div> </div>
<div class="__wrap_content col-sm-12 col-md-8"> <div class="__wrap_content col-sm-12 col-md-8">