modif header
This commit is contained in:
parent
652f8ef333
commit
ebadb23dcd
|
@ -48,6 +48,11 @@ a {
|
|||
#block-erabletheme-contenudelapageprincipale {
|
||||
margin-top: 10vh;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
#block-erabletheme-contenudelapageprincipale {
|
||||
margin-top: 16vh;
|
||||
}
|
||||
}
|
||||
|
||||
strong {
|
||||
font-weight: bold;
|
||||
|
@ -77,137 +82,102 @@ body.toolbar-fixed header {
|
|||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
z-index: 99;
|
||||
}
|
||||
.layout-container header div {
|
||||
max-width: 100%;
|
||||
max-height: 10vh;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logorepublique {
|
||||
width: 15%;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logorepublique a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logorepublique a img {
|
||||
padding-left: 3vw;
|
||||
height: auto;
|
||||
width: 100%;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logorepublique a img {
|
||||
padding-right: 1.5vw;
|
||||
.layout-container header {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
.layout-container header > div {
|
||||
height: 10vh;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(16, 1fr);
|
||||
}
|
||||
.layout-container header > div > div {
|
||||
height: 10vh;
|
||||
grid-row: 1;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
.layout-container header > div > div > div {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.layout-container header > div > div > div > div {
|
||||
height: 10vh;
|
||||
}
|
||||
.layout-container header > div > div > div > div a {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.layout-container header > div > div > div > div img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-logorep-2 {
|
||||
grid-column: 1/5;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.layout-container header div #block-erabletheme-logorepublique {
|
||||
padding-right: 2rem;
|
||||
.layout-container header > div #block-erabletheme-logorep-2 {
|
||||
grid-column: 0/4;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logorepublique {
|
||||
width: 10%;
|
||||
padding-right: 1%;
|
||||
.layout-container header > div #block-erabletheme-logorep-2 {
|
||||
grid-column: 1/3;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logoerable {
|
||||
max-height: 100%;
|
||||
width: 20%;
|
||||
.layout-container header > div #block-erabletheme-logoepau-2 {
|
||||
grid-column: 5/10;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logoerable > div {
|
||||
width: auto;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logoerable > div a {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-logoerable > div a img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
@media (min-width: 760px) {
|
||||
.layout-container header > div #block-erabletheme-logoepau-2 {
|
||||
grid-column: 4/7;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-logoerable {
|
||||
width: 10%;
|
||||
padding-left: 3%;
|
||||
padding-top: 0.4rem;
|
||||
padding-bottom: 0.4rem;
|
||||
.layout-container header > div #block-erabletheme-logoepau-2 {
|
||||
grid-column: 3/6;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-logoepau-2 img {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale {
|
||||
display: none;
|
||||
width: 60%;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 0 2vw;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale ul li {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale ul li a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale ul li a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-navigationprincipale ul li a.is-active {
|
||||
background-color: #00ff80;
|
||||
.layout-container header > div #block-erabletheme-logoerable {
|
||||
grid-column: 11/15;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-navigationprincipale {
|
||||
display: block;
|
||||
.layout-container header > div #block-erabletheme-logoerable {
|
||||
grid-column: 14/16;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-socialmedialinks {
|
||||
width: 7%;
|
||||
margin: 0 calc((20% - (7% + 7vh)) / 2);
|
||||
.layout-container header > div #block-erabletheme-logoerable img {
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-socialmedialinks {
|
||||
display: none;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-socialmedialinks ul {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-socialmedialinks ul li a span {
|
||||
font-weight: lighter;
|
||||
font-size: 1.4rem;
|
||||
width: 2.2rem;
|
||||
height: 2.2rem;
|
||||
padding: 0.4rem;
|
||||
border-radius: 1.1rem;
|
||||
color: white;
|
||||
background-color: #038788;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-socialmedialinks ul li a svg.ext {
|
||||
display: none;
|
||||
.layout-container header > div #block-erabletheme-header {
|
||||
grid-column: 15/17;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-socialmedialinks {
|
||||
display: block;
|
||||
.layout-container header > div #block-erabletheme-header {
|
||||
grid-column: 16/17;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger {
|
||||
cursor: pointer;
|
||||
width: 10vh;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #00ff80;
|
||||
display: flex;
|
||||
|
@ -216,13 +186,13 @@ body.toolbar-fixed header {
|
|||
justify-content: space-around;
|
||||
padding: 0.5rem 0;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger h2 {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger h2 {
|
||||
font-size: 0.8rem;
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-weight: 800;
|
||||
text-align: center;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger .burger-icon {
|
||||
width: 2rem;
|
||||
height: 1.5rem;
|
||||
display: flex;
|
||||
|
@ -230,7 +200,7 @@ body.toolbar-fixed header {
|
|||
justify-content: space-between;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon div {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger .burger-icon div {
|
||||
border-bottom: solid 1px black;
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
|
@ -238,16 +208,16 @@ body.toolbar-fixed header {
|
|||
transition: opacity 0.2s ease-out, transform 0.4s ease-out;
|
||||
transform: none;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:first-of-type {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger .burger-icon.open div:first-of-type {
|
||||
transform: translate(0rem, 0.5rem) rotate(-45deg);
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:nth-of-type(2) {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger .burger-icon.open div:nth-of-type(2) {
|
||||
opacity: 0;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header #hamburger .burger-icon.open div:last-of-type {
|
||||
.layout-container header > div #block-erabletheme-header #hamburger .burger-icon.open div:last-of-type {
|
||||
transform: translate(0rem, -0.5rem) rotate(45deg);
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
display: none;
|
||||
height: auto;
|
||||
max-height: 0vh;
|
||||
|
@ -262,7 +232,7 @@ body.toolbar-fixed header {
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
@ -271,7 +241,7 @@ body.toolbar-fixed header {
|
|||
transition: opacity 0.3s ease;
|
||||
max-width: 60vw;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a {
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
color: white;
|
||||
|
@ -281,61 +251,97 @@ body.toolbar-fixed header {
|
|||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease, color 0.3s ease;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a:hover {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a:hover {
|
||||
background-color: white;
|
||||
color: #314e41;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a.is-active {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li > a.is-active {
|
||||
background-color: white;
|
||||
color: #314e41;
|
||||
}
|
||||
@media (min-width: 760px) {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li {
|
||||
max-width: 30vw;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper {
|
||||
display: flex;
|
||||
width: auto;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li {
|
||||
width: auto;
|
||||
padding: 0 1rem;
|
||||
margin-top: 1rem;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a span {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a span {
|
||||
color: white;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a svg {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li #socials-in-menu-wrapper li a svg {
|
||||
display: none;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li.visible {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li.visible {
|
||||
opacity: 1;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(1),
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(2),
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(6) {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(1),
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(2),
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) > li:nth-of-type(6) {
|
||||
border-bottom: solid 1px white;
|
||||
padding: 12px 0;
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) {
|
||||
width: 25vw;
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) li {
|
||||
width: calc(100% - 6vw);
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul:not(.social-media-links--platforms) li a {
|
||||
.layout-container header > div #block-erabletheme-header ul:not(.social-media-links--platforms) li a {
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
.layout-container header div #block-erabletheme-header ul.active {
|
||||
.layout-container header > div #block-erabletheme-header ul.active {
|
||||
padding: 30px 0;
|
||||
max-height: 100vh;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale {
|
||||
display: none;
|
||||
grid-column: 1/17;
|
||||
grid-row: 2;
|
||||
background-color: white;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
@media (min-width: 1080px) {
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 1rem 10vw;
|
||||
justify-content: space-around;
|
||||
border-top: solid 1px #314e41;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale ul li {
|
||||
font-family: "Marianne", sans-serif;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale ul li a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale ul li a:hover {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
.layout-container header > div #block-erabletheme-navigationprincipale ul li a.is-active {
|
||||
background-color: #00ff80;
|
||||
}
|
||||
|
||||
.layout-container > footer {
|
||||
width: 100vw;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,8 @@
|
|||
#block-erabletheme-contenudelapageprincipale {
|
||||
margin-top: 10vh;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
margin-top: 16vh;
|
||||
}
|
||||
}
|
||||
|
||||
strong {
|
||||
|
|
|
@ -17,126 +17,85 @@ body.toolbar-fixed header {
|
|||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
z-index: 99;
|
||||
div {
|
||||
max-width: 100%;
|
||||
max-height: 10vh;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
#block-erabletheme-logorepublique {
|
||||
width: 15%;
|
||||
a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
img {
|
||||
padding-left: $x_margin;
|
||||
height: auto;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
box-shadow: none;
|
||||
}
|
||||
> div {
|
||||
height: 10vh;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(16, 1fr);
|
||||
> div{
|
||||
height: 10vh;
|
||||
grid-row: 1;
|
||||
max-height: 100%;
|
||||
width: 100%;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
padding-right: 1.5vw;
|
||||
> div {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
> div {
|
||||
height: 10vh;
|
||||
a {
|
||||
display: block;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
img {
|
||||
width: auto;
|
||||
height: auto;
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#block-erabletheme-logorep-2 {
|
||||
grid-column: 1 / 5;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
padding-right: 2rem;
|
||||
grid-column: 0 / 4;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 10%;
|
||||
padding-right: 1%;
|
||||
grid-column: 1 / 3;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-logoepau-2 {
|
||||
grid-column: 5 / 10;
|
||||
@media (min-width: $breakpoint_tablet) {
|
||||
grid-column: 4 / 7;
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
grid-column: 3 / 6;
|
||||
img {
|
||||
padding: 0 1rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
#block-erabletheme-logoerable {
|
||||
max-height: 100%;
|
||||
width: 20%;
|
||||
> div {
|
||||
width: auto;
|
||||
a {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
grid-column: 11 / 15;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
grid-column: 14 / 16;
|
||||
}
|
||||
img {
|
||||
height: 100%;
|
||||
width: auto;
|
||||
padding-top: 3px;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
width: 10%;
|
||||
padding-left: 3%;
|
||||
padding-top: 0.4rem;
|
||||
padding-bottom: 0.4rem;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-navigationprincipale {
|
||||
display: none;
|
||||
width: 60%;
|
||||
ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
height: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-around;
|
||||
padding: 0 2vw;
|
||||
li {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-size: $m_font_size;
|
||||
a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
a.is-active {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: block;
|
||||
padding: 0 1.5rem;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-socialmedialinks {
|
||||
width: 7%;
|
||||
margin: 0 calc((20% - (7% + 7vh)) / 2);
|
||||
display: none;
|
||||
ul {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
li a {
|
||||
span {
|
||||
font-weight: lighter;
|
||||
font-size: 1.4rem;
|
||||
width: 2.2rem;
|
||||
height: 2.2rem;
|
||||
padding: 0.4rem;
|
||||
border-radius: 1.1rem;
|
||||
color: white;
|
||||
background-color: $teal;
|
||||
}
|
||||
svg.ext {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-header {
|
||||
grid-column: 15 / 17;
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
grid-column: 16 / 17;
|
||||
}
|
||||
#hamburger {
|
||||
cursor: pointer;
|
||||
width: 10vh;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: $fluo_green;
|
||||
display: flex;
|
||||
|
@ -268,6 +227,40 @@ body.toolbar-fixed header {
|
|||
max-height: 100vh;
|
||||
}
|
||||
}
|
||||
#block-erabletheme-navigationprincipale {
|
||||
display: none;
|
||||
grid-column: 1 / 17;
|
||||
grid-row: 2;
|
||||
background-color: white;
|
||||
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
|
||||
@media (min-width: $breakpoint_desktop) {
|
||||
display: block;
|
||||
}
|
||||
ul {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
padding: 1rem 10vw;
|
||||
justify-content: space-around;
|
||||
border-top: solid 1px $dark_green;
|
||||
li {
|
||||
font-family: 'Marianne', sans-serif;
|
||||
font-size: $m_font_size;
|
||||
a {
|
||||
font-weight: 800;
|
||||
padding: 4px 6px;
|
||||
color: black;
|
||||
background-color: rgba(255, 255, 255, 0);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
a:hover {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
a.is-active {
|
||||
background-color: $fluo_green;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue