forgejo/web_src/css/markup
0ko 84c3b595c4 feat(ui): global styling for kbd tag (#7958)
- Before #6813, there were no `kbd`s in the UI, but now we have a few. Currently they do not have any special styling other than font family+size. But markup did have pretty good styling.
- This PR makes that styling used globally.
- The only concerning property is `background-color`, which uses a variable with `-markup-` in it, but I do not find this as a significant scope violation. We have many CSS variables but seemingly not enough generic ones.

Co-authored-by: floss4good <floss4good@disroot.org>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7958
Reviewed-by: Beowulf <beowulf@beocode.eu>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: 0ko <0ko@noreply.codeberg.org>
Co-committed-by: 0ko <0ko@noreply.codeberg.org>
2025-06-10 22:59:24 +02:00
..
asciicast.css Fix UI regression of asciinema player (#26159) 2023-07-26 09:46:59 +00:00
codecopy.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
content.css feat(ui): global styling for kbd tag (#7958) 2025-06-10 22:59:24 +02:00
dark.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00
filepreview.css Add setting to restrict count of lines being displayed & only highlight those lines 2024-03-25 16:05:01 +01:00
light.css [FEAT] Adds x-mode-only anchor styles to display images based if the theme is light or dark mode. (#3985) 2024-06-09 10:50:53 +00:00