about summary refs log tree commit diff stats
path: root/cgit.css
diff options
context:
space:
mode:
authorEric Wong2019-01-01 11:44:52 +0000
committerJune McEnroe2022-02-13 11:55:26 -0500
commit1e9f26ffb7c0d7ef0d672a66e888f8703ce06028 (patch)
tree7616424051a5d1c811399a28c640f3c1f19d6598 /cgit.css
parentUse <pre> for commit-msg (diff)
downloadcgit-1e9f26ffb7c0d7ef0d672a66e888f8703ce06028.tar.gz
cgit-1e9f26ffb7c0d7ef0d672a66e888f8703ce06028.zip
Improve decoration display for browsers without CSS
Text-based browsers without CSS support show all the decorations
bunched together without spacing.  Rely on a whitespace instead
of CSS support.
Diffstat (limited to 'cgit.css')
-rw-r--r--cgit.css6
1 files changed, 0 insertions, 6 deletions
diff --git a/cgit.css b/cgit.css index 67e1ed3..b88db61 100644 --- a/cgit.css +++ b/cgit.css
@@ -666,7 +666,6 @@ div#cgit div.footer a:hover {
666 666
667div#cgit a.branch-deco { 667div#cgit a.branch-deco {
668 color: #000; 668 color: #000;
669 margin: 0px 0.5em;
670 padding: 0px 0.25em; 669 padding: 0px 0.25em;
671 background-color: #88ff88; 670 background-color: #88ff88;
672 border: solid 1px #007700; 671 border: solid 1px #007700;
@@ -674,7 +673,6 @@ div#cgit a.branch-deco {
674 673
675div#cgit a.tag-deco { 674div#cgit a.tag-deco {
676 color: #000; 675 color: #000;
677 margin: 0px 0.5em;
678 padding: 0px 0.25em; 676 padding: 0px 0.25em;
679 background-color: #ffff88; 677 background-color: #ffff88;
680 border: solid 1px #777700; 678 border: solid 1px #777700;
@@ -682,7 +680,6 @@ div#cgit a.tag-deco {
682 680
683div#cgit a.tag-annotated-deco { 681div#cgit a.tag-annotated-deco {
684 color: #000; 682 color: #000;
685 margin: 0px 0.5em;
686 padding: 0px 0.25em; 683 padding: 0px 0.25em;
687 background-color: #ffcc88; 684 background-color: #ffcc88;
688 border: solid 1px #777700; 685 border: solid 1px #777700;
@@ -690,7 +687,6 @@ div#cgit a.tag-annotated-deco {
690 687
691div#cgit a.remote-deco { 688div#cgit a.remote-deco {
692 color: #000; 689 color: #000;
693 margin: 0px 0.5em;
694 padding: 0px 0.25em; 690 padding: 0px 0.25em;
695 background-color: #ccccff; 691 background-color: #ccccff;
696 border: solid 1px #000077; 692 border: solid 1px #000077;
@@ -698,7 +694,6 @@ div#cgit a.remote-deco {
698 694
699div#cgit a.deco { 695div#cgit a.deco {
700 color: #000; 696 color: #000;
701 margin: 0px 0.5em;
702 padding: 0px 0.25em; 697 padding: 0px 0.25em;
703 background-color: #ff8888; 698 background-color: #ff8888;
704 border: solid 1px #770000; 699 border: solid 1px #770000;
@@ -709,7 +704,6 @@ div#cgit div.commit-subject a.tag-deco,
709div#cgit div.commit-subject a.tag-annotated-deco, 704div#cgit div.commit-subject a.tag-annotated-deco,
710div#cgit div.commit-subject a.remote-deco, 705div#cgit div.commit-subject a.remote-deco,
711div#cgit div.commit-subject a.deco { 706div#cgit div.commit-subject a.deco {
712 margin-left: 1em;
713 font-size: 75%; 707 font-size: 75%;
714} 708}
715 709