# HG changeset patch # User Henry S. Thompson # Date 1496404494 -3600 # Node ID f90bbd38b8f6367785a0a581926afa02db61e25d # Parent adeb9575b273602625a9df3a1e68a18991a2ba64 towards display of reffed info via colour diff -r adeb9575b273 -r f90bbd38b8f6 backref.xsl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/backref.xsl Fri Jun 02 12:54:54 2017 +0100 @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + + + diff -r adeb9575b273 -r f90bbd38b8f6 html.xsl --- a/html.xsl Thu Jun 01 17:21:45 2017 +0100 +++ b/html.xsl Fri Jun 02 12:54:54 2017 +0100 @@ -5,6 +5,31 @@ + + From http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors + + @@ -18,29 +43,8 @@ .reffed {border: solid 1px black} table {table-layout: fixed} th {width: 1en} - /* http://stackoverflow.com/questions/470690/how-to-automatically-generate-n-distinct-colors */ - .c1 {background-color: #FFB300} /* Vivid Yellow */ - .c2 {background-color: #803E75} /* Strong Purple */ - .c3 {background-color: #FF6800} /* Vivid Orange */ - .c4 {background-color: #A6BDD7} /* Very Light Blue */ - .c5 {background-color: #C10020} /* Vivid Red */ - .c6 {background-color: #CEA262} /* Grayish Yellow */ - .c7 {background-color: #817066} /* Medium Gray */ - /* The following don't work well for people with defective color vision */ - .c8 {background-color: #007D34} /* Vivid Green */ - .c9 {background-color: #F6768E} /* Strong Purplish Pink */ - .c10 {background-color: #00538A} /* Strong Blue */ - .c11 {background-color: #FF7A5C} /* Strong Yellowish Pink */ - .c12 {background-color: #53377A} /* Strong Violet */ - .c13 {background-color: #FF8E00} /* Vivid Orange Yellow */ - .c14 {background-color: #B32851} /* Strong Purplish Red */ - .c15 {background-color: #F4C800} /* Vivid Greenish Yellow */ - .c16 {background-color: #7F180D} /* Strong Reddish Brown */ - .c17 {background-color: #93AA00} /* Vivid Yellowish Green */ - .c18 {background-color: #593315} /* Deep Yellowish Brown */ - .c19 {background-color: #F13A13} /* Vivid Reddish Orange */ - .c20 {background-color: #232C16} /* Dark Olive Green */ + @@ -74,7 +78,7 @@ @@ -92,4 +96,15 @@ + + + + + + + diff -r adeb9575b273 -r f90bbd38b8f6 merge.xsl --- a/merge.xsl Thu Jun 01 17:21:45 2017 +0100 +++ b/merge.xsl Fri Jun 02 12:54:54 2017 +0100 @@ -25,10 +25,12 @@ - + + +