ds-site/Resources/Public/Css/admonition.css
Daniel Siepmann 6d10bdb4ef Migrate to plain css
In order to remove dependencies to ecosystem, bootstrap, yarn, etc.
2024-02-09 09:16:25 +01:00

30 lines
723 B
CSS

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