ds-site/Resources/Public/Css/admonition.css

31 lines
723 B
CSS
Raw Normal View History

/* 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);
}