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

View File

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

View File

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

View File

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