1
0
Fork 0
codeberg-forgejo/web_src/css/markup
tastytea a06ef4eb8a CB/ui: add styling for asciidoc classes (!44)
This adds a few asciidoctor classes to the sanitizer and adds styling for them.

- support for making elements `float`
- support for [tables without borders](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc#_with_gridnone)
- make [TOC-title](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc) bold
- make [admonition blocks](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc#_admonitions) look nice

I tried adding more border-styles for tables, but clashed with existing rules and couldn't figure out how to solve it. I don't think it's that important for this use-case so i didn't try too hard. 😊

Co-authored-by: tastytea <tastytea@tastytea.de>
Reviewed-on: https://codeberg.org/Codeberg/gitea/pulls/44
Co-authored-by: tastytea <tastytea@noreply.codeberg.org>
Co-committed-by: tastytea <tastytea@noreply.codeberg.org>
2023-08-24 18:44:01 +00:00
..
asciicast.css Fix UI regression of asciinema player (#26159) (#26162) 2023-07-30 07:43:05 +02:00
asciidoc.css CB/ui: add styling for asciidoc classes (!44) 2023-08-24 18:44:01 +00:00
codecopy.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
content.css [GITEA]: Render status of list items for Org mode 2023-07-19 23:00:56 +02:00