ds-site/Resources/Private/Sass/components/_admonition.scss
2019-12-13 15:17:30 +01:00

28 lines
495 B
SCSS

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