Sha256: ff71a2d8a59af1693214ec2c258a4795d32304077091f44fcd5851e8c882926d

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

body {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;

  margin-bottom: 5em; /* give space for #menu */
  margin-top: 2.25em; /* give space for breathing */
}


/* headings */

th, h1, h2, h3, h4, h5, h6, .title {
  font-family: serif;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 3em;
  border-bottom: thin solid silver;
}


/* table of contents */

#menu {
  position: fixed;
  left: 0px;
  bottom: 0px;
  width: 100%;

  background-color: whitesmoke;
  border-top: thin solid silver;
  text-align: center;
}

#menu a {
  color: black;
}


/* admonitions */

.admonition {
  border: thin solid steelblue;
  background-color: aliceblue;
  padding: 1em;
  margin-bottom: 1em;
  margin-top: 1em;

  min-height: 170px;
}

.admonition img {
  margin-right: 2em;
}


/* source code */

tt {
  font-weight: bold;
  color: brown;
  background-color: floralwhite;
}

pre, blockquote .code {
  padding: 1em;
  line-height: normal;
  overflow: auto;
  display: block;
}

pre {
  border: thin solid darkgray;
  background-color: whitesmoke;
}

.code {
  border: thin solid darkkhaki;
  background-color: ivory;
}


/* tables */

th, td {
  padding: 1em;
  border: thin solid silver;
}

th {
  background-color: whitesmoke;
}


/* formal blocks; see http://www.sagehill.net/docbookxsl/FormalTitles.html */

.formal {
  margin: 1em;
}

.title {
  display: block;
  font-size: large;
}

.formal .title {
  text-align: center
}


  /* center-align any tables and images */

  .formal table, .formal img {
    margin-left: auto;
    margin-right: auto;
  }

  .formal img {
    display: block;
  }


/* emphasis */

body {
  font-family: sans-serif;
}

em, blockquote {
  font-family: serif;
}

blockquote {
  border-left: thick solid darkkhaki;
  background: beige;
}

hr {
  background-color: red;
  border: none;
}

big {
  font-size: larger;
}

/* fix annoyances */

img {
  margin: 1em;
}

a img {
  border: none;
}

#menu li, .entry .toc li {
  margin-left: -1.5em;
}

.formal .title {
  margin-top: 3em;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ruby-vpi-16.0.1 doc/common.css
ruby-vpi-16.0.0 doc/common.css