[FM Discuss] booki book css #1

adam hyde adam at flossmanuals.net
Tue Jul 27 05:51:42 PDT 2010


from Mushon, it produces this:

http://objavi.flossmanuals.net/books/collaborativefutures-en-2010.07.27-14.18.13.pdf


-----


body {
  font-family: "Palatino Linotype";
  /*
  "Goudy Bookletter 1911";
  "Liberation Serif";
  "Gentium Basic";
  "Gentium";
  "Gillius ADF";
  */
  background: #fff;
  color: #000;
  font-size: 0.95em;
}

h1, h2, h3, h4, h5, h6{
  font-family: "Gentium Book Basic";
  page-break-after: avoid;
}

img {
  max-width: 95%;
  height: auto;
  text-align: center;
}

div.captionBox p{
  font-size: 0.9em;
  font-style: italic;
}

p{
  line-height: 1.4em;
}

blockquote {
  margin: 0;
  padding: 0 0 0 2em;
  font-size: 0.9em;
  border-left: 2px solid #aaa;
}

.page-break{
  page-break-before: always; 
  height: 7em;
  display: block;
}

/* Glossary centered------------------------------------- */
.glossary{
  padding: 2pt 12.5%;
  font-size: 0.8em;

  border-top: 1pt #aaa dashed;
  border-bottom: 1pt #aaa dashed;

  background: transparent url(http://mushon.com/xtra/booki/glossary_bg.png) center center no-repeat;
}

.glossary hr{
  display: none;
}

.glossary h3{
  margin-top: 5pt;
  text-align: center;
  font-size: 1.4em;
}

/* End Glossary ---------------------------------- */

.unseen{
  z-index: -66;
  margin-left: -1000pt;
}

.objavi-chapter{
  color: #000;
}

h1 .initial{
  color: #000;
  font-size: 1.8em;
}

img-right{
  float: right;
  margin-left: 8pt;
}

p.caption{
  font-size: 0.8em;
  margin: 0;
}

.objavi-subsection{
  display: block;
  page-break-before: always;
/*  page-break-after: always;*/
/*  text-transform: uppercase; */
  font-size: 20pt;
}

body .objavi-subsection:first-child{
  page-break-before: avoid;
}

.objavi-subsection .initial {
  font-size: 1em;
  color: #000;
}

.objavi-subsection-heading{
  font-size: 36pt;
  font-weight: bold;
}

h1 {
/*  text-transform: uppercase; */
  page-break-before: always;
  background: white;
  font-size: 1.6em;
}

/*h1.first-heading {
  page-break-before: avoid;
}*/

h2 {
/*   text-transform: uppercase; */
}
h1.frontpage{
  font-size: 64pt;
  text-align: center;
  page-break-after: always;
  page-break-before: avoid;
  max-width: 700pt;
}

div.copyright{
  padding: 1em;
}

table {
  float: none;
}


table.toc {
  /*border: 1pt dotted #999;*/
  font-size: 1.1em;
  width: 95%;
  font-family: "Gentium Book Basic";
}

table.toc td{
  vertical-align:top
  padding-left: 0.5em;
}

td.chapter {
  padding: 0 0.5em;
  text-align: right;
}

table.toc td.pagenumber {
  text-align: right;
  vertical-align:bottom;
}

td.section {
  padding-top: 1.5em;
  font-size: 1.1em;
  font-weight: bold;
}

p, ul, ol {
  page-break-inside: avoid;
}

pre, code, tt {
  font-family: "Courier", "Courier New", monospace;
  font-size: 0.8em;
}

pre {
  max-width:700pt;
  overflow: hidden;
}


-- 
Adam Hyde
Founder FLOSS Manuals
German mobile : + 49 177 4935122
Email : adam at flossmanuals.net
irc: irc.freenode.net #flossmanuals

"Free manuals for free software"
http://www.flossmanuals.net/about





More information about the Discuss mailing list