/* web-site-base.css -- common style sheet for Ravenbrook web site pages
 *
 * Copyright 2003 Ravenbrook Limited.
 *
 * 2003-07-04  RB  Designed for new web site layout.
 * 2003-07-09  RB  Split into default stylesheet for all documents and
 *                 style sheet for web site pages.
 * 2003-07-18  RB  Lifted menu box style into style sheet.  Added style for H4 headings.
 *                 Split into common base for web site stylesheets, and alternative
 *                 styles on top.
 * 2003-07-24  RB  Fixed colouring supression in site menu.
 *
 * $Id: //info.ravenbrook.com/project/www.ravenbrook.com/version/4.0/page/style/web-site-base.css#4 $
 */

@import "default.css";

/* We want the large headings to be links, but not bright red and underlined. */
h2 a, h3 a {
  text-decoration: none;
  color: black !important;
}

/* Supress underlining in links from the menu, since this ends up with everything being underlined. */
.menu a {
  text-decoration: none;
  color: black;
}

/* Supress colouring in links from the menu, for similar reason. */
.menu :link, .menu :visited {
  color: black;
}

div.sidebar {
  border: thin solid gray;
  padding: 1ex;
  margin: 1ex;
  float: left;
  width: 10em;
}

div.sidebar a {
  text-decoration: none;
  color: black !important;
}

div.float {
  float:right;
  clear:right;
  width:40%;
  overflow-x:hidden;
  margin: 0.5em;
  padding: 0.5em;
  font-size: small;
}

/* Floating figures with auto-scaling images, as described in
 * <http://www.w3.org/Style/Examples/007/figures.html>.
 */

div.figure {
  float: right;
  width: 40%;
  margin: 0.5em;
  padding: 0.5em;
  text-align: center
}

p.caption {
  margin-top: 1ex;
  margin-bottom: 0;
  font-style: italic;
}

img.scaled {
  width: 100%;
  height: auto;
}
