b234b71bb7
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> |
||
---|---|---|
.. | ||
_data | ||
_includes | ||
advanced | ||
ci | ||
codeberg-pages | ||
codeberg-translate | ||
collaborating | ||
getting-started | ||
git | ||
improving-codeberg | ||
improving-documentation | ||
integrations | ||
markdown | ||
security | ||
contact.md | ||
content.11tydata.json | ||
home.md | ||
redirects.md |