mediaquerries
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
$header-height : 150px;
|
||||
$header-height-pad : 110px;
|
||||
$header-height-small : 70px;
|
||||
$width-menu-slidedown : 550px;
|
||||
|
||||
.layout-container {
|
||||
|
@@ -13,7 +13,7 @@
|
||||
// width: 70%;
|
||||
// margin: auto;
|
||||
@media(max-width: 891px){
|
||||
width: 90%;
|
||||
// width: 90%;
|
||||
}
|
||||
@media (max-width:500px) {
|
||||
padding-top: 0;
|
||||
@@ -29,12 +29,22 @@
|
||||
|
||||
.field_body{
|
||||
padding-left: 20%;
|
||||
width: 80%;
|
||||
padding-right: 20%;
|
||||
@media (max-width:640px) {
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
}
|
||||
|
||||
// width: 80%;
|
||||
h2{
|
||||
font-size: $font-medium;
|
||||
font-weight: 600;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
img{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
p{
|
||||
margin-top: 0;
|
||||
}
|
||||
@@ -44,6 +54,10 @@
|
||||
padding-bottom: 1rem;
|
||||
padding-left: 20%;
|
||||
padding-right: 20%;
|
||||
@media (max-width:640px) {
|
||||
padding-left: 10%;
|
||||
padding-right: 10%;
|
||||
}
|
||||
|
||||
}
|
||||
.field_field_textes{
|
||||
@@ -108,6 +122,9 @@
|
||||
img{
|
||||
width: 40px;
|
||||
height: auto;
|
||||
@media(max-width: 891px){
|
||||
width: 30px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#paragraph-id--9{
|
||||
@@ -171,6 +188,8 @@
|
||||
font-weight: 800;
|
||||
&:nth-child(2){
|
||||
margin-left: 50px;
|
||||
align-self: center;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -7,12 +7,17 @@
|
||||
section{width: fit-content;}
|
||||
h2, ul{margin: 0;}
|
||||
border-top: 1px solid #808080;
|
||||
@media(max-width: 891px){
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
|
||||
#footer-left{
|
||||
grid-column: 1 /span 5;
|
||||
grid-row: 1;
|
||||
padding-left: 40px;
|
||||
padding-left: 5%;
|
||||
.footer_left_container{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
@@ -20,11 +25,17 @@
|
||||
|
||||
}
|
||||
#block-quartiers-de-demain-logoepau{
|
||||
height: $header-height;
|
||||
height: $header-height;
|
||||
@media(max-width: 891px){
|
||||
height: $header-height-pad;
|
||||
}
|
||||
}
|
||||
img{
|
||||
width: auto;
|
||||
height: $header-height;
|
||||
height: $header-height;
|
||||
@media(max-width: 891px){
|
||||
height: $header-height-pad;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,6 +47,11 @@
|
||||
ul li{
|
||||
padding-bottom: 0.2rem;
|
||||
}
|
||||
@media(max-width: 891px){
|
||||
ul{
|
||||
padding-left: 00.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#footer-right{
|
||||
|
@@ -3,7 +3,7 @@ header{
|
||||
grid-template-columns: repeat(12, 1fr);
|
||||
grid-gap: 10px;
|
||||
grid-template-rows: repeat(3, 1fr);
|
||||
height: 150px;
|
||||
height: $header-height;
|
||||
background-color: $white-header;
|
||||
z-index: 99;
|
||||
width: 100vw;
|
||||
@@ -13,9 +13,11 @@ header{
|
||||
position: relative;
|
||||
top: 0;
|
||||
border-bottom: 1px solid #808080;
|
||||
@media (max-width:800px) {
|
||||
width: 800px;
|
||||
@media (max-width:810px) {
|
||||
// width: 800px;
|
||||
height: $header-height-pad;
|
||||
}
|
||||
@media (max-width:360px) { }
|
||||
.contextual-region{
|
||||
width: max-content;
|
||||
}
|
||||
@@ -26,20 +28,29 @@ header{
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border-right: 1px solid #808080;
|
||||
padding-left: 40px;
|
||||
padding-left: 5%;
|
||||
|
||||
#block-quartiers-de-demain-logorepu-2{
|
||||
@media(max-width: 891px){
|
||||
height: $header-height-pad;
|
||||
}
|
||||
}
|
||||
#block-quartiers-de-demain-logoepau-2{
|
||||
height: $header-height;
|
||||
@media(max-width: 891px){
|
||||
height: $header-height-pad;
|
||||
}
|
||||
}
|
||||
#block-quartiers-de-demain-logoquartiersdedemain{
|
||||
margin-left: auto;
|
||||
padding-right: 50px;
|
||||
padding-right: 5%;
|
||||
}
|
||||
img{
|
||||
width: auto;
|
||||
height: $header-height;
|
||||
@media(max-width: 891px){
|
||||
height: $header-height-pad;
|
||||
}
|
||||
}
|
||||
}
|
||||
.header_right_container{
|
||||
|
@@ -28,6 +28,6 @@
|
||||
/*pages*/
|
||||
|
||||
@import "pages/partenaires";
|
||||
@import "pages/_presentation";
|
||||
@import "pages/presentation";
|
||||
@import "pages/static";
|
||||
|
||||
|
Reference in New Issue
Block a user