ds-site/Resources/Private/Sass/Frontend/components/_admonition.scss
Daniel Siepmann a4f1c7c480 Migrate Makefile entries to shell.nix
Isolate the whole nodejs/yarn stuff.
Migrate from node-sass to dart sass in order to do so.
Easier to install, less dependencies (no python, no compiling while yarn
install)
2022-02-09 20:39:02 +01:00

30 lines
573 B
SCSS

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