View Single Post
Old 12-02-2012, 01:51 AM   #4
michaelbr
Enthusiast
michaelbr began at the beginning.
 
michaelbr's Avatar
 
Posts: 35
Karma: 10
Join Date: Aug 2010
Location: Taipei/Taiwan
Device: Android 4.0.4
Quote:
Originally Posted by Doitsu View Post
AFAIK, Sigil never adds -webkit style parameters to a stylesheet.
Can you post your stylesheet or the section that defines the h1, h2, h3 styles that Sigil supposedly changed?
Thanks Doitsu for your reply, sorry I forgot to include my CSS, here it is
Code:
/* Style Sheet for ePub Books */
/* Set margins at 2% (This gives a white border around the book) */

body {margin-left:2%;
    margin-right:2%;
    margin-top:2%;
    margin-bottom:2%;}

/* Text indent will make a paragraph indent, like putting a tab at the beginning of each new paragraph
The margin settings get rid of the white space between paragraphs, again so it looks more like a book
The text-align line justifies the margins. If you don't want them justified, change it to left, or remove
 that line. You don't have to specify a font, but you can */

p {text-indent: 1.0em;
    margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom:1.0em;
    text-align: left;
    font-family:"Arial";}
.noMargin {
	margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom:0em;}
.noMarginIndent {text-indent: 0em;
	margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom:0em;}
.noIndentWithMargin {text-indent: 0em;
	margin-left:0;
    margin-right:0;
    margin-top:0;
    margin-bottom:1.0em;}
.code {text-indent: 0em;
	font-family: "Times New Roman";
	margin-bottom:0em;
	background-color:#CCCCCC;}
.quote {text-indent: 0em;
	font-family: "Arial";
	font-style: italic;
	font-size: 0.8em;
	background-color:#CCCFFF;
	}

/* Here we make our headings centered
We've also made the headings the same font as the body text */

h1 { text-align: center;
	margin-bottom:0em;
    font-family:"Arial";
	font-weight: bold;
	font-size: 1.2em;}
h2 { text-align: left;
	margin-bottom:0em;
    font-family:"Arial";
	font-style: italic;
	font-weight: bold;
	font-size: 1.1em;}
h3 { text-align: left;
	margin-bottom:0em;
    font-family:"Arial";
	font-weight: bold;
	font-size: 1em;}
h4 { text-align: left;
	margin-bottom:0em;
	text-indent: 0.5em;
    font-family:"Arial";
	font-weight: bold;
	font-size: 1em;}
h5 { text-align: left;
	margin-bottom:0em;
	text-indent: 1em;
    font-family:"Arial";
	font-weight: bold;
	font-size: 1em;}

/* ordered list spec*/
ol {margin-top:0;
	margin-left: -1em;
	list-style-position: outside;}

/* unordered list spec*/
ul {margin-top:0;
	margin-left: -1em;
	list-style-position: outside;}

/* image text wrap*/
img.floatRightClear {
	float: right; 
    clear: right; 
    margin: 4px; }
img.floatLeftClear {
	float: left; 
    clear: left; 
    margin: 4px; }
michaelbr is offline   Reply With Quote