author | Todd Zullinger <tmz@pobox.com> | 2010-09-06 13:31:25 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2010-09-19 17:12:51 (UTC) |
commit | d7765df117d25fc015856598c06f4796e8cdbb27 (patch) (unidiff) | |
tree | f3e3949fcb3f1d995bf48ec8ce32d1ab22ee1433 | |
parent | 6d10c130585eccae07eb17b3aff86eeb02cf4fb8 (diff) | |
download | cgit-d7765df117d25fc015856598c06f4796e8cdbb27.zip cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.gz cgit-d7765df117d25fc015856598c06f4796e8cdbb27.tar.bz2 |
cgit.css: Add syntax highlighting entries
Signed-off-by: Todd Zullinger <tmz@pobox.com>
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
-rw-r--r-- | cgit.css | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -697,49 +697,63 @@ table.ssdiff td.changed { | |||
697 | background: #ffc; | 697 | background: #ffc; |
698 | min-width: 50%; | 698 | min-width: 50%; |
699 | } | 699 | } |
700 | 700 | ||
701 | table.ssdiff td.changed_dark { | 701 | table.ssdiff td.changed_dark { |
702 | color: black; | 702 | color: black; |
703 | background: #cca; | 703 | background: #cca; |
704 | min-width: 50%; | 704 | min-width: 50%; |
705 | } | 705 | } |
706 | 706 | ||
707 | table.ssdiff td.lineno { | 707 | table.ssdiff td.lineno { |
708 | color: black; | 708 | color: black; |
709 | background: #eee; | 709 | background: #eee; |
710 | text-align: right; | 710 | text-align: right; |
711 | width: 3em; | 711 | width: 3em; |
712 | min-width: 3em; | 712 | min-width: 3em; |
713 | } | 713 | } |
714 | 714 | ||
715 | table.ssdiff td.hunk { | 715 | table.ssdiff td.hunk { |
716 | color: #black; | 716 | color: #black; |
717 | background: #ccf; | 717 | background: #ccf; |
718 | border-top: solid 1px #aaa; | 718 | border-top: solid 1px #aaa; |
719 | border-bottom: solid 1px #aaa; | 719 | border-bottom: solid 1px #aaa; |
720 | } | 720 | } |
721 | 721 | ||
722 | table.ssdiff td.head { | 722 | table.ssdiff td.head { |
723 | border-top: solid 1px #aaa; | 723 | border-top: solid 1px #aaa; |
724 | border-bottom: solid 1px #aaa; | 724 | border-bottom: solid 1px #aaa; |
725 | } | 725 | } |
726 | 726 | ||
727 | table.ssdiff td.head div.head { | 727 | table.ssdiff td.head div.head { |
728 | font-weight: bold; | 728 | font-weight: bold; |
729 | color: black; | 729 | color: black; |
730 | } | 730 | } |
731 | 731 | ||
732 | table.ssdiff td.foot { | 732 | table.ssdiff td.foot { |
733 | border-top: solid 1px #aaa; | 733 | border-top: solid 1px #aaa; |
734 | border-left: none; | 734 | border-left: none; |
735 | border-right: none; | 735 | border-right: none; |
736 | border-bottom: none; | 736 | border-bottom: none; |
737 | } | 737 | } |
738 | 738 | ||
739 | table.ssdiff td.space { | 739 | table.ssdiff td.space { |
740 | border: none; | 740 | border: none; |
741 | } | 741 | } |
742 | 742 | ||
743 | table.ssdiff td.space div { | 743 | table.ssdiff td.space div { |
744 | min-height: 3em; | 744 | min-height: 3em; |
745 | } \ No newline at end of file | 745 | } |
746 | |||
747 | /* Syntax highlighting */ | ||
748 | table.blob .num { color:#2928ff; } | ||
749 | table.blob .esc { color:#ff00ff; } | ||
750 | table.blob .str { color:#ff0000; } | ||
751 | table.blob .dstr { color:#818100; } | ||
752 | table.blob .slc { color:#838183; font-style:italic; } | ||
753 | table.blob .com { color:#838183; font-style:italic; } | ||
754 | table.blob .dir { color:#008200; } | ||
755 | table.blob .sym { color:#000000; } | ||
756 | table.blob .kwa { color:#000000; font-weight:bold; } | ||
757 | table.blob .kwb { color:#830000; } | ||
758 | table.blob .kwc { color:#000000; font-weight:bold; } | ||
759 | table.blob .kwd { color:#010181; } | ||