1 #!/usr/local/bin/perl -w
3 # See the following about font-size-adjust:
4 # http://www.w3.org/TR/REC-CSS2/fonts.html#font-size-props
6 #"Verdana, Arial, Helvetica", "Georgia, Times New Roman, Times", "Courier New, Courier".
8 #Commonly-installed typefaces on Macs and PCs
37 ( $bookPath, $textColor, $backgroundColor, $scrollbarBaseColor, $scrollbarTrackColor, $scrollbarArrowColor, $linkColor, $alinkColor, $hlinkBackgroundColor, $hlinkColor ) = @ARGV;
39 open( CSSFILE, ">${bookPath}/main.css" ) or die( "Can\'t output to file: \"${bookPath}/main.css\"\n\t$!" );
41 print CSSFILE << "(END OF CSS)";
43 /* scrollbar properties are currently IE specific (24 Aug 2002) */
44 scrollbar-base-color: ${scrollbarBaseColor};
45 scrollbar-track-color: ${scrollbarTrackColor};
46 scrollbar-arrow-color: ${scrollbarArrowColor};
50 background-color: ${backgroundColor};
52 font-family: Souvenir, Georgia, "Times New Roman", Times, serif;
59 hr { margin-left: 0px; }
61 ul.unbulleted { list-style-type: none }
62 /* ul { list-style-type: none } */
64 b { font-weight: bold }
66 h1, h2, h3, h4, h5, h6 {
81 :link:focus, :visited:focus {
85 background-color: transparent;
87 text-decoration: none;
91 :link:hover, :visited:hover {
92 background-color: ${hlinkBackgroundColor};
94 text-decoration: none;
98 :link:active, :visited:active {
99 background-color: transparent;
100 color: ${alinkColor};
101 text-decoration: none;
109 .navigation, .signpost, .illustraion, .caption, .center {