[static-web] cgit: Restore old CSS classes for syntax highlighting



commit f54b69c4c7363a29b62784f597a9d39490fe3bd1
Author: Tom Tryfonidis <tomtryf gnome org>
Date:   Tue Jan 9 11:29:29 2018 +0200

    cgit: Restore old CSS classes for syntax highlighting

 cgit/cgit-gnome.css |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/cgit/cgit-gnome.css b/cgit/cgit-gnome.css
index 3249adb..b135f62 100644
--- a/cgit/cgit-gnome.css
+++ b/cgit/cgit-gnome.css
@@ -134,6 +134,21 @@ a.branch-deco {
     background-color: transparent;
 }
 
+/* Syntax highlighting */
+
+table.blob .num  { color:#2928ff; }
+table.blob .esc  { color:#ff00ff; }
+table.blob .str  { color:#ff0000; }
+table.blob .dstr { color:#818100; }
+table.blob .slc  { color:#838183; font-style:italic; }
+table.blob .com  { color:#838183; font-style:italic; }
+table.blob .dir  { color:#008200; }
+table.blob .sym  { color:#000000; }
+table.blob .kwa  { color:#000000; font-weight:bold; }
+table.blob .kwb  { color:#830000; }
+table.blob .kwc  { color:#000000; font-weight:bold; }
+table.blob .kwd  { color:#010181; }
+
 /* Bootstrap theme overwrites */
 
 pre {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]