ds-site/Resources/Private/Sass/components/_admonition.scss
2020-01-10 15:50:09 +01:00

29 lines
532 B
SCSS

aside {
&[class^='admonition-'] {
border: none;
border-left: solid $spacer / 4;
padding: $spacer * 2;
margin-top: $spacer * 2;
h1, h2, h3, h4, h5, h6 {
padding-top: 0;
letter-spacing: 1em;
}
}
&.admonition-note {
border-color: $yellow;
}
&.admonition-hint {
border-color: $green;
}
&.admonition-caution {
border-color: $red-dark;
}
&.admonition-danger {
border-color: $red-dark;
}
}