mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Related issue: https://codeberg.org/Codeberg/Documentation/issues/330 This is my attempt at adding admonition-like boxes to the documentation. The goal is to make important stuff stand out more (especially warnings and alike). The system uses a custom `<admonition>` box which allows classes for further customization. I.e. `<admonition class="warning">` to display a warning box. I first wanted to make individual boxes (`<warning>`, `<note>`, ...) but decided against it, as it would've created a lot of duplicate CSS. The CSS is designed in such a way that the first paragraph of the box is made bold (font-weight 700) while any subsequent ones are not. The following forms of admonitions are included: - Info (default) - Note - Tip - Warning Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/337 Co-authored-by: Andre601 <github@andre601.ch> Co-committed-by: Andre601 <github@andre601.ch> |
||
|---|---|---|
| .. | ||
| css | ||
| images | ||