Text in the results window is displayed as HTML. Elements of the page are styled using CSS classes, the appearance of which can be modified by editing the style.css file in the Windows Grep installation directory (usually c:\program files\windows grep).
The stylesheet is well commented and use of each class is documented in the comments. If you need help on stylesheets, see one of the excellent stylesheet tutorials on the Internet.
This is the contents of the default stylesheet:
/* Windows Grep 2.3 Style sheet
(c) 2005 Huw Millington
Feel free to modify to your heart's content.
If you come up with a good scheme, please sent it to me!
hmillington@btinternet.com
*/
/* All normal text */
td, p, body
{
font-family: verdana;
font-size:8pt;
color:#000000;
}
/* Hyperlinks */
a, a:link, a:visited
{
text-decoration: none;
color:#0000FF;
}
a:hover
{
color:#FF0000;
text-decoration: underline;
}
/* fixed-font output */
pre
{
font-size: 10pt;
color: #000000;
font-family: Monospace;
}
/* window background colour */
body
{
background-color: #ffffff;
}
/* Horizontal line */
hr
{
color:#4286CE;
height:1;
}
/* Main page header */
.Header
{
height:20px;
background-color:#4286CE;
font-size:12pt;
font-weight: bold;
font-family: verdana;
color: #FFFFFF;
}
/* Page subheader */
.Subheader
{
height:20px;
background-color:#4286CE;
color: #FFFFFF;
}
/* File header */
.Fileheader
{
border-top: #00007f 1px solid;
font-weight: bold;
font-size: 10pt;
color: #00007f;
font-family: verdana;
height: 20px;
/* background-color: #ffffff; */
}
/* The font used for the line number of matching lines */
.number
{
color: #00007F;
font-weight: bold;
}
/* The font used for matches */
.match
{
color: #007F00;
font-weight: bold;
}
/* Useful for highlighting entire matching lines in whole files, if desired */
.matchingline
{
color: #000000;
}