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, $hlinkLightBorderColor, $hlinkDarkBorderColor ) = @ARGV;
39 ( $bookPath, $textColor, $backgroundColor, $linkColor, $alinkColor, $hlinkBackgroundColor, $hlinkColor ) = @ARGV;
41 open( CSSFILE, ">${bookPath}/main.css" ) or die( "Can\'t output to file: \"${bookPath}/main.css\"\n\t$!" );
43 print CSSFILE << "(END OF CSS)";
44 \@import url( more.css );
47 background-color: ${backgroundColor};
49 font-family: Souvenir, Georgia, "Times New Roman", Times, serif;
77 hr { margin-left: 0px; }
79 p, ol, ul, dl, blockquote { text-align: justify }
81 ul.unbulleted { list-style-type: none }
83 b { font-weight: bold }
85 h1, h2, h3, h4, h5, h6 {
93 :link:focus, :visited:focus {
97 background-color: transparent;
99 text-decoration: none;
103 :link:hover, :visited:hover {
104 background-color: ${hlinkBackgroundColor};
105 color: ${hlinkColor};
106 text-decoration: none;
110 .navigation :link:hover, .navigation :visited:hover {
111 background-color: transparent;
112 color: ${hlinkColor};
113 text-decoration: none;
117 :link:active, :visited:active {
118 background-color: transparent;
119 color: ${alinkColor};
120 text-decoration: none;
128 .navigation, .signpost, .illustraion, .caption, .center {
134 padding-bottom: 0.5em;
166 ul .illustration { margin-left: -2.5em; }
171 open( CSSFILE, ">${bookPath}/more.css" ) or die( "Can\'t output to file: \"${bookPath}/more.css\"\n\t$!" );
173 print CSSFILE << "(END OF MORE CSS)";
189 background-color: transparent;
191 vertical-align: middle;
204 background-color: transparent;
206 vertical-align: middle;