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

31 lines
573 B
SCSS
Raw Normal View History

2019-12-13 15:17:30 +01:00
aside {
&[class^='admonition-'] {
border: none;
border-left: solid calc($spacer / 4);
padding: calc($spacer * 2);
margin-top: calc($spacer * 2);
2019-12-13 15:17:30 +01:00
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;
}
2020-02-07 14:00:05 +01:00
&.admonition-task,
2019-12-13 15:17:30 +01:00
&.admonition-hint {
border-color: $green;
}
&.admonition-caution {
border-color: $red-dark;
}
&.admonition-danger {
border-color: $red-dark;
}
}