summaryrefslogtreecommitdiff
path: root/usr/share/webapps/cgit/mycgit.css
diff options
context:
space:
mode:
authorXiao Pan <gky44px1999@gmail.com>2024-02-25 12:45:55 +0000
committerXiao Pan <gky44px1999@gmail.com>2024-02-25 12:51:16 +0000
commitaee52406b4409c1b3cfc717ed777688ab568138f (patch)
treef764a03dce7fbd1514bef4116901990122d0cf18 /usr/share/webapps/cgit/mycgit.css
parent95adecc3706c7e6b1c7871c2c978fb831f5124de (diff)
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).
Diffstat (limited to 'usr/share/webapps/cgit/mycgit.css')
-rw-r--r--usr/share/webapps/cgit/mycgit.css2
1 files changed, 2 insertions, 0 deletions
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";