change sous-titre event

This commit is contained in:
Tessier
2020-10-15 15:26:48 +02:00
parent d8b9162932
commit 8a54ec0b43
5 changed files with 39 additions and 37 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -28,7 +28,7 @@ header{
} }
} }
#block-renderedsitesettingsblock-2{ #block-renderedsitesettingsblock-2{
width: auto; width: 35%;
border-left: 1px solid $color1; border-left: 1px solid $color1;
padding: 0; padding: 0;
display: none; display: none;
@@ -38,36 +38,45 @@ header{
.site_setting_entity{ .site_setting_entity{
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: flex-start;
padding: 0 1rem 0 0rem; padding: 0 1rem 0 0rem;
h1{ h1{
max-width: 100%; width: 100%;
color: $color2; color: $color2;
padding-right: 1rem; padding-right: 1rem;
text-transform: uppercase; text-transform: uppercase;
text-align: right; text-align: right;
align-self: stretch; align-self: stretch;
margin: auto 0; margin: auto 0;
width: 100%;
} }
.__info_colloque{ .__info_colloque{
width: 100%; width: 50%;
align-self: stretch;
margin: auto 0;
height: 7vw;
height: auto; height: auto;
display: flex;
flex-direction: column;
// justify-content: space-between;
&>div{ &>div{
height: auto;
&:first-child{ &:first-child{
color: $color1;
white-space: nowrap; white-space: nowrap;
border-bottom: 2px solid $color1; border-bottom: 2px solid $color1;
padding-bottom: 0.4rem;
margin-bottom: 0.6rem;
}
&:last-child{
p{
color: $color2;
padding-right: 10px;
// width: min-content;
margin-bottom: 0;
}
} }
} }
} }
} }
} }
#block-mainnavigation{ #block-mainnavigation{
// max-width: max-content;
width: max-content; width: max-content;
.burger{ .burger{
padding-top: 0.25rem; padding-top: 0.25rem;
@@ -82,25 +82,18 @@
margin: auto; margin: auto;
} }
.__info_colloque{ .__info_colloque{
display: flex;
flex-direction: column;
justify-content: space-between;
& > div{ & > div{
height: auto;
&:first-child{ &:first-child{
font-family: 'truenoregular'; font-family: 'truenoregular';
color: $color1;
font-size: 0.9rem; font-size: 0.9rem;
padding-bottom: 0.4rem;
margin-bottom: 0.6rem;
} }
&:last-child{ &:last-child{
color: $color2; p{
font-family: 'truenoregular'; font-family: 'truenoregular';
font-weight: bold; font-weight: bold;
font-size: 0.7rem; font-size: 0.7rem;
line-height: 1; line-height: 1;
width: min-content; }
} }
} }
} }
@@ -20,7 +20,7 @@
{{- content.field_title_colloque -}} {{- content.field_title_colloque -}}
<div class="__info_colloque"> <div class="__info_colloque">
{{content.field_date_du_colloque}} {{content.field_date_du_colloque}}
{{content.field_sub_title_du_colloque}} {{content.field_field_sub_title_wysiwyg}}
</div> </div>
{% endif %} {% endif %}
</div> </div>