X-Git-Url: http://git.projectaon.org/?p=project-aon.git;a=blobdiff_plain;f=scripts%2Fcreate-pdacss.pl;fp=scripts%2Fcreate-pdacss.pl;h=0000000000000000000000000000000000000000;hp=47c2a24efa7755ad788bf2b1aa3dbc6ea18f46f9;hb=97545603aea8298f1eceb604ff65085cc7adfced;hpb=53d5f97cd1474231d3f343c70918a91ade6466e2 diff --git a/scripts/create-pdacss.pl b/scripts/create-pdacss.pl deleted file mode 100755 index 47c2a24..0000000 --- a/scripts/create-pdacss.pl +++ /dev/null @@ -1,88 +0,0 @@ -#!/usr/local/bin/perl -w - -( $bookPath, $textColor, $backgroundColor, $linkColor, $alinkColor ) = @ARGV; - -open( CSSFILE, ">${bookPath}/main.css" ) or die( "Can\'t output to file: \"${bookPath}/main.css\"\n\t$!" ); - -print CSSFILE << "(END OF CSS)"; -html, body { - background-color: ${backgroundColor}; - color: ${textColor}; - font-family: Souvenir, Times, serif; -} - -#footnotes { - font-size: 0.8em; -} - -p, ol, ul, dl, blockquote { text-align: justify } - -ul.unbulleted { list-style-type: none } - -b { font-weight: bold } - -h1, h2, h3, h4, h5, h6 { - margin-top: 0px; - border: 0px none; - padding: 0px; - text-align: left; -} - -:link:focus, :visited:focus { -} - -:link, :visited { - background-color: transparent; - color: ${linkColor}; -/* text-decoration: none;*/ - font-weight: bold; -} - -:link:hover, :visited:hover { -} - -:link:active, :visited:active { - background-color: transparent; - color: ${alinkColor}; -/* text-decoration: none;*/ - font-weight: bold; -} - -dt { - font-weight: bold; -} - -.navigation, .signpost, .illustraion, .caption, .center { - text-align: center; -} - -.author { - text-align: center; - font-weight: bold; -} - -.dedication { - text-align: center; - font-style: italic; - font-weight: bold; - margin-top: 15ex; - margin-bottom: 15ex; -} - -.copyright { - text-align: center; - font-style: italic; -} - -.choice, .combat { - text-align: left; - margin-left: 5%; -} - -.smallcaps { - font-size: 0.8em; -} - -(END OF CSS) - -close CSSFILE;