ds-site/Resources/Private/Sass/components/_admonition.scss

30 lines
532 B
SCSS
Raw Normal View History

2019-12-13 15:17:30 +01:00
aside {
&[class^='admonition-'] {
border: none;
border-left: solid $spacer / 4;
2020-01-10 15:50:09 +01:00
padding: $spacer * 2;
2019-12-13 15:17:30 +01:00
margin-top: $spacer * 2;
h1, h2, h3, h4, h5, h6 {
padding-top: 0;
2020-01-10 15:50:09 +01:00
letter-spacing: 1em;
2019-12-13 15:17:30 +01:00
}
}
&.admonition-note {
border-color: $yellow;
}
&.admonition-hint {
border-color: $green;
}
&.admonition-caution {
border-color: $red-dark;
}
&.admonition-danger {
border-color: $red-dark;
}
}