responsive tablet
This commit is contained in:
@@ -109,6 +109,18 @@
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
|
||||
.padding-horiz, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer, .fullwidth #header, .fullwidth #breadcrumbs, .fullwidth .blog-header, .fullwidth .blog-content-item, .fullwidth .content-wrapper, .fullwidth ul.pagination, .fullwidth #body > .modular-row, #body, #header, #footer {
|
||||
padding-left: 0!important;
|
||||
padding-right: 0rem !important;
|
||||
}
|
||||
|
||||
#header #navbar {
|
||||
padding-right: 2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.callout {
|
||||
padding-top: 0.5rem;
|
||||
|
||||
@@ -340,11 +352,15 @@
|
||||
|
||||
/*Style du module TEXTE*/
|
||||
.texte-cache {
|
||||
position: relative;
|
||||
|
||||
position: relative;
|
||||
max-height: 400px; /*Hauteur du texte visible avant le clic*/
|
||||
overflow: hidden; /*On cache tout ce qui dépasse des 400px*/
|
||||
transition: max-height 1s ease; /* Transition CSS entre l'ouverture et la fermeture*/
|
||||
@media (max-width: 1024px) {
|
||||
max-height: 445px;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/*Style du module TEXTE lorsqu'il est ouvert*/
|
||||
@@ -352,6 +368,7 @@
|
||||
max-height: 300vh; /* On lui définit une hauteur max de tout l'écran si nécessaire pour qu'il affiche tout son contenu*/
|
||||
}
|
||||
|
||||
|
||||
/*On stylise l'effet de flou lorsque le module TEXTE est fermé, donc il n'a pas la classe "ouvert"*/
|
||||
.texte-cache:not(.ouvert)::after {
|
||||
content: '';
|
||||
@@ -361,6 +378,21 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
// background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); /*Couleur de notre effet*/
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.modular .features {
|
||||
|
||||
width: 80% !important;
|
||||
margin-left: 8rem !important;
|
||||
}
|
||||
.modular .features .feature {
|
||||
width: 24% !important;
|
||||
// margin-bottom: 10rem;
|
||||
}
|
||||
}
|
||||
|
||||
.bouton-ouverture {
|
||||
@@ -633,6 +665,26 @@
|
||||
}
|
||||
|
||||
}
|
||||
@media (max-width: 1024px) {
|
||||
transform: translateX(-50%) translateY(-50%);
|
||||
width: 75%;
|
||||
height: 65%;
|
||||
overflow-y: scroll;
|
||||
a.close {
|
||||
font-size: 0.8rem;
|
||||
position: absolute;
|
||||
right: 2%;
|
||||
top:0.8%;
|
||||
}
|
||||
p {
|
||||
font-size: 0.8rem;
|
||||
margin-top: 0;
|
||||
}
|
||||
.message{
|
||||
padding: 5% 5% 5% 5%;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -742,6 +794,40 @@
|
||||
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.footer {
|
||||
|
||||
.contact {
|
||||
img {
|
||||
max-height: 1.5rem;
|
||||
}
|
||||
h6 {
|
||||
font-size:0.8rem;
|
||||
}
|
||||
p {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
svg {
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
}
|
||||
.footer-logos {
|
||||
|
||||
img {
|
||||
padding: 0.5rem;
|
||||
|
||||
&:last-of-type {
|
||||
padding: 0.8rem;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.tothetop {
|
||||
bottom: $footer-height + 8rem;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user