mobile header & home

This commit is contained in:
2023-11-30 10:41:05 +01:00
parent 3ddf51ece0
commit e6d1cab224
4 changed files with 202 additions and 77 deletions
@@ -11,14 +11,21 @@ header{
position: sticky;
top: 0;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
// @media (max-width:800px) {
// height: 100px;
@media (max-width:800px) {
height: 100px;
width: 800px;
// }
}
.region-header{
display: inline-grid;
align-items: center;
grid-template-columns: repeat(10, 1fr) ;
@media (max-width:891px) {
display: flex;
flex-direction: row;
justify-content: space-between;
}
#block-reha-logoministere{
grid-column: 1;
@@ -68,6 +75,10 @@ header{
.bouton-connexion{
padding-right: 3rem;
// @media (max-width:891px) {
// font-size: 0.1rem;
// color: white;
// }
:before{
content: url(../images/noun-contact-2495375.svg);
padding-right: 1rem;
@@ -90,6 +101,9 @@ header{
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
clip-path: inset(0px -10px -10px -10px);
padding: 5% 10% 5% 5%;
@media (max-width:891px) {
top: 15px;
}
.titre{
width: 100%;
position: relative;
@@ -201,10 +215,24 @@ header{
height: 200vh;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
clip-path: inset(0px -10px -10px -10px);
@media(max-width: 891px){
right: 0px;
top: 100%;
width: 100vw;
padding-left: 0;
padding-top: 1rem;
height: fit-content;
}
.titre{
padding-left:3rem ;
::after{
left: 320px;
@media(max-width: 891px){
left: 242px;
}
}
}
}
.field__item{
@@ -219,6 +247,7 @@ header{
grid-column: 9;
.bouton-connected{
padding-right: 3rem;
:before{
content: url(../images/noun-contact-2495375.svg);
padding-right: 1rem;
@@ -279,6 +308,11 @@ header{
.bouton{
align-self: flex-end;
width: fit-content;
@media (max-width:891px) {
font-size: 0.1rem;
color: white;
padding-right: 0 !important;
}
h2{
text-transform: lowercase;
display: inline-flex;
@@ -296,7 +330,7 @@ header{
position: relative;
left: 90px;
cursor: pointer;
}
}
}