header dropdown not finnish

This commit is contained in:
2021-11-19 16:22:08 +01:00
parent 19e87e361a
commit a7718ef9be
8 changed files with 90 additions and 26 deletions
+33 -7
View File
@@ -302,7 +302,9 @@ a {
padding-left: 1rem; }
.view-display-id-block_2 .node-type-static .field--name-field-accroche p {
font-size: 1.5rem;
width: 110%; }
width: 110%;
margin: 0;
padding-bottom: 1rem; }
.field--name-field-partenaires {
display: flex;
@@ -319,6 +321,22 @@ a {
.field--name-field-partenaires .paragraph--type--partenaire .field--name-field-texte {
width: 70%; }
.node-type-actualite {
color: #09398b;
line-height: 1.5rem;
padding: 0.5rem; }
.node-type-actualite div:first-child {
display: flex;
flex-direction: column; }
.node-type-actualite div:first-child :nth-child(1) {
order: 1; }
.node-type-actualite div:first-child :nth-child(4) {
order: 2; }
.node-type-actualite div:first-child :nth-child(5) {
order: 3; }
.node-type-actualite div:first-child a {
color: #09398b; }
/*partials*/
.layout-container {
position: absolute; }
@@ -329,7 +347,7 @@ header {
top: 0; }
#header-top {
height: 7rem;
height: fit-content;
background-color: white;
box-shadow: 1px 0px 8px black;
display: flex;
@@ -354,10 +372,18 @@ header {
#header-top .region-header-top-left ul li .is-active {
color: #009ee3; }
#header-top .region-header-top-left ul .ul2 {
flex-direction: column; }
#header-top .region-header-top-left :hover {
color: #009ee3; }
#header-top li ul {
flex-direction: column;
display: none; }
#header-top .region-header-top-left ul :hover {
color: #009ee3; }
#header-top .region-header-top-left li:not(ul):not(.ul2) {
display: block;
position: relative; }
#header-top .region-header-top-left :hover .ul2 {
display: block;
position: relative;
transition: ease-in-out 2s; }
#header-top li .ul1 {
display: flex;
flex-direction: column; }
#header-top #block-burger {
@@ -367,7 +393,7 @@ header {
color: white;
display: block;
width: 7rem;
height: 7rem;
height: 100%;
margin-top: 0; }
#header-top #block-burger :hover {
cursor: pointer; }