Compare commits

..

No commits in common. "22b49b379d6e834651a05b93d724414bdbd7f34a" and "f1f9b3af427b5a15e69085e17f79a2c27167ff7e" have entirely different histories.

4 changed files with 28 additions and 55 deletions

View File

@ -50,21 +50,12 @@ a {
}
/* PARTIALS */
body.toolbar-tray-open header {
left: 15rem !important;
width: calc(100% - 15rem) !important;
}
body.toolbar-fixed header {
top: 2.4em !important;
}
.layout-container {
width: 100%;
width: 100vw;
overflow: hidden;
}
.layout-container header {
width: 100%;
width: 100vw;
background: white;
position: fixed;
top: 0;
@ -80,7 +71,7 @@ body.toolbar-fixed header {
justify-content: space-between;
}
.layout-container header div #block-erabletheme-logorepublique {
width: 15%;
width: 15vw;
}
.layout-container header div #block-erabletheme-logorepublique a {
display: flex;
@ -103,13 +94,13 @@ body.toolbar-fixed header {
}
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-logorepublique {
width: 10%;
padding-right: 1%;
width: 10vw;
padding-right: 1vw;
}
}
.layout-container header div #block-erabletheme-logoerable {
max-height: 100%;
width: 20%;
width: 20vw;
}
.layout-container header div #block-erabletheme-logoerable > div {
width: auto;
@ -128,18 +119,17 @@ body.toolbar-fixed header {
}
@media (min-width: 1080px) {
.layout-container header div #block-erabletheme-logoerable {
width: 10%;
padding-left: 3%;
width: 10vw;
padding-left: 3vw;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
}
.layout-container header div #block-erabletheme-navigationprincipale {
display: none;
width: 60%;
}
.layout-container header div #block-erabletheme-navigationprincipale ul {
width: 100%;
width: 60vw;
display: flex;
height: 100%;
align-items: center;
@ -169,8 +159,8 @@ body.toolbar-fixed header {
}
}
.layout-container header div #block-erabletheme-socialmedialinks {
width: 7%;
margin: 0 calc((20% - (7% + 7vh)) / 2);
width: 7vw;
margin: 0 calc((20vw - (7vw + 7vh)) / 2);
display: none;
}
.layout-container header div #block-erabletheme-socialmedialinks ul {
@ -641,7 +631,7 @@ body.toolbar-fixed header {
}
.actu_full h2 {
padding-top: 0 !important;
margin-bottom: 2rem !important;
margin-bottom: 0 !important;
}
.actu_full h2 + div {
position: relative;
@ -650,9 +640,6 @@ body.toolbar-fixed header {
.actu_full h2 + div .visually-hidden {
width: 0% !important;
}
.actu_full h2 + div .sous_titre {
margin-top: -1.5rem;
}
.actu_full h2 + div .sous_titre > div > div {
font-size: 1.3rem;
margin-bottom: 30px;

File diff suppressed because one or more lines are too long

View File

@ -21,7 +21,7 @@
}
h2 {
padding-top: 0 !important;
margin-bottom: 2rem !important;
margin-bottom: 0 !important;
}
h2 + div { // tout le contenu qui n'est pas le titre
position: relative;
@ -29,14 +29,10 @@
.visually-hidden {
width: 0% !important;
}
.sous_titre {
margin-top: -1.5rem;
> div > div {
.sous_titre > div > div {
font-size: $l_font_size;
margin-bottom: 30px;
}
}
> div {
> div {
width: 100%;

View File

@ -1,18 +1,9 @@
body.toolbar-tray-open header {
left: 15rem !important;
width: calc(100% - 15rem) !important;
}
body.toolbar-fixed header {
top: 2.4em !important;
}
.layout-container {
width: 100%;
width: 100vw;
overflow: hidden;
header {
width: 100%;
width: 100vw;
background: white;
position: fixed;
top: 0;
@ -26,7 +17,7 @@ body.toolbar-fixed header {
flex-wrap: nowrap;
justify-content: space-between;
#block-erabletheme-logorepublique {
width: 15%;
width: 15vw;
a {
display: flex;
align-items: center;
@ -43,13 +34,13 @@ body.toolbar-fixed header {
padding-right: 2rem;
}
@media (min-width: $breakpoint_desktop) {
width: 10%;
padding-right: 1%;
width: 10vw;
padding-right: 1vw;
}
}
#block-erabletheme-logoerable {
max-height: 100%;
width: 20%;
width: 20vw;
> div {
width: auto;
a {
@ -66,17 +57,16 @@ body.toolbar-fixed header {
}
}
@media (min-width: $breakpoint_desktop) {
width: 10%;
padding-left: 3%;
width: 10vw;
padding-left: 3vw;
padding-top: 0.4rem;
padding-bottom: 0.4rem;
}
}
#block-erabletheme-navigationprincipale {
display: none;
width: 60%;
ul {
width: 100%;
width: 60vw;
display: flex;
height: 100%;
align-items: center;
@ -105,8 +95,8 @@ body.toolbar-fixed header {
}
}
#block-erabletheme-socialmedialinks {
width: 7%;
margin: 0 calc((20% - (7% + 7vh)) / 2);
width: 7vw;
margin: 0 calc((20vw - (7vw + 7vh)) / 2);
display: none;
ul {
height: 100%;