Quote:
Originally Posted by dordale
I would like to see this--Thanks! I'm trying to learn this stuff--not sure if I'll ever figure it out, but I'm trying.
|
Quote:
Originally Posted by slantybard
Please, I always appreciate looking at the css that people use in their ebook customization/fixing.
|
Here you go.
Code:
@font-face {
font-family: Charis;
font-style: normal;
font-weight: normal;
src: url(../Fonts/CharisSILR.ttf)
}
@font-face {
font-family: Charis;
font-style: normal;
font-weight: bold;
src: url(../Fonts/CharisSILB.ttf)
}
@font-face {
font-family: Charis;
font-style: italic;
font-weight: normal;
src: url(../Fonts/CharisSILI.ttf)
}
body {
font-family: Charis;
oeb-column-number: 1;
widows: 0;
orphans: 0;
margin-top: 0;
margin-bottom: 0;
text-align: justify;
font-size: 92.5%
}
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em;
margin-left: -30px;
margin-right: -30px
}
h2 {
text-align: center;
margin-bottom: 0.8em;
margin-top: 0.8em
}
.spacebreak {
margin-top: 2em;
text-indent: 0
}
.sans {
font-family: sans-serif;
text-indent: 0
}
.sans2 {
font-family: sans-serif
}
blockquote {
margin-top: 1em;
margin-bottom: 1em;
margin-left: 1.5em;
margin-right: 1.5em
}
.center {
text-align: center;
text-indent: 0
}
.noindent {
text-indent: 0
}
.space {
margin-top: 0.2em
}
h1 {
margin-top: 2em;
margin-bottom: 2em;
text-align: center
}
.h2a {
margin-bottom: 3em
}
h3 {
text-align: center
}