display flex-start

This commit is contained in:
ouidade 2024-05-08 16:17:50 +02:00
parent b77b34f124
commit e707a3c590
4 changed files with 11 additions and 4 deletions

View File

@ -617,7 +617,8 @@ footer {
padding-bottom: 1rem; } padding-bottom: 1rem; }
#presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2) { #presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2) {
display: flex; display: flex;
flex-direction: row; } flex-direction: row;
align-items: flex-start !important; }
@media (max-width: 500px) { @media (max-width: 500px) {
#presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2) { #presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--7 .field_field_texte div:nth-child(2) {
flex-direction: column; } } flex-direction: column; } }
@ -645,6 +646,8 @@ footer {
#presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2) { #presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2) {
display: flex; display: flex;
flex-direction: row; } flex-direction: row; }
#presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2).flex-start, #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2).flex-start {
align-items: flex-start !important; }
@media (max-width: 500px) { @media (max-width: 500px) {
#presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2) { #presentation .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2), #home .layout-content .content_container article.node-type-static .field_field_textes #paragraph-id--8 .field_field_texte div:nth-child(2) {
flex-direction: column; } } flex-direction: column; } }

View File

@ -27,7 +27,7 @@ function setLogoContainerSize() {
function startCountdown() { function startCountdown() {
let startTime; let startTime;
let animationTime = 800; let animationTime = 2000;
function animate(timestamp) { function animate(timestamp) {
if (!startTime) startTime = timestamp; if (!startTime) startTime = timestamp;

View File

@ -121,6 +121,7 @@
.field_field_texte div:nth-child(2){ .field_field_texte div:nth-child(2){
display: flex; display: flex;
flex-direction: row; flex-direction: row;
align-items: flex-start !important;
@media(max-width: 500px){ @media(max-width: 500px){
flex-direction: column; flex-direction: column;
} }
@ -146,7 +147,6 @@
} }
} }
#paragraph-id--8{ #paragraph-id--8{
padding-bottom: 4rem; padding-bottom: 4rem;
.field_field_title{ .field_field_title{
@ -156,6 +156,10 @@
.field_field_texte div:nth-child(2){ .field_field_texte div:nth-child(2){
display: flex; display: flex;
flex-direction: row; flex-direction: row;
&.flex-start{
align-items: flex-start !important;
}
@media(max-width: 500px){ @media(max-width: 500px){
flex-direction: column; flex-direction: column;
} }
@ -242,3 +246,4 @@

View File

@ -25,7 +25,6 @@
@import "partials/footer"; @import "partials/footer";
@import "partials/aside"; @import "partials/aside";
/*pages*/ /*pages*/
@import "pages/home"; @import "pages/home";
@import "pages/partenaires"; @import "pages/partenaires";