Skip to content

Commit

Permalink
Add stylesheet to title page
Browse files Browse the repository at this point in the history
Bug: T268206
  • Loading branch information
samwilson committed Dec 15, 2020
1 parent 526a5c0 commit c425499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Generator/EpubGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,7 @@ private function getXhtmlTitle( Book $book ) {
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="' . $book->lang . '" dir="' . Util::getLanguageDirection( $book->lang ) . '">
<head>
<title>' . htmlspecialchars( $book->name, ENT_QUOTES ) . '</title>
<link type="text/css" rel="stylesheet" href="main.css" />
</head>
<body style="background-color: ghostwhite; text-align: center; margin-right: auto; margin-left: auto; text-indent: 0;">
<h2>' . htmlspecialchars( $book->name, ENT_QUOTES ) . '</h2>
Expand Down

0 comments on commit c425499

Please # to comment.