diff options
author | Ferry Huberts | 2012-03-18 11:44:05 +0100 |
---|---|---|
committer | Lars Hjemli | 2012-03-18 20:22:51 +0000 |
commit | 6e63ebfe004342cbe35e0b0f28de646ffa61933a (patch) | |
tree | 468c8c0f8d1fd94d450ff46bb0068d787b4a94f9 | |
parent | css: vertically align the cgit logo image (diff) | |
download | cgit-6e63ebfe004342cbe35e0b0f28de646ffa61933a.tar.gz cgit-6e63ebfe004342cbe35e0b0f28de646ffa61933a.zip |
css: force text color to black on decorations
improves readability when embedding into a page that has the text color set to a different color Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
-rw-r--r-- | cgit.css | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css index bfb45cc..e06c261 100644 --- a/cgit.css +++ b/cgit.css | |||
@@ -582,24 +582,28 @@ div#cgit div.footer { | |||
582 | color: #ccc; | 582 | color: #ccc; |
583 | } | 583 | } |
584 | div#cgit a.branch-deco { | 584 | div#cgit a.branch-deco { |
585 | color: #000; | ||
585 | margin: 0px 0.5em; | 586 | margin: 0px 0.5em; |
586 | padding: 0px 0.25em; | 587 | padding: 0px 0.25em; |
587 | background-color: #88ff88; | 588 | background-color: #88ff88; |
588 | border: solid 1px #007700; | 589 | border: solid 1px #007700; |
589 | } | 590 | } |
590 | div#cgit a.tag-deco { | 591 | div#cgit a.tag-deco { |
592 | color: #000; | ||
591 | margin: 0px 0.5em; | 593 | margin: 0px 0.5em; |
592 | padding: 0px 0.25em; | 594 | padding: 0px 0.25em; |
593 | background-color: #ffff88; | 595 | background-color: #ffff88; |
594 | border: solid 1px #777700; | 596 | border: solid 1px #777700; |
595 | } | 597 | } |
596 | div#cgit a.remote-deco { | 598 | div#cgit a.remote-deco { |
599 | color: #000; | ||
597 | margin: 0px 0.5em; | 600 | margin: 0px 0.5em; |
598 | padding: 0px 0.25em; | 601 | padding: 0px 0.25em; |
599 | background-color: #ccccff; | 602 | background-color: #ccccff; |
600 | border: solid 1px #000077; | 603 | border: solid 1px #000077; |
601 | } | 604 | } |
602 | div#cgit a.deco { | 605 | div#cgit a.deco { |
606 | color: #000; | ||
603 | margin: 0px 0.5em; | 607 | margin: 0px 0.5em; |
604 | padding: 0px 0.25em; | 608 | padding: 0px 0.25em; |
605 | background-color: #ff8888; | 609 | background-color: #ff8888; |