responsive page site
This commit is contained in:
parent
ab4fda5d0a
commit
e0fadca980
|
@ -407,7 +407,7 @@ header .header_nav_container #block-quartiers-de-demain-entete ul {
|
||||||
}
|
}
|
||||||
@media (max-width: 1090px) {
|
@media (max-width: 1090px) {
|
||||||
header .header_nav_container #block-quartiers-de-demain-entete ul li {
|
header .header_nav_container #block-quartiers-de-demain-entete ul li {
|
||||||
padding-top: 0.3rem;
|
padding-top: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
||||||
|
@ -417,7 +417,7 @@ header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
||||||
}
|
}
|
||||||
@media (max-width: 1090px) {
|
@media (max-width: 1090px) {
|
||||||
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
||||||
font-size: 0.6rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
|
@ -425,13 +425,12 @@ header .header_nav_container #block-quartiers-de-demain-entete ul li a {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 0.9rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
header .header_nav_container #block-quartiers-de-demain-entete ul li:not(:last-of-type) ::after {
|
header .header_nav_container #block-quartiers-de-demain-entete ul li:not(:last-of-type) ::after {
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
width: 80px;
|
|
||||||
border-bottom: solid white 1px;
|
border-bottom: solid white 1px;
|
||||||
padding-bottom: 0.3rem;
|
padding-bottom: 0.3rem;
|
||||||
}
|
}
|
||||||
|
@ -580,11 +579,6 @@ footer {
|
||||||
.footer #footer-left .footer_left_container .logo-qdd {
|
.footer #footer-left .footer_left_container .logo-qdd {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@media (max-width: 500px) {
|
|
||||||
.footer #footer-left .footer_left_container {
|
|
||||||
padding-left: 15%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.footer #footer-left .footer_left_container #block-quartiers-de-demain-logoepau {
|
.footer #footer-left .footer_left_container #block-quartiers-de-demain-logoepau {
|
||||||
height: fit-content;
|
height: fit-content;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
|
@ -629,6 +623,9 @@ footer {
|
||||||
padding-bottom: 0.2rem;
|
padding-bottom: 0.2rem;
|
||||||
}
|
}
|
||||||
@media (max-width: 700px) {
|
@media (max-width: 700px) {
|
||||||
|
.footer #footer-middle #block-quartiers-de-demain-pieddepage {
|
||||||
|
padding-left: 40px;
|
||||||
|
}
|
||||||
.footer #footer-middle #block-quartiers-de-demain-pieddepage ul {
|
.footer #footer-middle #block-quartiers-de-demain-pieddepage ul {
|
||||||
padding-left: 0rem;
|
padding-left: 0rem;
|
||||||
}
|
}
|
||||||
|
@ -650,6 +647,11 @@ footer {
|
||||||
.footer #footer-right #block-quartiers-de-demain-socialmedialinks {
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks {
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -657,6 +659,11 @@ footer {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 700px) {
|
||||||
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks h2 {
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.footer #footer-right #block-quartiers-de-demain-socialmedialinks li {
|
.footer #footer-right #block-quartiers-de-demain-socialmedialinks li {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
@ -2814,6 +2821,13 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
.node-type-site .layout--threecol-25-50-25 {
|
.node-type-site .layout--threecol-25-50-25 {
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first {
|
||||||
flex: 1 0 20%;
|
flex: 1 0 20%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -2823,6 +2837,11 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first .block-region-first {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first .block-region-first {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) {
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) h2, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) .field--label-above, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) span:not(.file) {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) h2, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) .field--label-above, .node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) span:not(.file) {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -2832,6 +2851,11 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) .file--mime-application-pdf {
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) .file--mime-application-pdf a {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first div:has(.field_field_documents) .file--mime-application-pdf a {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 0.5rem 0.3rem;
|
padding: 0.5rem 0.3rem;
|
||||||
|
@ -2843,6 +2867,12 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first .field_field_liens_site div div {
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--first .field_field_liens_site div div a {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--first .field_field_liens_site div div a {
|
||||||
color: white;
|
color: white;
|
||||||
padding: 0.5rem 0.3rem;
|
padding: 0.5rem 0.3rem;
|
||||||
|
@ -2856,6 +2886,12 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: 2.5rem;
|
margin-left: 2.5rem;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second {
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_title,
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_title,
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_numero,
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_numero,
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_sous_titre {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .field_field_sous_titre {
|
||||||
|
@ -2930,6 +2966,11 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) {
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) .paragraph--type--site-parts .field_field_titre_site {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second div:has(.field_field_parties) .paragraph--type--site-parts .field_field_titre_site {
|
||||||
font-family: "gilroy-semibold";
|
font-family: "gilroy-semibold";
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
|
@ -2944,6 +2985,11 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-diapo .field_field_images .diaporama {
|
||||||
|
flex-direction: column !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-diapo .field_field_images .diaporama .cadre-img-zoom {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--second .block-region-second .paragraph--type--site-diapo .field_field_images .diaporama .cadre-img-zoom {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
@ -2959,10 +3005,22 @@ header #block-quartiers-de-demain-logoquartiersdedemain .field_field_logo .qdd-h
|
||||||
font-size: 0.3rem;
|
font-size: 0.3rem;
|
||||||
font-family: "gilroy-light";
|
font-family: "gilroy-light";
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--third {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
|
@media (max-width: 500px) {
|
||||||
|
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
}
|
||||||
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div .prev-site {
|
.node-type-site .layout--threecol-25-50-25 .layout__region--third .block-region-third div .prev-site {
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,6 +8,11 @@
|
||||||
}
|
}
|
||||||
.layout--threecol-25-50-25{
|
.layout--threecol-25-50-25{
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.layout__region--first{
|
.layout__region--first{
|
||||||
flex: 1 0 20%;
|
flex: 1 0 20%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -20,6 +25,9 @@
|
||||||
// width: fit-content;
|
// width: fit-content;
|
||||||
}
|
}
|
||||||
div:has(.field_field_documents){
|
div:has(.field_field_documents){
|
||||||
|
@media(max-width: 500px){
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
h2, .field--label-above, span:not(.file){
|
h2, .field--label-above, span:not(.file){
|
||||||
display: none;
|
display: none;
|
||||||
|
@ -29,6 +37,9 @@
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
a{
|
a{
|
||||||
color: white;
|
color: white;
|
||||||
padding: 0.5rem 0.3rem;
|
padding: 0.5rem 0.3rem;
|
||||||
|
@ -42,6 +53,10 @@
|
||||||
font-size: 0.4rem;
|
font-size: 0.4rem;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
margin-top: 0.5rem;
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
a{
|
a{
|
||||||
color: white;
|
color: white;
|
||||||
padding: 0.5rem 0.3rem;
|
padding: 0.5rem 0.3rem;
|
||||||
|
@ -55,6 +70,10 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
margin-left: 2.5rem;
|
margin-left: 2.5rem;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
margin-left: 0.5rem;
|
||||||
|
margin-top: 1rem;
|
||||||
|
}
|
||||||
.field_title,
|
.field_title,
|
||||||
.field_field_numero,
|
.field_field_numero,
|
||||||
.field_field_sous_titre{
|
.field_field_sous_titre{
|
||||||
|
@ -143,6 +162,9 @@
|
||||||
|
|
||||||
div:has(.field_field_parties){
|
div:has(.field_field_parties){
|
||||||
margin-top: 2rem;
|
margin-top: 2rem;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.paragraph--type--site-parts{
|
.paragraph--type--site-parts{
|
||||||
|
|
||||||
.field_field_titre_site{
|
.field_field_titre_site{
|
||||||
|
@ -164,6 +186,9 @@
|
||||||
display: flex !important;
|
display: flex !important;
|
||||||
flex-direction: row !important;
|
flex-direction: row !important;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
flex-direction: column !important;
|
||||||
|
}
|
||||||
.cadre-img-zoom{
|
.cadre-img-zoom{
|
||||||
margin: auto;
|
margin: auto;
|
||||||
img{
|
img{
|
||||||
|
@ -190,10 +215,19 @@
|
||||||
|
|
||||||
|
|
||||||
.layout__region--third{
|
.layout__region--third{
|
||||||
|
@media(max-width: 500px){
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.block-region-third{
|
.block-region-third{
|
||||||
div{
|
div{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@media(max-width: 500px){
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
.prev-site{
|
.prev-site{
|
||||||
padding-right: 0.5rem;
|
padding-right: 0.5rem;
|
||||||
&::before{
|
&::before{
|
||||||
|
|
|
@ -41,7 +41,7 @@ footer{
|
||||||
// max-width: 50vw;
|
// max-width: 50vw;
|
||||||
}
|
}
|
||||||
@media (max-width: 500px){
|
@media (max-width: 500px){
|
||||||
padding-left: 15%;
|
// padding-left: 15%;
|
||||||
}
|
}
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
@ -94,6 +94,7 @@ footer{
|
||||||
padding-bottom: 0.2rem;
|
padding-bottom: 0.2rem;
|
||||||
}
|
}
|
||||||
@media(max-width: 700px){
|
@media(max-width: 700px){
|
||||||
|
padding-left: 40px;
|
||||||
ul{
|
ul{
|
||||||
padding-left: 0rem;
|
padding-left: 0rem;
|
||||||
}
|
}
|
||||||
|
@ -120,6 +121,9 @@ footer{
|
||||||
#block-quartiers-de-demain-socialmedialinks{
|
#block-quartiers-de-demain-socialmedialinks{
|
||||||
// display: none;
|
// display: none;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@media (max-width: 700px){
|
||||||
|
padding-left: 1rem;
|
||||||
|
}
|
||||||
h2{
|
h2{
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
@ -128,6 +132,9 @@ footer{
|
||||||
|
|
||||||
// padding-bottom: 0.6rem;
|
// padding-bottom: 0.6rem;
|
||||||
font-size: 0.6rem;
|
font-size: 0.6rem;
|
||||||
|
@media (max-width: 700px){
|
||||||
|
width: 50%;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// .fa-3x{
|
// .fa-3x{
|
||||||
|
|
|
@ -149,20 +149,20 @@ header{
|
||||||
}
|
}
|
||||||
li{
|
li{
|
||||||
@media(max-width: 1090px){
|
@media(max-width: 1090px){
|
||||||
padding-top: 0.3rem;
|
padding-top: 0.5rem;
|
||||||
}
|
}
|
||||||
a{
|
a{
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
color: white;
|
color: white;
|
||||||
font-size: 0.5rem;
|
font-size: 0.5rem;
|
||||||
@media(max-width:1090px){
|
@media(max-width:1090px){
|
||||||
font-size: 0.6rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
@media(max-width: 500px){
|
@media(max-width: 500px){
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 0.9rem;
|
font-size: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -170,7 +170,7 @@ header{
|
||||||
::after{
|
::after{
|
||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
width: 80px;
|
// width: 80px;
|
||||||
border-bottom: solid white 1px;
|
border-bottom: solid white 1px;
|
||||||
padding-bottom: 0.3rem;
|
padding-bottom: 0.3rem;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue