From aee52406b4409c1b3cfc717ed777688ab568138f Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Sun, 25 Feb 2024 12:45:55 +0000 Subject: cgit syntax highlight using mycgit.css mycgit.css import cgit.css and highlight.css. Because cgit.css is not a pacman backup file and it will be overwritten once cgit update. I can also update highlight.css automatically via pacman hook or `upd`. Also, I think `highlight` not using `--inline-css` maybe is a better way performance wise and more elegant (less messy generated html source code). --- usr/share/webapps/cgit/mycgit.css | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 usr/share/webapps/cgit/mycgit.css (limited to 'usr/share/webapps/cgit/mycgit.css') diff --git a/usr/share/webapps/cgit/mycgit.css b/usr/share/webapps/cgit/mycgit.css new file mode 100644 index 00000000..ed2ecd88 --- /dev/null +++ b/usr/share/webapps/cgit/mycgit.css @@ -0,0 +1,2 @@ +@import "cgit.css"; +@import "highlight.css"; -- cgit v1.2.3-70-g09d2