1
0
Fork 0
codeberg-forgejo/web_src/less
tastytea 2fa9c96347 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>
2022-12-09 12:23:34 +00:00
..
chroma Improve arc-green code theme (#21039) (#21042) 2022-09-03 19:51:09 +02:00
code Fix and restyle menu on code line (#15913) 2021-05-18 23:16:02 -04:00
codemirror Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
console Add support for rendering terminal output with colors (#19497) 2022-06-09 00:46:39 +03:00
features Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
markup CB/ui: add styling for asciidoc classes (!44) 2022-12-09 12:23:34 +00:00
shared Make branch icon stand out more (#20726) (#20774) 2022-08-12 15:38:17 -04:00
standalone Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
themes Update colors of codeberg-dark for better readability and less strain (!42) 2022-11-28 16:14:33 +00:00
_admin.less Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
_base.less CB/ui: Adjust primary colour 2022-11-07 02:36:07 +01:00
_codeberg_mixins.less CB/ui: Landingpage: fix CSS for some browsers (!39) 2022-08-18 00:43:20 +02:00
_dashboard.less Fix dashboard switching on Mobile (#20238) (#20239) 2022-07-28 19:04:29 +02:00
_editor.less Extract CodeMirror styles (#17960) 2021-12-20 20:07:49 +00:00
_explore.less CB/feat: Only show relevant repositories on explore page (!32) 2022-06-21 22:33:28 +02:00
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 2021-12-13 00:04:18 +01:00
_form.less CB/bp: Fix create repository page's help text (!40) 2022-08-21 15:02:48 +02:00
_home.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00
_install.less Refactor install page (db type) (#17919) 2021-12-07 13:44:08 +08:00
_organization.less Add RSS Feed buttons to Repo, User and Org pages (#19370) 2022-04-24 22:03:39 +02:00
_package.less Fix empty container layer history and UI (#21251) (#21278) 2022-09-27 23:10:19 +08:00
_repository.less Rework repo buttons (#20602, #20718) (#20719) 2022-08-20 15:49:16 +01:00
_review.less Prevent invalid behavior for file reviewing when loading more files (#21230) (#21234) 2022-09-22 20:45:51 -04:00
_svg.less Update JS dependencies, fix lint (#18389) 2022-02-01 13:21:08 -05:00
_tribute.less Update JS dependencies (#15033) 2021-03-22 05:04:19 +01:00
_user.less Prevent "empty" scrollbars on Firefox (#20294) (#20308) 2022-07-10 19:48:35 +01:00
animations.less Improve reviewing PR UX (#19612) 2022-05-07 01:35:12 -04:00
helpers.less Merge remote-tracking branch 'upstream/release/v1.17' into codeberg-1.17 2022-08-21 15:03:37 +02:00
homepage.less CB/ui: Landingpage: fix CSS for some browsers (!39) 2022-08-18 00:43:20 +02:00
index.less Fix empty container layer history and UI (#21251) (#21278) 2022-09-27 23:10:19 +08:00
misc.css Raw file view tweaks (#15520) 2021-04-22 23:43:44 +02:00
variables.less fix media query edge case (#13546) 2020-11-17 00:33:19 -05:00