Overview

Inspired by The FreeBSD Handbook, one of The FreeBSD Documentation Project's many works of art, this theme is probably most noticeable by its judicious use of daemon red and its fatty bold headings. FreeBSD's sh(1) HTML manpage provided the template for the manpage stylings.

Article Sample | Manpage Sample | handbookish.css | handbookish-manpage.css

Usage

Using the handbookish theme for articles:

$ asciidoc -a theme=handbookish -o document.html document.txt

Using the handbookish theme for manpages:

$ asciidoc -a theme=handbookish -d manpage -o program.1.html program.1.txt

Files

handbookish.css

@import url(bare.css);

/* ---------------------------------------------------------------------------
   FreeBSD AsciiDoc Theme
   Ryan Tomayko <r@tomayko.com>

   Based on The FreeBSD Handbook and various other FreeBSD documenration.
--------------------------------------------------------------------------- */

body {
  font-family:verdana,helvetica,arial,sans-serif;
  font-size:100%;
  color:#000;
}

tt { color:#007A00 }
pre tt { color:#000 }

dt { color:#000 }

h1, h2, h3, h4, h5 {
  font-family:'lucida grande',helvetica,verdana,sans-serif;
  color:#900;
  font-weight:bold;
}

#header {
  text-align:left;
}
#header h1 { margin-bottom:40px }

h1 {
  font-size:36px;
  line-height:1;
  margin:40px 0;
}

h2 {
  font-size:28px;
  line-height:1;
  margin:30px 0 20px 0;
}

.sectionbody {
  margin-left:30px;
}

pre {
  background:#EEE;
}

/* vim: set ft=css ts=4 sw=4 noexpandtab: */

handbookish-manpage.css

@import url(bare-manpage.css);
/* ---------------------------------------------------------------------------
   FreeBSD Manpage AsciiDoc Styles
   Ryan Tomayko <r@tomayko.com>

   Based on HTML manpage styles available at freebsd.org:
   http://www.freebsd.org/cgi/man.cgi
--------------------------------------------------------------------------- */

/* #960 */

body {
  font-size:81.25%;
  color:#000;
}

h2 {
  color:#960;
  font-size:100%;
}

/* variable / argument */
em {
  color:#007A00;
  text-decoration:none;
}

/* concrete command / option name / file */
tt {
  color:#960;
}


dt {
  color:#960;
}

/* concrete value */
strong {
  color:#000;
  text-decoration:none;
  font-style:italic;
}

More Themes

About AsciiDoc Themes