wok rev 12092

nanochess: red based colors (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 18:12:03 2012 +0100 (2012-03-10)
parents a1f971f1a21c
children ed85379cebcb
files nanochess/receipt
line diff
     1.1 --- a/nanochess/receipt	Sat Mar 10 18:05:44 2012 +0100
     1.2 +++ b/nanochess/receipt	Sat Mar 10 18:12:03 2012 +0100
     1.3 @@ -11,8 +11,8 @@
     1.4  compile_rules()
     1.5  {
     1.6  	# define colors
     1.7 -	white="f0f0b0"		# was f0f0f0
     1.8 -	black="f05030"		# was c0c0f0
     1.9 +	white="#f0f0b0"		# was #f0f0f0
    1.10 +	black="#f05030"		# was #c0c0f0
    1.11  	gray="#843"		# was #dde
    1.12  	red="blue"	
    1.13  	
    1.14 @@ -23,7 +23,7 @@
    1.15  	  -e 's/50px/"+P+"px/g' -e 's/=60/="+H+"/g' \
    1.16  	  -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \
    1.17  	  -e "s/c0c\":\"f0f\")+\"0f0/$white\":\"$black\")+\"/" \
    1.18 -	  -e "s/#dde/$gray/" -e "s/red/$red/" \
    1.19 +	  -e "s/#dde/$gray/" -e "s/red/$red/" -e 's/bgcolor=#/bgcolor=/' \
    1.20  	  -e 's/><option.*$/>";/' -e 's|^doc.*|for(p=18;++p<23;)a+="<option>\&#98"+p+";</option>";document.write(a);|' \
    1.21  	  -e 's|<script>|<title>Toledo chess</title>&|' \
    1.22  	  -e 's|function Y|function Z(){if(y!=/\\?b/i.test(document.URL)?8:0)setTimeout("X(0,0,0,21,u,2),X(0,0,0,21,u,1)",250);}\n&|' \