View Single Post
Old 04-25-2011, 10:37 AM   #5
christinerose
Junior Member
christinerose began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Apr 2011
Device: Kindle
Actual Code

Sure! I'll put in the entire CSS file if that helps.

Code:
@font-face {
font-family: "Times New Roman", Times, serif;
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "Times New Roman", Times, serif;
font-style: normal;
font-weight: bold;
}
@font-face {
font-family: "Times New Roman", Times, serif;
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "Times New Roman", Times, serif;
font-style: normal;
font-weight: normal;
}
body p { margin: 0; padding: 0; text-indent:50px; }
li p {margin: 0; padding: 0; text-indent: 0; }

div, h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; }

div.generated-style {
font-family: "Times New Roman";
}
div.generated-style-2 {
font-family: "Times New Roman";
}
p.section-header {
	font-family: "Times New Roman";
	line-height: 1.00em;
	font-size: 1.33em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: center;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.subsectionheader {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.17em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.x3rdsection-header {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.17em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.x4th-section-header {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.17em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.x5th-section-header- {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.17em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.essay-title {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.17em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: center;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.essay-byline {
	font-family: "Times New Roman";
	line-height: 1.14em;
	font-size: 1.08em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: center;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.chapter-title {
	font-family: "Times New Roman";
	line-height: 1.20em;
	font-size: 1.50em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: center;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.general-para {
	font-family: "Times New Roman";
	line-height: 1.33em;
	font-size: 1.00em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 1.17em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.boxes {
	font-family: "Times New Roman";
	line-height: 1.33em;
	font-size: 1.00em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: center;
	font-weight: bold;
	font-style: normal;
	color: rgb(0,0,0);
}
p.blog-posts {
	font-family: "Times New Roman";
	line-height: 1.33em;
	font-size: 1.00em;
	margin-bottom: 0.75em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 1.50em;
	margin-left: 1.50em;
	text-align: justify;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.checkboxes {
	font-family: "Times New Roman";
	line-height: 1.33em;
	font-size: 1.00em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: -1.50em;
	margin-right: 0.00em;
	margin-left: 2.67em;
	text-align: justify;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.footer {
	font-family: "Times New Roman";
	line-height: 1.20em;
	font-size: 0.67em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
p.boxtext {
	font-family: "Times New Roman";
	line-height: 1.33em;
	font-size: 1.00em;
	margin-bottom: 0.00em;
	margin-top: 0.00em;
	text-indent: 0.00em;
	margin-right: 0.00em;
	margin-left: 0.00em;
	text-align: justify;
	font-weight: normal;
	font-style: normal;
	color: rgb(0,0,0);
}
span.generated-style {
}
h2{
font-family: "Times New Roman";
font-size: 1.36em;
font-weight: bold;
}
h3{
font-family; "Times New Roman";
font-size: 1.30em;
font-weight: bold;
}
h4{
font-family: "Times New Roman";
font-size: 1.25em;
font-weight: bold;
}
h5{
font-family: "Times New Roman";
font-size: 1.17em;
	line-height: 1.14em;
font-weight: bold;
}
h6{
font-family: "Times New Roman";
font-size: 1.13em;
	line-height: 1.14em;
font-weight: bold;
}
ol{
font-family: serif;
font-size: 1.00em;
font-weight: normal;
text-align: justify;
}
ul{
font-family: serif;
font-size: 1.00em;
font-weight: normal;
text-align: justify;
}
All those font faces at the top were originally other fonts as exported from InDesign CS4, but I changed them all to "Times New Roman." Same for the p.xxx near the bottom. Made all those the same text size.

Also added the h2, h3, etc., and the ol/ul.

Strangely, Sigil seems to be changing the fonts back in-line the xhtml documents automatically. But that's another issue.

christinerose is offline   Reply With Quote