Skip to content

Commit

Permalink
Modification de l'apparence des sommaires des billets #6176 (#6458)
Browse files Browse the repository at this point in the history
* Modification de l'apparence des sommaires des billets #6176

* Rectification apparence page des billets

* déplacement de ligne de code

---------

Co-authored-by: Alexandre Bertin <[email protected]>
Co-authored-by: Situphen <[email protected]>
  • Loading branch information
3 people authored Feb 28, 2023
1 parent d056227 commit 36b44bc
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions assets/scss/layout/_sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
}

h4 {
padding-top: $length-20;
padding-top: $length-16;
padding-bottom: $length-4;
font-size: $font-size-8;

a {
Expand All @@ -93,10 +94,16 @@
}
}

&.accordeon h4 {
&.accordeon h4,
&.summary h4 {
cursor: pointer;
}
border-bottom: $length-1 solid $grey-100;

&:hover, &:focus {
background: $color-sidebar-hover;
}
}

h4[data-num] {
position: relative;
padding-left: calc(5% + #{$length-24});
Expand Down Expand Up @@ -455,8 +462,6 @@
padding-bottom: $length-6;
padding-right: $length-16;

border-bottom: $length-1 solid $grey-000;

overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
Expand Down

0 comments on commit 36b44bc

Please sign in to comment.