css header footer

This commit is contained in:
ouidade 2024-02-29 10:41:42 +01:00
parent 9a98660f0d
commit 855ae0fa5e
5 changed files with 73 additions and 60 deletions

View File

@ -98,7 +98,7 @@
font-family: "Marianne", sans-serif; font-family: "Marianne", sans-serif;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
font-size: 0.6rem; font-size: 0.8rem;
top: 0%; top: 0%;
left: 0%; left: 0%;
overflow: hidden; overflow: hidden;
@ -165,17 +165,21 @@ header {
grid-row: 1 /span 3; grid-row: 1 /span 3;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
border-right: 1px solid #808080; } border-right: 1px solid #808080;
padding-left: 40px; }
header .header_left_container #block-quartiers-de-demain-logoepau-2 { header .header_left_container #block-quartiers-de-demain-logoepau-2 {
height: 150px; } height: 150px; }
header .header_left_container img { header .header_left_container img {
width: 150px; width: auto;
height: auto; } height: 150px; }
header .language-switcher-language-url ul { header .header_right_container {
padding-right: 10px; }
header .header_right_container .language-switcher-language-url ul {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-size: 0.8rem; } font-size: 0.8rem;
header .language-switcher-language-url ul li:nth-child(1)::after { padding: 0; }
header .header_right_container .language-switcher-language-url ul li:nth-child(1)::after {
content: "/"; } content: "/"; }
header .header_nav_container { header .header_nav_container {
display: none; display: none;
@ -233,8 +237,7 @@ header {
grid-template-columns: repeat(12, 1fr); grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(1, 1fr); grid-template-rows: repeat(1, 1fr);
background-color: white; background-color: white;
padding-top: 3rem; padding-top: 1rem;
font-size: 0.6rem;
border-top: 1px solid #808080; } border-top: 1px solid #808080; }
.footer section { .footer section {
width: fit-content; } width: fit-content; }
@ -242,26 +245,36 @@ header {
margin: 0; } margin: 0; }
.footer #footer-left { .footer #footer-left {
grid-column: 1 /span 5; grid-column: 1 /span 5;
grid-row: 1; } grid-row: 1;
padding-left: 40px; }
.footer #footer-left .footer_left_container { .footer #footer-left .footer_left_container {
display: flex; display: flex;
flex-direction: row; } flex-direction: row; }
.footer #footer-left .footer_left_container #block-quartiers-de-demain-logoepau { .footer #footer-left .footer_left_container #block-quartiers-de-demain-logoepau {
height: 150px; } height: 150px; }
.footer #footer-left .footer_left_container img { .footer #footer-left .footer_left_container img {
width: 150px; width: auto;
height: auto; } height: 150px; }
.footer #footer-middle { .footer #footer-middle {
grid-column: 6 /span 7; grid-column: 6 /span 7;
grid-row: 1; } grid-row: 1; }
.footer #footer-middle #block-quartiers-de-demain-pieddepage-2-menu { .footer #footer-middle #block-quartiers-de-demain-pieddepage ul li {
display: none; } padding-bottom: 0.2rem; }
.footer #footer-right { .footer #footer-right {
grid-column: 9 /span 12; grid-column: 10 / 12;
grid-row: 1; grid-row: 1; }
font-size: 0.6rem; }
.footer #footer-right #block-quartiers-de-demain-socialmedialinks { .footer #footer-right #block-quartiers-de-demain-socialmedialinks {
flex-direction: column; } flex-direction: column; }
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
display: flex;
flex-direction: column;
font-size: 0.8rem;
font-weight: 400;
padding-bottom: 1rem; }
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2::before {
content: "Nous contacter";
padding-bottom: 1rem;
font-weight: 600; }
@media (max-width: 891px) { @media (max-width: 891px) {
.footer div { .footer div {
flex-wrap: wrap; } } flex-wrap: wrap; } }
@ -344,7 +357,7 @@ header {
grid-column: 3 /span 9; grid-column: 3 /span 9;
grid-row: 2; } grid-row: 2; }
.node-type-static .content_container article.node-type-static div.field_body h2 { .node-type-static .content_container article.node-type-static div.field_body h2 {
font-size: 0.6rem; font-size: 0.8rem;
font-weight: 600; font-weight: 600;
margin-bottom: 0; } margin-bottom: 0; }
.node-type-static .content_container article.node-type-static div.field_body p { .node-type-static .content_container article.node-type-static div.field_body p {

View File

@ -9,7 +9,7 @@ $width-menu-slidedown : 550px;
font-family: $font-family-default; font-family: $font-family-default;
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
font-size: $font-normal; font-size: $font-medium;
top: 0%; top: 0%;
left: 0%; left: 0%;
// width: 100%; // width: 100%;

View File

@ -19,7 +19,7 @@
div.field_body{ div.field_body{
h2{ h2{
font-size: $font-normal; font-size: $font-medium;
font-weight: 600; font-weight: 600;
margin-bottom: 0; margin-bottom: 0;
} }

View File

@ -2,10 +2,8 @@
display: grid; display: grid;
grid-template-columns: repeat(12, 1fr); grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(1, 1fr); grid-template-rows: repeat(1, 1fr);
// grid-gap: 10px;
background-color: $white-header; background-color: $white-header;
padding-top: 3rem; padding-top: 1rem;
font-size: $font-normal;
section{width: fit-content;} section{width: fit-content;}
h2, ul{margin: 0;} h2, ul{margin: 0;}
border-top: 1px solid #808080; border-top: 1px solid #808080;
@ -14,6 +12,7 @@
#footer-left{ #footer-left{
grid-column: 1 /span 5; grid-column: 1 /span 5;
grid-row: 1; grid-row: 1;
padding-left: 40px;
.footer_left_container{ .footer_left_container{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -24,8 +23,8 @@
height: $header-height; height: $header-height;
} }
img{ img{
width: $header-height; width: auto;
height: auto; height: $header-height;
} }
} }
@ -33,25 +32,34 @@
#footer-middle{ #footer-middle{
grid-column: 6 /span 7; grid-column: 6 /span 7;
grid-row: 1; grid-row: 1;
#block-quartiers-de-demain-pieddepage-2-menu{ #block-quartiers-de-demain-pieddepage{
display: none; ul li{
padding-bottom: 0.2rem;
}
} }
} }
#footer-right{ #footer-right{
grid-column: 9 /span 12; grid-column: 10 / 12;
grid-row: 1; grid-row: 1;
font-size: $font-normal;
#block-quartiers-de-demain-socialmedialinks{ #block-quartiers-de-demain-socialmedialinks{
flex-direction: column; flex-direction: column;
h2{
display: flex;
flex-direction: column;
font-size: $font-medium;
font-weight: 400;
&::before{
content: "Nous contacter";
padding-bottom: 1rem;
font-weight: 600;
}
padding-bottom: 1rem;
}
} }
} }
div{ div{
// display: flex;
// flex-direction: row;
@media(max-width: 891px){ @media(max-width: 891px){
// // flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
} }
@media(max-width: 520px){ @media(max-width: 520px){

View File

@ -14,45 +14,39 @@ header{
top: 0; top: 0;
border-bottom: 1px solid #808080; border-bottom: 1px solid #808080;
@media (max-width:800px) { @media (max-width:800px) {
// height: 100px;
width: 800px; width: 800px;
} }
.contextual-region{ .contextual-region{
width: max-content; width: max-content;
} }
.header_left_container{ .header_left_container{
grid-column: 1 /span 11; grid-column: 1 /span 11;
grid-row: 1 /span 3; grid-row: 1 /span 3;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
border-right: 1px solid #808080; border-right: 1px solid #808080;
padding-left: 40px;
// width: ;
#block-quartiers-de-demain-logorepu-2{ #block-quartiers-de-demain-logorepu-2{
// max-height: 90%;
// height: $header-height;
} }
#block-quartiers-de-demain-logoepau-2{ #block-quartiers-de-demain-logoepau-2{
// max-height: 50px;
height: $header-height; height: $header-height;
} }
img{ img{
// width: auto; width: auto;
// height: $header-height; height: $header-height;
width: $header-height;
height: auto;
} }
} }
.header_right_container{
padding-right: 10px;
.language-switcher-language-url{ .language-switcher-language-url{
ul{ ul{
display: flex; display: flex;
flex-direction: row; flex-direction: row;
font-size: $font-medium; font-size: $font-medium;
padding: 0;
li:nth-child(1){ li:nth-child(1){
&::after{ &::after{
content: "/"; content: "/";
@ -60,12 +54,10 @@ header{
} }
} }
} }
}
.header_nav_container{ .header_nav_container{
display: none; display: none;
// display: grid;
// grid-template-columns: repeat(12, 1fr);
// grid-gap: 10px;
grid-row: 3; grid-row: 3;
grid-column: 1 /span 12; grid-column: 1 /span 12;