Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliaghisini committed Oct 11, 2023
1 parent b8c2a5e commit e2140a1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
4 changes: 4 additions & 0 deletions src/theme/ItaliaTheme/Blocks/_accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ $accordion-icon-color: #7fb2e5;

.accordion-inner {
padding: 2em 0;
p {
min-height: 1rem;
margin-bottom: 0;
}
}

.link-more {
Expand Down
19 changes: 3 additions & 16 deletions src/theme/ItaliaTheme/Blocks/_tableOfContents.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ $space-left: 1rem;
// template for "Indice dei contenuti"
.ui.bulleted.list {
padding-left: 0;

& .ui.bulleted.list {
padding-left: 0;
display: flex;
Expand Down Expand Up @@ -32,25 +33,11 @@ $space-left: 1rem;
}
&.headline-2 {
margin-top: 0.5rem;
font-size: 1rem;
font-weight: 600;
font-size: 0.889em;
width: 100%;

&::before {
width: 0;
height: 0;
border-top: 0.4rem solid transparent;
border-bottom: 0.4rem solid transparent;
border-left: 0.5rem solid $link-color;
content: '' !important;
list-style: none;
position: absolute;
top: 0.4rem;
}
}

&:not(.headline-2)::before {
position: relative;
&::before {
display: inline-block;
width: 0.55rem;
min-width: 0.55rem;
Expand Down

0 comments on commit e2140a1

Please sign in to comment.