[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] HTML Export

From: Joern Thyssen
Subject: Re: [Bug-gnubg] HTML Export
Date: Sat, 26 Jul 2003 17:35:37 +0000
User-agent: Mutt/1.4.1i

On Sat, Jul 26, 2003 at 01:34:49PM -0300, Albert Silver wrote
> Hi,
> > > 8. The '*' in '*Moshe Tissona moves 8/4 6/4'
> > >   looks bad. In fibs2html, I use HTML list item
> > > '<ul><li> </li></ul>' to get the nice builtin bullet. I am sure
> there
> > > are other options
> > 
> > Now fixed.
> Can you add the bullet in the results table as well, to replace the *
> indicating the move played?

Now fixed.

> > > In fibs2html (see second attachment), I boldface (strong) the
> numbers
> > > and color the actual cube decision, so they stand out and (IMPO) are
> > > easier to see.
> > 
> > Now fixed.
> Instead of boldfacing the second line with the win/loss percentages,
> could you boldface the ply-depth and equities?

I've left the bold facing, but included CSS style options for the other
values as well.

> > Can be fixed by modifying the CSS style sheet.
> I'm not 100% sure how this is done. 

It's easiest if you use the external CSS option, which is now finished.
This will produce a CSS file gnubg.css that you modify. The file has
lines like this:

.stattable { text-align: left; width: 40em; background-color: #c7c7c7;
border: 0px; padding: 0px }
.stattableheader { background-color: #787878 }
.cubeprobs { font-weight: bold }

Unfortunately I haven't documented each of the classes in the gnubg.css
file so you have to guess or carefully inspect the html file. 

You can find information about CSS at <URL:http://www.w3.org/>, but I'll
just give you a simple example:

To change the stat table you must modify .stattable and

.stattable { text-align: left; width: 40em; background-color: #ef1cef;
border: 0px; padding: 0px }
.stattableheader { background-color: #f9ee13 }

and to drop the bold facing of the cube probabilities (you need the
2003-07-26 build for this):

.cubeprobs { font-weight: normal }

and to drop the red font on cube actions:

.cubeaction { color: black }

(or remove the lines with .cubeprobs and .cubeaction entirely)

Note that gnubg.css will not overwrite an existing gnubg.css, so you
have to manually delete the file to get a new fresh gnubg.css.

> Meaning how I can make these
> modifications. BTW, I agree that the black on grey is hard to see as are
> the black on dark green for the annotations.

If you come up with some better colors let me know.

> > > 15. Zeros in summary
> > > Why not eliminate the part in parenthesis in
> > > ' 0 (-0.000 ( -0.000%))'
> > 
> > Now fixed.
> Could the zeros be aligned with the other numbers so my eyes don't dart
> back and forth from left to right and back to see the numbers and zeros?

This is somewhat more complicated. If someone has a solution please let
me know!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]