/* See note at bottom for general syntax */ /* Generalized for all files and all
tags */ body { } /* dark grey background page with white letters*/ /* change body tag:
*/ body.darkpage { background-color: #696969; color: #ffffff; } p { text-indent: 1.5em; margin-top: 0.3em; margin-bottom: 0.3em; } p.noind{ text-indent:0em; margin-top: 0.3em; margin-bottom: 0.3em; } p.center{ text-indent:0em; text-align: center; } p.titlepage{ margin-left:0px; margin-right:2px; } p.imgtop { text-indent: 0em; margain-top: 0em; } p.img { text-align: center; text-indent: 0em; margin-top: 0em; margin-bottom: 2em; } /* BLOCK QUOTES */ .blockquote { margin-top: 0.5em; margin-bottom: 0.5em; font-size: x-small; margin-left: 2em; margin-right: 2em; text-align: justify; } .blockquotey { display: block; font-size: 110%; font-weight: normal; margin-bottom: 5%; margin-left: 5%; margin-right: 5%; margin-top: 5%; text-align: justify; text-indent: 0%; } .blockquote2 { display: block; font-size: 85%; margin-bottom: 3%; margin-left: 5%; margin-right: 2%; margin-top: 3%; text-align: justify; text-indent: 0%; } p.blockquote10{ text-indent:0em; margin-left: 1.0em; margin-right: 1.0em; } p.bq { text-indent:0em; text-align: justify; margin-left: 1.8em; margin-right: 1.8em; margin-bottom: 0.9em; margin-top: 0.9em; } p.bq-small { font-size: small; text-indent:0em; text-align: justify; margin-left: 2.1em; margin-right: 2.1em; margin-bottom: 0.9em; margin-top: 0.9em; } p.blockquote15{ margin-left: 1.5em; } p.blockquote16{ margin-left: 1.5em; text-indent: 0em; } p.blockquote17{ text-indent: 1.5em; margin-left: 1.7em; } p.blockquote25{ text-indent:0em; margin-left: 2.5em; margin-right: 2.5em; } p.block{ margin-top: 0.6em; margin-bottom: 0.6em; margin-left: 2em; margin-right: 1em; text-indent: 0.5em; text-align: justify; } /* Note left-right margains could also be 1em */ div.block1 { margin-left: 2em; margin-right: 2em; margin-top: 1em; margin-bottom: 1em; font-size: small; } p.blockimg { display: block; font-size: 90%; margin-bottom: 3%; margin-left: 5%; margin-right: 2%; text-align: justify; text-indent: 0%; } p.cap { text-indent:0em; font-family: "gillsans"; margin-left: 2em; margin-right: 2em; text-align: justify; font-size: 87%; line-spacing: 90%; line-height: 100%; } p.cap-c { text-indent:0em; font-family: "gillsans"; margin-left: 2em; margin-right: 2em; text-align: center; font-size: 87%; line-spacing: 90%; line-height: 100%; } p.black-line-img { margin-bottom: 0.9em; margin-top: 0.9em; text-indent: 0; text-align: center; } p.linebreak { text-align: center; margin-bottom: 1.0em; margin-top: 1.0em; } /* Specific tag */
p.abc {
font-size:0.9em;
font-style:normal;
font-variant:normal;
font-weight:bold;
line-height:1.4;
margin-bottom:0px;
margin-left:0px;
margin-right:0px;
margin-top:0px;
text-align:justify;
text-decoration:none;
text-indent:1em;
}
/* Declare the fonts to be used: */
@font-face {
font-family: "futura-ex";
font-weight: bold;
font-style: normal;
src: url(../Fonts/futuraex.ttf);
}
@font-face {
font-family: "goudy";
font-weight: normal;
font-style: normal;
src: url(../Fonts/goudy.ttf);
}
@font-face {
font-family: "goudy-it";
font-weight: normal;
font-style: normal;
src: url(../Fonts/goudyi.ttf);
}
@font-face {
font-family: "gillsans";
font-weight: normal;
font-style: normal;
src: url(../Fonts/gillsans.ttf);
}
@font-face {
font-family: "gillsansi";
font-weight: normal;
font-style: normal;
src: url(../Fonts/gillsansi.ttf);
}
@font-face {
font-family: "gillsansb";
font-weight: bold;
font-style: normal;
src: url(../Fonts/gillsansb.ttf);
}
@font-face {
font-family: "gillsansbi";
font-weight: bold;
font-style: normal;
src: url(../Fonts/gillsansbi.ttf);
}
@font-face {
font-family: "gillsansl";
font-weight: normal;
font-style: normal;
src: url(../Fonts/gillsansl.ttf);
}
@font-face {
font-family: "gillsansli";
font-weight: normal;
font-style: normal;
src: url(../Fonts/gillsansli.ttf);
}
/* List how the fonts are to be called */
.mono {
font-family: monospace; /* Check: might give courier look without having to load courier ttf */
}
/* Another way to do a Courier-like font is simply to put The quick brown fox jumps over the lazy grey squirrel. Text inside box is placed here. The secret code word 29dJB7htqSR only works on even-numbered Sundays. Text here. Text here. tags around a short string, ie
Place text here
*/
.fut-ex {
font-family: "futura-ex";
font-size: 100%;
}
.goudy {
font-family: "goudy";
font-size: 100%;
}
.goudy-it {
font-family: "goudy-it";
font-size: 100%;
}
.gill {
font-family: "gillsans";
font-size: 100%;
}
.gill-it {
font-family: "gillsansi";
font-size: 100%;
}
.gill-bd {
font-family: "gillsansb";
font-size: 100%;
}
.gill-bd-it {
font-family: "gillsansbi";
font-size: 100%;
}
.gill-lt {
font-family: "gillsansl";
font-size: 100%;
}
.gill-lt-it {
font-family: "gillsansli";
font-size: 100%;
}
.fontsubhd {
font-family: "goudy-bd";
font-size: 125%;
font-weight:bold;
}
.fontsz85 {
font-size: 85%;
}
.fontsz50 {
font-size: 50%;
}
.slim-line {
font-size: 175%;
line-spacing: 142%;
line-height: 140%;
}
.small {
font-size: small;
}
.ital {
font-style: italic;
}
/* Miscellaneous */
h1 {
line-height: 115%;
}
h2 {
line-height: 115%;
}
.chaptername {
font-family: gillsansb;
text-indent: 0;
text-align: center;
margin-top: 2em;
margin-bottom: 1em;
}
.chaptersub {
font-family: gillsansb;
text-indent: 0;
text-align: center;
margin-top: 0em;
margin-bottom: 1em;
}
.copyright {
font-size: 67%;
line-spacing: 67%;
line-height: 98%;
}
/* DROP CAPS and UP CAPS */
/* Capps appear above the line */
span.dropcaps1 {
font-size: 50px;
line-height: 50px;
padding-top: 1px;
}
/* Another way to put caps above the line */
span.capup {
font-family: sans-serif;
font-size: 4.5em;
line-height: 0em;
}
/* Capps appear below the line */
span.dropcaps {
float: left;
font-size: 420%;
line-height: 0.85em;
margin-right: 0.03em;
margin-bottom: -0.25em;
}
span.dropcap {
float: left;
line-height: 1.5em;
font-size: 4em;
margin-top: -.45em;
margin-bottom: -.5em;
}
/* original below works in Sigil, but unworks in KoboAura */
/*
span.dropcaps2 {
float: left;
font-size: 50px;
line-height: 50px;
padding-top: 1px;
margin-top: -.09em;
margin-right: .09em;
}
*/
span.dropcaps2 {
float: left;
font-size: 3.0em;
line-height: 1.0em;
padding-top: 1px;
margin-top: -.09em;
margin-right: .09em;
}
/* Capps appear below the line */
span.dropcaps3lines {
float: left;
font-size: 80px;
line-height: 70px;
padding-top: 1px;
margin-top: -.09em;
margin-right: .09em;
}
/* DOING BOXES */
div.box {
margin-top: 2em;
margin-bottom: 2em;
border-bottom: 2px solid;
border-top: 2px solid;
border-left: 2px solid;
border-right: 2px solid;
line-height: 1.3em;
text-align: center;
padding-left: 1em;
padding-right: 1em;
padding-top: .5em;
padding-bottom: .5em;
}
span.box
{
border: 1px solid #020202;
padding: 0em .2em 0em .2em;
margin-top: 0em;
margin-bottom: 0em;
}
p.box
{
border-bottom: 1px double;
border-left: 1px double;
border-top: 1px double;
border-right: 1px double;
text-align: justify;
}
/* To form a grey box with text inside NO border */
/* Syntax in css file; Use Netscape color coding to select background color. This example gives a medium grey color */
div.cap {
text-align:center;
margin-top:0em;
margin-bottom:2em;
background-color:#D2D4D6;
padding:0.25em;
}
/* Syntax in xhtml file:*/
Headline Text
Example to call p.abc above: