css header & footer

This commit is contained in:
2023-11-23 11:20:35 +01:00
parent 19320aa20a
commit fd3f2e013f
8 changed files with 257 additions and 91 deletions
+73 -24
View File
@@ -150,31 +150,63 @@ header {
top: 0;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; }
header div {
display: flex;
flex-direction: row;
justify-content: space-between; }
display: inline-grid;
align-items: center;
grid-template-columns: repeat(10, 1fr); }
header div #block-reha-logoministere {
width: fit-content; }
grid-column: 1;
width: fit-content;
padding-left: 4rem;
height: 150px; }
header div #block-reha-logoreha {
max-height: 90%; }
grid-column: 2;
max-height: 90%;
height: 150px; }
header div #block-reha-logoreha .field--name-field-logo {
height: 150px; }
header div #block-reha-logoreha .field--name-field-logo .field__item {
height: 150px; }
header div #block-reha-logoreha .field--name-field-logo .field__item img {
height: 150px;
width: fit-content; }
header div #block-reha-connexionutilisateur {
grid-column: 9;
display: flex;
flex-direction: column;
width: 15%;
height: 150px; }
header div #block-reha-connexionutilisateur .bouton-connexion {
padding-right: 3rem; }
header div #block-reha-connexionutilisateur .bouton-connexion :before {
content: url(../images/noun-contact-2495375.svg);
padding-right: 1rem; }
header div #block-reha-connexionutilisateur .user-login-form {
display: none; }
display: none;
background-color: white;
width: 100%;
height: 100vh;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
clip-path: inset(0px -10px -10px -10px);
padding: 5% 10% 5% 5%; }
header div #block-reha-connexionutilisateur ul {
display: none; }
display: none;
background-color: white;
width: 100%;
height: 100vh;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
clip-path: inset(0px -10px -10px -10px);
padding: 5% 10% 5% 5%; }
header div #block-reha-config-pages {
width: 35%;
grid-column: 10;
display: flex;
flex-direction: column;
height: 150px; }
header div #block-reha-config-pages .bouton {
align-self: flex-end;
width: 50%; }
header div #block-reha-config-pages .bouton-contact {
padding-right: 4rem; }
header div #block-reha-config-pages .bouton-contact ::before {
content: url(../images/noun-letter-1064628.svg);
padding-right: 1rem; }
header div #block-reha-config-pages .config_pages--contact--full {
float: right;
display: none;
/* Cacher initialement le contenu */
height: 0;
@@ -191,32 +223,49 @@ header {
clip-path: inset(0px -10px -10px -10px); }
header div #block-reha-config-pages .field--type-text-long .field__item {
padding: 5% 10% 5% 5%; }
header .bouton {
align-self: flex-end;
width: fit-content; }
header .bouton h2 {
text-transform: lowercase;
display: inline-flex; }
footer {
background-color: white;
padding-top: 3rem;
font-family: "Marianne";
font-weight: 800; }
font-weight: 800;
font-size: 1.3rem;
text-transform: lowercase; }
footer h2 {
font-size: 1.3rem; }
footer div {
display: flex;
flex: 1 1 120px;
flex-direction: row; }
footer div h2 {
font-family: 'Marianne'; }
display: grid;
grid-template-columns: repeat(10, 1fr); }
#block-reha-logoreha-2 {
grid-column: 2;
grid-row: 1; }
#block-reha-pieddepage {
font-size: 1.5rem; }
grid-column: 2;
grid-row: 3; }
#block-reha-pieddepage ul {
padding-left: 0; }
#block-reha-operateurduprogramme {
grid-column: 4 /span 5;
grid-row: 1 /span 3;
display: flex;
flex-direction: column;
border-left: #fdc300 solid 5px;
border-right: #fdc300 solid 5px;
padding-left: 3rem; }
padding-left: 1rem; }
#block-reha-config-pages-2 {
margin-left: 3rem;
border: none;
width: 20%;
grid-column: 6 /span 10;
grid-row: 1 /span 3;
border-left: #fdc300 solid 5px;
padding-left: 1rem;
display: flex;
flex-direction: column; }